summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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