mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Mark ptrace(), ktrace(), utrace(), sysarch(), and issetugid() as MP safe.
The parts of these calls that are not yet MP safe acquire Giant explicitly.
This commit is contained in:
parent
b34711a92d
commit
c055e5d412
1 changed files with 5 additions and 5 deletions
|
|
@ -79,7 +79,7 @@
|
|||
23 MSTD POSIX { int setuid(uid_t uid); }
|
||||
24 MSTD POSIX { uid_t getuid(void); }
|
||||
25 MSTD POSIX { uid_t geteuid(void); }
|
||||
26 STD BSD { int ptrace(int req, pid_t pid, caddr_t addr, \
|
||||
26 MSTD BSD { int ptrace(int req, pid_t pid, caddr_t addr, \
|
||||
int data); }
|
||||
27 MSTD BSD { int recvmsg(int s, struct msghdr *msg, int flags); }
|
||||
28 MSTD BSD { int sendmsg(int s, caddr_t msg, int flags); }
|
||||
|
|
@ -101,7 +101,7 @@
|
|||
43 MSTD POSIX { gid_t getegid(void); }
|
||||
44 MSTD BSD { int profil(caddr_t samples, size_t size, \
|
||||
size_t offset, u_int scale); }
|
||||
45 STD BSD { int ktrace(const char *fname, int ops, int facs, \
|
||||
45 MSTD BSD { int ktrace(const char *fname, int ops, int facs, \
|
||||
int pid); }
|
||||
46 MCOMPAT POSIX { int sigaction(int signum, struct osigaction *nsa, \
|
||||
struct osigaction *osa); }
|
||||
|
|
@ -260,7 +260,7 @@
|
|||
162 MSTD BSD { int getdomainname(char *domainname, int len); }
|
||||
163 MSTD BSD { int setdomainname(char *domainname, int len); }
|
||||
164 MSTD BSD { int uname(struct utsname *name); }
|
||||
165 STD BSD { int sysarch(int op, char *parms); }
|
||||
165 MSTD BSD { int sysarch(int op, char *parms); }
|
||||
166 MSTD BSD { int rtprio(int function, pid_t pid, \
|
||||
struct rtprio *rtp); }
|
||||
167 UNIMPL NOHIDE nosys
|
||||
|
|
@ -394,7 +394,7 @@
|
|||
251 MSTD BSD { int rfork(int flags); }
|
||||
252 MSTD BSD { int openbsd_poll(struct pollfd *fds, u_int nfds, \
|
||||
int timeout); }
|
||||
253 STD BSD { int issetugid(void); }
|
||||
253 MSTD BSD { int issetugid(void); }
|
||||
254 STD BSD { int lchown(char *path, int uid, int gid); }
|
||||
255 UNIMPL NOHIDE nosys
|
||||
256 UNIMPL NOHIDE nosys
|
||||
|
|
@ -481,7 +481,7 @@
|
|||
332 MSTD POSIX { int sched_get_priority_max (int policy); }
|
||||
333 MSTD POSIX { int sched_get_priority_min (int policy); }
|
||||
334 MSTD POSIX { int sched_rr_get_interval (pid_t pid, struct timespec *interval); }
|
||||
335 STD BSD { int utrace(const void *addr, size_t len); }
|
||||
335 MSTD BSD { int utrace(const void *addr, size_t len); }
|
||||
336 MCOMPAT4 BSD { int sendfile(int fd, int s, off_t offset, size_t nbytes, \
|
||||
struct sf_hdtr *hdtr, off_t *sbytes, int flags); }
|
||||
337 STD BSD { int kldsym(int fileid, int cmd, void *data); }
|
||||
|
|
|
|||
Loading…
Reference in a new issue