diff options
-rw-r--r-- | sys/kern/init_sysent.c | 3 | ||||
-rw-r--r-- | sys/kern/syscalls.c | 3 | ||||
-rw-r--r-- | sys/kern/vfs_extattr.c | 21 | ||||
-rw-r--r-- | sys/kern/vfs_syscalls.c | 21 | ||||
-rw-r--r-- | sys/sys/syscall.h | 5 | ||||
-rw-r--r-- | sys/sys/syscall.mk | 5 | ||||
-rw-r--r-- | sys/sys/sysproto.h | 8 |
7 files changed, 59 insertions, 7 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 2f0ed8418fe8..872fc11bb3e8 100644 --- a/sys/kern/init_sysent.c +++ b/sys/kern/init_sysent.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.99 2001/10/13 13:19:34 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.100 2001/11/02 17:58:26 phk Exp */ #include "opt_compat.h" @@ -400,4 +400,5 @@ struct sysent sysent[] = { { AS(nfsclnt_args), (sy_call_t *)nosys }, /* 375 = nfsclnt */ { AS(eaccess_args), (sy_call_t *)eaccess }, /* 376 = eaccess */ { 0, (sy_call_t *)nosys }, /* 377 = afs_syscall */ + { AS(nmount_args), (sy_call_t *)nmount }, /* 378 = nmount */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index f629af788e65..a7d18d7035fb 100644 --- a/sys/kern/syscalls.c +++ b/sys/kern/syscalls.c @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.99 2001/10/13 13:19:34 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.100 2001/11/02 17:58:26 phk Exp */ char *syscallnames[] = { @@ -385,4 +385,5 @@ char *syscallnames[] = { "nfsclnt", /* 375 = nfsclnt */ "eaccess", /* 376 = eaccess */ "#377", /* 377 = afs_syscall */ + "nmount", /* 378 = nmount */ }; diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index f8397ab59bfb..21f2b1fff8b4 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -4164,3 +4164,24 @@ extattr_delete_fd(td, uap) return (error); } + +#ifndef _SYS_SYSPROTO_H_ +struct nmount_args { + struct iovec *iovp; + unsigned int iovcnt; + int flags; + }; +#endif +/* ARGSUSED */ +int +nmount(td, uap) + struct thread *td; + struct nmount_args /* { + syscallarg(struct iovec *) iovp; + syscallarg(unsigned int) iovcnt; + syscallarg(int) flags; + } */ *uap; +{ + + return(EOPNOTSUPP); +} diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index f8397ab59bfb..21f2b1fff8b4 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -4164,3 +4164,24 @@ extattr_delete_fd(td, uap) return (error); } + +#ifndef _SYS_SYSPROTO_H_ +struct nmount_args { + struct iovec *iovp; + unsigned int iovcnt; + int flags; + }; +#endif +/* ARGSUSED */ +int +nmount(td, uap) + struct thread *td; + struct nmount_args /* { + syscallarg(struct iovec *) iovp; + syscallarg(unsigned int) iovcnt; + syscallarg(int) flags; + } */ *uap; +{ + + return(EOPNOTSUPP); +} diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 5d891b464304..a22265651336 100644 --- a/sys/sys/syscall.h +++ b/sys/sys/syscall.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.99 2001/10/13 13:19:34 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.100 2001/11/02 17:58:26 phk Exp */ #define SYS_syscall 0 @@ -297,4 +297,5 @@ #define SYS___setugid 374 #define SYS_nfsclnt 375 #define SYS_eaccess 376 -#define SYS_MAXSYSCALL 378 +#define SYS_nmount 378 +#define SYS_MAXSYSCALL 379 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index 79cedd72d312..d98592f106a5 100644 --- a/sys/sys/syscall.mk +++ b/sys/sys/syscall.mk @@ -1,7 +1,7 @@ # FreeBSD system call names. # DO NOT EDIT-- this file is automatically generated. # $FreeBSD$ -# created from FreeBSD: src/sys/kern/syscalls.master,v 1.99 2001/10/13 13:19:34 rwatson Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.100 2001/11/02 17:58:26 phk Exp MIASM = \ syscall.o \ exit.o \ @@ -245,4 +245,5 @@ MIASM = \ extattr_delete_fd.o \ __setugid.o \ nfsclnt.o \ - eaccess.o + eaccess.o \ + nmount.o diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 3c100c334b8f..db607482e704 100644 --- a/sys/sys/sysproto.h +++ b/sys/sys/sysproto.h @@ -3,7 +3,7 @@ * * DO NOT EDIT-- this file is automatically generated. * $FreeBSD$ - * created from FreeBSD: src/sys/kern/syscalls.master,v 1.99 2001/10/13 13:19:34 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.100 2001/11/02 17:58:26 phk Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -1081,6 +1081,11 @@ struct eaccess_args { char path_l_[PADL_(char *)]; char * path; char path_r_[PADR_(char *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; +struct nmount_args { + char iovp_l_[PADL_(struct iovec *)]; struct iovec * iovp; char iovp_r_[PADR_(struct iovec *)]; + char iovcnt_l_[PADL_(unsigned int)]; unsigned int iovcnt; char iovcnt_r_[PADR_(unsigned int)]; + char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; +}; int nosys __P((struct thread *, struct nosys_args *)); void sys_exit __P((struct thread *, struct sys_exit_args *)); int fork __P((struct thread *, struct fork_args *)); @@ -1323,6 +1328,7 @@ int extattr_delete_fd __P((struct thread *, struct extattr_delete_fd_args *)); int __setugid __P((struct thread *, struct __setugid_args *)); int nfsclnt __P((struct thread *, struct nfsclnt_args *)); int eaccess __P((struct thread *, struct eaccess_args *)); +int nmount __P((struct thread *, struct nmount_args *)); #ifdef COMPAT_43 |