summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-11-02 18:35:54 +0000
committerphk <phk@FreeBSD.org>2001-11-02 18:35:54 +0000
commitea1c496f9a7b5ef7e300d9078a5fa5ebcb7731b7 (patch)
tree1cf06f5fe3f19864b3a462f01c6efdc9d796e4c6
parent3df91ed4db51c6be4fddae3f156823f0bd491a4c (diff)
downloadFreeBSD-src-ea1c496f9a7b5ef7e300d9078a5fa5ebcb7731b7.zip
FreeBSD-src-ea1c496f9a7b5ef7e300d9078a5fa5ebcb7731b7.tar.gz
Add empty shell for nmount syscall (take 2!)
-rw-r--r--sys/kern/vfs_extattr.c21
-rw-r--r--sys/kern/vfs_syscalls.c21
2 files changed, 42 insertions, 0 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c
index 21f2b1f..6831357 100644
--- a/sys/kern/vfs_extattr.c
+++ b/sys/kern/vfs_extattr.c
@@ -97,6 +97,27 @@ SYSCTL_INT(_vfs, OID_AUTO, usermount, CTLFLAG_RW, &usermount, 0, "");
* Virtual File System System Calls
*/
+#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);
+}
+
/*
* Mount a file system.
*/
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index 21f2b1f..6831357 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -97,6 +97,27 @@ SYSCTL_INT(_vfs, OID_AUTO, usermount, CTLFLAG_RW, &usermount, 0, "");
* Virtual File System System Calls
*/
+#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);
+}
+
/*
* Mount a file system.
*/
OpenPOWER on IntegriCloud