From 810ad5ec4ce63de23257c647d25f64d74be119b4 Mon Sep 17 00:00:00 2001 From: Jeff Roberson Date: Wed, 26 Jan 2005 02:28:43 +0000 Subject: [PATCH] - Struct mount is not yet locked well enough to allow mount/nmount/unmount to run without Giant. Mark them as STD here. --- sys/kern/syscalls.master | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 648d65413ac1..1772b136af36 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); }