summaryrefslogtreecommitdiffstats
path: root/sys/kern/syscalls.master
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2004-03-15 18:48:28 +0000
committerjhb <jhb@FreeBSD.org>2004-03-15 18:48:28 +0000
commitd8445e0c8d8b2c2ec56cf9c8d6417df308eb5989 (patch)
tree8eba7733b3a1f60380c2220587bc77c938f2c537 /sys/kern/syscalls.master
parent2fe413a41aff50886eedcf431de794930efc357d (diff)
downloadFreeBSD-src-d8445e0c8d8b2c2ec56cf9c8d6417df308eb5989.zip
FreeBSD-src-d8445e0c8d8b2c2ec56cf9c8d6417df308eb5989.tar.gz
Drop the proc lock around calls to the MD functions ptrace_single_step(),
ptrace_set_pc(), and cpu_ptrace() so that those functions are free to acquire Giant, sleep, etc. We already do a PHOLD/PRELE around them so that it is safe to sleep inside of these routines if necessary. This allows ptrace() to be marked MP safe again as it no longer triggers lock order reversals on Alpha. Tested by: wilko
Diffstat (limited to 'sys/kern/syscalls.master')
-rw-r--r--sys/kern/syscalls.master2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index f23f056..aa9c969 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -76,7 +76,7 @@
23 MSTD { int setuid(uid_t uid); }
24 MSTD { uid_t getuid(void); }
25 MSTD { uid_t geteuid(void); }
-26 STD { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
+26 MSTD { int ptrace(int req, pid_t pid, caddr_t addr, int data); }
27 MSTD { int recvmsg(int s, struct msghdr *msg, int flags); }
28 MSTD { int sendmsg(int s, struct msghdr *msg, int flags); }
29 MSTD { int recvfrom(int s, caddr_t buf, size_t len, int flags, \
OpenPOWER on IntegriCloud