summaryrefslogtreecommitdiffstats
path: root/sys/kern/sys_process.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* make kernels w/o PTRACE compile again.grunk2006-07-191-1/+3
| | | | help from mickey@, "commit it" miod@
* paramter -> parametermiod2006-05-181-2/+2
|
* ansi/deregister. No binary change.jsg2005-12-131-5/+2
|
* Replace procfs_domem() with a similar interface, process_domem(), which livesmiod2005-12-111-13/+87
| | | | | | | out of procfs and gets a ptrace request PT_{READ,WRITE}_{I,D} as argument; also procfs_checkioperm() becomes process_checkioperm(). From art@ some time ago; ok kettenis@ pedro@
* ptrace(2) following fork(2)kettenis2005-09-141-1/+34
| | | | ok miod@
* Reduce stack usage.kettenis2005-08-021-34/+50
|
* Remove regs and fpregs pseudo-files from procfs.kettenis2005-04-161-41/+49
| | | | ok deraadt@, miod@
* Implemente PT_[GS]ETXMMREGS ptrace(2) requests on i386.kettenis2005-04-031-1/+41
| | | | ok deraadt@
* debranch SMP, have funniklas2004-06-131-1/+5
|
* restored & repaired wcookie support; kettenis@chello.nlderaadt2004-02-081-1/+13
|
* change arguments to suser. suser now takes the process, and a flagstedu2003-08-151-2/+2
| | | | | | | | | argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-021-6/+2
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Disallow ptrace if P_SUGIDEXEC flag is set (we already disallow if P_SUGIDmillert2003-03-091-6/+7
| | | | is set). deraadt@ and tholo@ OK.
* KNFderaadt2002-06-271-2/+2
|
* don't attach to system processes.fgsch2002-04-101-4/+10
| | | | art@ niklas@ markus@ millert@ deraadt@ ok.
* Change the PT_IO interfaces like discussed onart2002-03-121-7/+8
| | | | the bsd-api-discuss list.
* In the PT_STEP case, first set the new pc, then arrangeart2002-03-121-6/+6
| | | | | | for the single-step. This can slightly break the error handling when setting the sstep fails, but allows us to emulate single stepping in software on arch that don't have support for that in hardware.
* Since all archs implement PT_GETREGS and PT_SETREGS, make then unoptional.art2002-03-111-12/+1
| | | | | | | | They still stay in MD code for backwards compatibility, but a check in ptrace.h checks if they are defined. Note - the same thing will be done with PT_{GET,SET}FPREGS once vax implements them and with PT_STEP when it's implemented by sparc, sparc64 and alpha.
* Add a more sane API for reading/writing traced process memoryart2002-03-111-2/+30
| | | | | with ptrace - PT_IO. Man page update in a few.
* Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ oknordin2002-01-301-6/+1
|
* When a process is exec:ing mark it with a flag. Check that flag in ptraceart2002-01-201-1/+4
| | | | | | and procfs (and possibly more places in the future) and simply refuse to fiddle with the execing process. This is an ugly hack, but this far we haven't been successful in creating a race-free exec.
* register_t is not an int, so don't use it that way.art2002-01-021-4/+8
| | | | Fixes PT_{READ,WRITE}_{I,D} on sparc64.
* Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.miod2001-11-061-2/+1
| | | | (Look ma, I might have broken the tree)
* remove old vmart2001-06-271-3/+1
|
* trace_req is not used anymore (was a nop).art2001-06-181-10/+1
|
* split PT_DETACH handling, so that pc cannot be set by it; art okderaadt2001-06-181-14/+38
|
* Add emulation of Linux features to procfs; mostly from NetBSD. ok deraadt@tholo2001-04-091-3/+3
|
* seperate -> separate, okay aaron@provos2000-11-101-3/+3
|
* Add explicit inclusions of signalvar.h to files actually using syms definedniklas2000-06-081-1/+2
| | | | there but relying on an indirect inclusion
* kmem allocation changes for uvmart1999-02-261-1/+6
|
* securelevels do NOT protect running binaries; only filesystem activityderaadt1998-06-271-10/+1
|
* do not permit ptrace attach to immutable executablederaadt1998-06-091-1/+10
|
* comment on ptrace & P_SUGIDderaadt1996-07-291-3/+10
|
* fix obscure problem involving ptrace of initderaadt1996-05-221-3/+13
|
* From NetBSD: 960217 mergeniklas1996-03-031-3/+9
|
* initial import of NetBSD treederaadt1995-10-181-0/+367