Add empty shell for nmount syscall (take 2!)
This commit is contained in:
parent
3df91ed4db
commit
ea1c496f9a
@ -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.
|
||||
*/
|
||||
|
@ -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.
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user