| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
ok deraadt@, miod@
|
|
|
|
|
| |
ok deraadt@ millert@
problem noticed by deprotect.com
|
|
|
|
| |
rescinded 22 July 1999. Proofed by myself and Theo.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
Fix a reversed argument which caused procfs_checkioperm() to always
return OK". Add a few comments to avoid further confusion.
|
|
|
|
|
|
|
|
|
|
|
| |
2) Fix procfs security hole. This is basically the NetBSD fix
(which is based in part on Sean Eric Fagan's FreeBSD fix)
with a few minor changes. The change creates as function,
procfs_checkioperm(), that has check numbers 3 and 4 from sys_ptrace().
3) Make procfs_control() use procfs_checkioperm() as well (it
already had the same basic checks but some of them were incorrect).
4) Minor stylistic cleanups, including the use of the SET/CLR/ISSET
macros to aid general grokability.
|
|
|
|
| |
$OpenBSD$ additions.
|
|
|