summaryrefslogtreecommitdiff
path: root/sys/kern/sys_process.c
AgeCommit message (Expand)Author
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
2005-04-16Remove regs and fpregs pseudo-files from procfs.Mark Kettenis
2005-04-03Implemente PT_[GS]ETXMMREGS ptrace(2) requests on i386.Mark Kettenis
2004-06-13debranch SMP, have funNiklas Hallqvist
2004-02-08restored & repaired wcookie support; kettenis@chello.nlTheo de Raadt
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2003-03-09Disallow ptrace if P_SUGIDEXEC flag is set (we already disallow if P_SUGIDTodd C. Miller
2002-06-27KNFTheo de Raadt
2002-04-10don't attach to system processes.Federico G. Schwindt
2002-03-12Change the PT_IO interfaces like discussed onArtur Grabowski
2002-03-12In the PT_STEP case, first set the new pc, then arrangeArtur Grabowski
2002-03-11Since all archs implement PT_GETREGS and PT_SETREGS, make then unoptional.Artur Grabowski