summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_process.c
AgeCommit message (Expand)AuthorFilesLines
2020-03-16Keep track of traced child under a list of orphans while they are beingmpi1-14/+4
2019-12-11Replace p_xstat with ps_xexit and ps_xsigguenther1-2/+2
2019-11-29Return EBUSY for successive PT_TRACE_ME calls.mpi1-1/+3
2018-02-19Change some returns into gotos, will help keeping the unlocking pathmpi1-25/+44
2018-02-19Remove almost unused `flags' argument of suser().mpi1-4/+4
2017-10-14Split sys_ptrace() by request type:guenther1-359/+477
2017-07-19Uninitialized variable can leak kernel memory.deraadt1-2/+2
2017-01-25deSCARGize sys_ptrace()guenther1-42/+40
2017-01-24Rename pfind(9) into tfind(9) to reflect that it deals with threads.mpi1-3/+3
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirguenther1-11/+13
2016-10-19Change process_{domem,auxv_offset}() to take a process instead of a proc.guenther1-27/+35
2016-10-19Change pmap_proc_iflush() to take a process instead of a procguenther1-2/+2
2016-10-09With systrace and procfs gone, process_checkioperm() and process_domem()guenther1-3/+1
2016-09-01Get rid of 'relebad:'.akfaew1-7/+4
2016-05-31Fix ptrace PT_WRITE_D that returned EFAULT.jca1-2/+2
2015-09-24buglet: there's no way for req to be STEP in the DETACH case.tedu1-3/+3
2015-01-20Move ps_strings "after" the random stackgap. This makes its location akettenis1-6/+7
2014-12-12sysctl kern.global_ptrace.tedu1-1/+9
2014-09-08Delete procfs; it's always had races and is now unused: no one noticed forguenther1-2/+2
2014-07-13pass the size to free in some of the obvious casestedu1-7/+7
2014-07-12add a size argument to free. will be used soon, but for now default to 0.tedu1-7/+7
2014-07-11It's init as a process that's special, not init's original thread.guenther1-2/+2
2014-05-04Add PS_SYSTEM, the process-level mirror of the thread-level P_SYSTEM,guenther1-2/+2
2014-03-30Eliminates struct pcred by moving the real and saved ugids intoguenther1-3/+3
2014-03-26Move p_emul and p_sigcode from proc to process.guenther1-2/+2
2014-01-21bzero -> memsettedu1-4/+4
2012-04-13For now, direct the kill signal sent by PT_KILL to the thread that made uskettenis1-1/+4
2012-04-13First stab at making ptrace(2) usable for debugging multi-threaded programs.kettenis1-9/+13
2012-04-12If the "main" thread exits it stays around but unlinks itself from thekettenis1-2/+4
2012-04-12PT_GETXMMREGS and PT_SETXMMREGS can take a TID.kettenis1-1/+7
2012-04-11Move the P_WAITED flag from struct proc to struct process.kettenis1-5/+3
2012-04-06Implement PT_GET_THREAD_FIRS and PT_GET_THREAD_NEXT.kettenis1-5/+23
2012-03-10Add PS_EXITING to better differentiate between the process exiting andguenther1-2/+2
2012-02-25Allow this to build on platforms lacking PT_GETFPREGS or PT_SETFPREGS; brokenmiod1-1/+5
2012-02-20First steps for making ptrace work with rthreads:guenther1-53/+129
2011-04-02Move P_SUGID and P_SUGIDEXEC from struct proc to struct process, soguenther1-6/+4
2010-07-26Correct the links between threads, processes, pgrps, and sessions,guenther1-11/+11
2010-06-26Don't #include <sys/user.h> into files that don't need the stuffguenther1-2/+1
2010-05-02Use intermediate vaddr_t cast when casting a pointer to off_t. Preventskettenis1-9/+9
2010-01-28Make sure the process tree is is loop-free by forbidding ptrace()guenther1-1/+9
2008-10-31Do not assume that a pointer to another process will live over a set ofderaadt1-4/+9
2008-10-31accidental commit ... backoutderaadt1-9/+4
2008-10-31kern_sysctl.cderaadt1-4/+9
2008-09-16Add PIOD_READ_AUXV, a way to get the ELF auxilliary vector through ptrace(2).kettenis1-1/+57
2007-04-10``it's'' -> ``its'' when the grammar gods require this change.miod1-2/+2
2007-03-15Since p_flag is often manipulated in interrupts and without biglockart1-4/+4
2006-11-29Kernel stack can be swapped. This means that stuff that's on the stackmiod1-18/+1
2006-07-19make kernels w/o PTRACE compile again.grunk1-1/+3
2006-05-18paramter -> parametermiod1-2/+2
2005-12-13ansi/deregister. No binary change.jsg1-5/+2