summaryrefslogtreecommitdiff
path: root/sys/kern/sys_process.c
AgeCommit message (Collapse)Author
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-03-09Disallow ptrace if P_SUGIDEXEC flag is set (we already disallow if P_SUGIDTodd C. Miller
is set). deraadt@ and tholo@ OK.
2002-06-27KNFTheo de Raadt
2002-04-10don't attach to system processes.Federico G. Schwindt
art@ niklas@ markus@ millert@ deraadt@ ok.
2002-03-12Change the PT_IO interfaces like discussed onArtur Grabowski
the bsd-api-discuss list.
2002-03-12In the PT_STEP case, first set the new pc, then arrangeArtur Grabowski
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.
2002-03-11Since all archs implement PT_GETREGS and PT_SETREGS, make then unoptional.Artur Grabowski
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.
2002-03-11Add a more sane API for reading/writing traced process memoryArtur Grabowski
with ptrace - PT_IO. Man page update in a few.
2002-01-30Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ okThomas Nordin
2002-01-20When a process is exec:ing mark it with a flag. Check that flag in ptraceArtur Grabowski
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.
2002-01-02register_t is not an int, so don't use it that way.Artur Grabowski
Fixes PT_{READ,WRITE}_{I,D} on sparc64.
2001-11-06Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary.Miod Vallat
(Look ma, I might have broken the tree)
2001-06-27remove old vmArtur Grabowski
2001-06-18trace_req is not used anymore (was a nop).Artur Grabowski
2001-06-18split PT_DETACH handling, so that pc cannot be set by it; art okTheo de Raadt
2001-04-09Add emulation of Linux features to procfs; mostly from NetBSD. ok deraadt@Thorsten Lockert
2000-11-10seperate -> separate, okay aaron@Niels Provos
2000-06-08Add explicit inclusions of signalvar.h to files actually using syms definedNiklas Hallqvist
there but relying on an indirect inclusion
1999-02-26kmem allocation changes for uvmArtur Grabowski
1998-06-27securelevels do NOT protect running binaries; only filesystem activityTheo de Raadt
1998-06-09do not permit ptrace attach to immutable executableTheo de Raadt
1996-07-29comment on ptrace & P_SUGIDTheo de Raadt
1996-05-22fix obscure problem involving ptrace of initTheo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt