summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorjeff <jeff@FreeBSD.org>2005-01-26 02:28:43 +0000
committerjeff <jeff@FreeBSD.org>2005-01-26 02:28:43 +0000
commit1111e806e32b19f90a63dc4f4f5b5e488e901e76 (patch)
tree045ee0cd91b34dffcbde9dc5ea5a0c1edddd5968 /sys
parent896df27c1a394e41509463c3e85cc6841911fbaa (diff)
downloadFreeBSD-src-1111e806e32b19f90a63dc4f4f5b5e488e901e76.zip
FreeBSD-src-1111e806e32b19f90a63dc4f4f5b5e488e901e76.tar.gz
- Struct mount is not yet locked well enough to allow
mount/nmount/unmount to run without Giant. Mark them as STD here.
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/syscalls.master6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 648d654..1772b13 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -70,9 +70,9 @@
18 COMPAT4 { int getfsstat(struct ostatfs *buf, long bufsize, int flags); }
19 COMPAT { long lseek(int fd, long offset, int whence); }
20 MSTD { pid_t getpid(void); }
-21 MSTD { int mount(char *type, char *path, int flags, caddr_t data); }
+21 STD { int mount(char *type, char *path, int flags, caddr_t data); }
; XXX `path' should have type `const char *' but we're not ready for that.
-22 MSTD { int unmount(char *path, int flags); }
+22 STD { int unmount(char *path, int flags); }
23 MSTD { int setuid(uid_t uid); }
24 MSTD { uid_t getuid(void); }
25 MSTD { uid_t geteuid(void); }
@@ -536,7 +536,7 @@
375 NOIMPL { int nfsclnt(int flag, caddr_t argp); }
376 MSTD { int eaccess(char *path, int flags); }
377 UNIMPL afs_syscall
-378 MSTD { int nmount(struct iovec *iovp, unsigned int iovcnt, \
+378 STD { int nmount(struct iovec *iovp, unsigned int iovcnt, \
int flags); }
379 MSTD { int kse_exit(void); }
380 MSTD { int kse_wakeup(struct kse_mailbox *mbx); }
OpenPOWER on IntegriCloud