Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | make kernels w/o PTRACE compile again. | 2006-07-19 | 1 | -1/+3 | ||
| | | | | help from mickey@, "commit it" miod@ | |||||
* | paramter -> parameter | 2006-05-18 | 1 | -2/+2 | ||
| | ||||||
* | ansi/deregister. No binary change. | 2005-12-13 | 1 | -5/+2 | ||
| | ||||||
* | Replace procfs_domem() with a similar interface, process_domem(), which lives | 2005-12-11 | 1 | -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) | 2005-09-14 | 1 | -1/+34 | ||
| | | | | ok miod@ | |||||
* | Reduce stack usage. | 2005-08-02 | 1 | -34/+50 | ||
| | ||||||
* | Remove regs and fpregs pseudo-files from procfs. | 2005-04-16 | 1 | -41/+49 | ||
| | | | | ok deraadt@, miod@ | |||||
* | Implemente PT_[GS]ETXMMREGS ptrace(2) requests on i386. | 2005-04-03 | 1 | -1/+41 | ||
| | | | | ok deraadt@ | |||||
* | debranch SMP, have fun | 2004-06-13 | 1 | -1/+5 | ||
| | ||||||
* | restored & repaired wcookie support; kettenis@chello.nl | 2004-02-08 | 1 | -1/+13 | ||
| | ||||||
* | change arguments to suser. suser now takes the process, and a flags | 2003-08-15 | 1 | -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 Berkeley | 2003-06-02 | 1 | -6/+2 | ||
| | | | | rescinded 22 July 1999. Proofed by myself and Theo. | |||||
* | Disallow ptrace if P_SUGIDEXEC flag is set (we already disallow if P_SUGID | 2003-03-09 | 1 | -6/+7 | ||
| | | | | is set). deraadt@ and tholo@ OK. | |||||
* | KNF | 2002-06-27 | 1 | -2/+2 | ||
| | ||||||
* | don't attach to system processes. | 2002-04-10 | 1 | -4/+10 | ||
| | | | | art@ niklas@ markus@ millert@ deraadt@ ok. | |||||
* | Change the PT_IO interfaces like discussed on | 2002-03-12 | 1 | -7/+8 | ||
| | | | | the bsd-api-discuss list. | |||||
* | In the PT_STEP case, first set the new pc, then arrange | 2002-03-12 | 1 | -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. | 2002-03-11 | 1 | -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 memory | 2002-03-11 | 1 | -2/+30 | ||
| | | | | | with ptrace - PT_IO. Man page update in a few. | |||||
* | Move SET/CLR/ISSET macros to param.h. fgsch@ and millert@ ok | 2002-01-30 | 1 | -6/+1 | ||
| | ||||||
* | When a process is exec:ing mark it with a flag. Check that flag in ptrace | 2002-01-20 | 1 | -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. | 2002-01-02 | 1 | -4/+8 | ||
| | | | | Fixes PT_{READ,WRITE}_{I,D} on sparc64. | |||||
* | Replace inclusion of <vm/foo.h> with the correct <uvm/bar.h> when necessary. | 2001-11-06 | 1 | -2/+1 | ||
| | | | | (Look ma, I might have broken the tree) | |||||
* | remove old vm | 2001-06-27 | 1 | -3/+1 | ||
| | ||||||
* | trace_req is not used anymore (was a nop). | 2001-06-18 | 1 | -10/+1 | ||
| | ||||||
* | split PT_DETACH handling, so that pc cannot be set by it; art ok | 2001-06-18 | 1 | -14/+38 | ||
| | ||||||
* | Add emulation of Linux features to procfs; mostly from NetBSD. ok deraadt@ | 2001-04-09 | 1 | -3/+3 | ||
| | ||||||
* | seperate -> separate, okay aaron@ | 2000-11-10 | 1 | -3/+3 | ||
| | ||||||
* | Add explicit inclusions of signalvar.h to files actually using syms defined | 2000-06-08 | 1 | -1/+2 | ||
| | | | | there but relying on an indirect inclusion | |||||
* | kmem allocation changes for uvm | 1999-02-26 | 1 | -1/+6 | ||
| | ||||||
* | securelevels do NOT protect running binaries; only filesystem activity | 1998-06-27 | 1 | -10/+1 | ||
| | ||||||
* | do not permit ptrace attach to immutable executable | 1998-06-09 | 1 | -1/+10 | ||
| | ||||||
* | comment on ptrace & P_SUGID | 1996-07-29 | 1 | -3/+10 | ||
| | ||||||
* | fix obscure problem involving ptrace of init | 1996-05-22 | 1 | -3/+13 | ||
| | ||||||
* | From NetBSD: 960217 merge | 1996-03-03 | 1 | -3/+9 | ||
| | ||||||
* | initial import of NetBSD tree | 1995-10-18 | 1 | -0/+367 | ||