summaryrefslogtreecommitdiff
path: root/sys/kern/sys_process.c
AgeCommit message (Expand)Author
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
2007-03-15Since p_flag is often manipulated in interrupts and without biglockArtur Grabowski
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackMiod Vallat
2006-07-19make kernels w/o PTRACE compile again.Alexander von Gernler
2006-05-18paramter -> parameterMiod Vallat
2005-12-13ansi/deregister. No binary change.Jonathan Gray
2005-12-11Replace procfs_domem() with a similar interface, process_domem(), which livesMiod Vallat
2005-09-14ptrace(2) following fork(2)Mark Kettenis
2005-08-02Reduce stack usage.Mark Kettenis