summaryrefslogtreecommitdiff
path: root/sys/kern/sys_process.c
AgeCommit message (Expand)Author
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
2012-04-06Implement PT_GET_THREAD_FIRS and PT_GET_THREAD_NEXT.Mark Kettenis
2012-03-10Add PS_EXITING to better differentiate between the process exiting andPhilip Guenthe
2012-02-25Allow this to build on platforms lacking PT_GETFPREGS or PT_SETFPREGS; brokenMiod Vallat
2012-02-20First steps for making ptrace work with rthreads:Philip Guenthe
2011-04-02Move P_SUGID and P_SUGIDEXEC from struct proc to struct process, soPhilip Guenthe
2010-07-26Correct the links between threads, processes, pgrps, and sessions,Philip Guenthe
2010-06-26Don't #include <sys/user.h> into files that don't need the stuffPhilip Guenthe
2010-05-02Use intermediate vaddr_t cast when casting a pointer to off_t. PreventsMark Kettenis
2010-01-28Make sure the process tree is is loop-free by forbidding ptrace()Philip Guenthe
2008-10-31Do not assume that a pointer to another process will live over a set ofTheo de Raadt
2008-10-31accidental commit ... backoutTheo de Raadt
2008-10-31kern_sysctl.cTheo de Raadt
2008-09-16Add PIOD_READ_AUXV, a way to get the ELF auxilliary vector through ptrace(2).Mark Kettenis
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.Miod Vallat