Add nmount() stub function and regenerate the syscall-glue which should
not need to check in generated files.
This commit is contained in:
parent
c60693dbd3
commit
06d133c475
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=85891
@ -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 */
|
||||
};
|
||||
|
@ -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 */
|
||||
};
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user