summaryrefslogtreecommitdiff
path: root/sys/kern/sys_process.c
AgeCommit message (Expand)Author
2024-10-08Replace ps_oppid (old parent pid) with ps_opptr (a pointer to the old parent ...Claudio Jeker
2024-10-08Adjust lock requirements for ps_pptr, ps_ppid and ps_oppid.Claudio Jeker
2024-10-01Adjust ptrace interface to properly suport single threaded continue.Claudio Jeker
2024-09-30Use ps_ppid instead of ps_pptr->ps_pid in all places.Claudio Jeker
2024-06-03Remove the now unsued s argument to SCHED_LOCK and SCHED_UNLOCK.Claudio Jeker
2024-04-02remove useless whitespace; from Jia TanTheo de Raadt
2024-03-30Prevent a recursion inside wakeup(9) when scheduler tracepoints are enabled.Martin Pieuchot
2023-11-21Fix kernel build without option PTRACE, but with dt(4).Alexander Bluhm
2023-06-10Implement support for pointer authentication (PAC) in userland. With PACMark Kettenis
2023-01-24ptrace reads/writes memory using uvm_io, which generates an temporaryTheo de Raadt
2023-01-02Add tfind_user(), for getting a proc* given a user-space TID andPhilip Guenther
2022-12-21The location of the aux info vector is now cached in ps_auxinfo of structClaudio Jeker
2022-12-05zap a pile of dangling tabsTheo de Raadt
2021-12-07Continue to delete emulation support: since we're Just ELF, the sizePhilip Guenther
2021-05-10Revert previous, it introduced a regression with breakpoints in gdb.Martin Pieuchot
2021-05-06Refactor routines to stop/unstop processes and save the corresponding signal.Martin Pieuchot
2021-02-08Revert the convertion of per-process thread into a SMR_TAILQ.Martin Pieuchot
2020-12-07Convert the per-process thread list into a SMR_TAILQ.Martin Pieuchot
2020-10-19Serialize accesses to "struct vmspace" and document its refcounting.Martin Pieuchot
2020-03-16Keep track of traced child under a list of orphans while they are beingMartin Pieuchot
2019-12-11Replace p_xstat with ps_xexit and ps_xsigPhilip Guenther
2019-11-29Return EBUSY for successive PT_TRACE_ME calls.Martin Pieuchot
2018-02-19Change some returns into gotos, will help keeping the unlocking pathMartin Pieuchot
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2017-10-14Split sys_ptrace() by request type:Philip Guenther
2017-07-19Uninitialized variable can leak kernel memory.Theo de Raadt
2017-01-25deSCARGize sys_ptrace()Philip Guenther
2017-01-24Rename pfind(9) into tfind(9) to reflect that it deals with threads.Martin Pieuchot
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-10-19Change process_{domem,auxv_offset}() to take a process instead of a proc.Philip Guenther
2016-10-19Change pmap_proc_iflush() to take a process instead of a procPhilip Guenther
2016-10-09With systrace and procfs gone, process_checkioperm() and process_domem()Philip Guenther
2016-09-01Get rid of 'relebad:'.akfaew
2016-05-31Fix ptrace PT_WRITE_D that returned EFAULT.Jeremie Courreges-Anglas
2015-09-24buglet: there's no way for req to be STEP in the DETACH case.Ted Unangst
2015-01-20Move ps_strings "after" the random stackgap. This makes its location aMark Kettenis
2014-12-12sysctl kern.global_ptrace.Ted Unangst
2014-09-08Delete procfs; it's always had races and is now unused: no one noticed forPhilip Guenther
2014-07-13pass the size to free in some of the obvious casesTed Unangst
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-11It's init as a process that's special, not init's original thread.Philip Guenther
2014-05-04Add PS_SYSTEM, the process-level mirror of the thread-level P_SYSTEM,Philip Guenther
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoPhilip Guenther
2014-03-26Move p_emul and p_sigcode from proc to process.Philip Guenther
2014-01-21bzero -> memsetTed Unangst
2012-04-13For now, direct the kill signal sent by PT_KILL to the thread that made usMark Kettenis
2012-04-13First stab at making ptrace(2) usable for debugging multi-threaded programs.Mark Kettenis
2012-04-12If the "main" thread exits it stays around but unlinks itself from theMark Kettenis
2012-04-12PT_GETXMMREGS and PT_SETXMMREGS can take a TID.Mark Kettenis
2012-04-11Move the P_WAITED flag from struct proc to struct process.Mark Kettenis