diff options
author | Kip Macy <kmacy@FreeBSD.org> | 2011-09-16 13:58:51 +0000 |
---|---|---|
committer | Kip Macy <kmacy@FreeBSD.org> | 2011-09-16 13:58:51 +0000 |
commit | 8451d0dd78c0a9c0383485b18aba9f081a9db8bb (patch) | |
tree | 2ed8c1cfa9e408c1c66c2cde0823123897e0306e /sys/kern/sys_process.c | |
parent | 45f3db2122c56592609e50e37e76144ff467db2e (diff) | |
download | src-8451d0dd78c0a9c0383485b18aba9f081a9db8bb.tar.gz src-8451d0dd78c0a9c0383485b18aba9f081a9db8bb.zip |
Notes
Diffstat (limited to 'sys/kern/sys_process.c')
-rw-r--r-- | sys/kern/sys_process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/sys_process.c b/sys/kern/sys_process.c index ee36b3512f5a..451038036da0 100644 --- a/sys/kern/sys_process.c +++ b/sys/kern/sys_process.c @@ -515,7 +515,7 @@ struct ptrace_args { #define COPYOUT(k, u, s) copyout(k, u, s) #endif int -ptrace(struct thread *td, struct ptrace_args *uap) +sys_ptrace(struct thread *td, struct ptrace_args *uap) { /* * XXX this obfuscation is to reduce stack usage, but the register @@ -972,7 +972,7 @@ kern_ptrace(struct thread *td, int req, pid_t pid, void *addr, int data) PROC_SUNLOCK(p); } else { if (data) - psignal(p, data); + kern_psignal(p, data); } break; |