summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-11-02 17:59:23 +0000
committerphk <phk@FreeBSD.org>2001-11-02 17:59:23 +0000
commita7cf9dee8f2c4a3ed37613951634d40b9fb66203 (patch)
tree65362f327c41767a3dc98a313cc916c71d862469
parentabbfca3cacc90cf9218a66b410ea43e0cc178551 (diff)
downloadFreeBSD-src-a7cf9dee8f2c4a3ed37613951634d40b9fb66203.zip
FreeBSD-src-a7cf9dee8f2c4a3ed37613951634d40b9fb66203.tar.gz
Add nmount() stub function and regenerate the syscall-glue which should
not need to check in generated files.
-rw-r--r--sys/kern/init_sysent.c3
-rw-r--r--sys/kern/syscalls.c3
-rw-r--r--sys/kern/vfs_extattr.c21
-rw-r--r--sys/kern/vfs_syscalls.c21
-rw-r--r--sys/sys/syscall.h5
-rw-r--r--sys/sys/syscall.mk5
-rw-r--r--sys/sys/sysproto.h8
7 files changed, 59 insertions, 7 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 2f0ed84..872fc11 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 f629af7..a7d18d7 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 f8397ab..21f2b1f 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 f8397ab..21f2b1f 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 5d891b4..a222656 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 79cedd7..d98592f 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 3c100c3..db60748 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
OpenPOWER on IntegriCloud