o Part two of eaccess(2) commit, rebuilt system call code.
Obtained from: TrustedBSD Project
This commit is contained in:
parent
9c94f7731e
commit
a90a3f2882
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* $FreeBSD$
|
* $FreeBSD$
|
||||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.97 2001/09/18 23:31:36 peter Exp
|
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.98 2001/09/21 21:33:22 rwatson Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "opt_compat.h"
|
#include "opt_compat.h"
|
||||||
@ -398,4 +398,5 @@ struct sysent sysent[] = {
|
|||||||
{ AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd }, /* 373 = extattr_delete_fd */
|
{ AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd }, /* 373 = extattr_delete_fd */
|
||||||
{ SYF_MPSAFE | AS(__setugid_args), (sy_call_t *)__setugid }, /* 374 = __setugid */
|
{ SYF_MPSAFE | AS(__setugid_args), (sy_call_t *)__setugid }, /* 374 = __setugid */
|
||||||
{ AS(nfsclnt_args), (sy_call_t *)nosys }, /* 375 = nfsclnt */
|
{ AS(nfsclnt_args), (sy_call_t *)nosys }, /* 375 = nfsclnt */
|
||||||
|
{ AS(eaccess_args), (sy_call_t *)eaccess }, /* 376 = eaccess */
|
||||||
};
|
};
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* $FreeBSD$
|
* $FreeBSD$
|
||||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.97 2001/09/18 23:31:36 peter Exp
|
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.98 2001/09/21 21:33:22 rwatson Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
char *syscallnames[] = {
|
char *syscallnames[] = {
|
||||||
@ -383,4 +383,5 @@ char *syscallnames[] = {
|
|||||||
"extattr_delete_fd", /* 373 = extattr_delete_fd */
|
"extattr_delete_fd", /* 373 = extattr_delete_fd */
|
||||||
"__setugid", /* 374 = __setugid */
|
"__setugid", /* 374 = __setugid */
|
||||||
"nfsclnt", /* 375 = nfsclnt */
|
"nfsclnt", /* 375 = nfsclnt */
|
||||||
|
"eaccess", /* 376 = eaccess */
|
||||||
};
|
};
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* $FreeBSD$
|
* $FreeBSD$
|
||||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.97 2001/09/18 23:31:36 peter Exp
|
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.98 2001/09/21 21:33:22 rwatson Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
HIDE_POSIX(fork)
|
HIDE_POSIX(fork)
|
||||||
@ -289,3 +289,4 @@ HIDE_BSD(extattr_get_fd)
|
|||||||
HIDE_BSD(extattr_delete_fd)
|
HIDE_BSD(extattr_delete_fd)
|
||||||
HIDE_BSD(__setugid)
|
HIDE_BSD(__setugid)
|
||||||
HIDE_BSD(nfsclnt)
|
HIDE_BSD(nfsclnt)
|
||||||
|
HIDE_BSD(eaccess)
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* $FreeBSD$
|
* $FreeBSD$
|
||||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.97 2001/09/18 23:31:36 peter Exp
|
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.98 2001/09/21 21:33:22 rwatson Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define SYS_syscall 0
|
#define SYS_syscall 0
|
||||||
@ -296,4 +296,5 @@
|
|||||||
#define SYS_extattr_delete_fd 373
|
#define SYS_extattr_delete_fd 373
|
||||||
#define SYS___setugid 374
|
#define SYS___setugid 374
|
||||||
#define SYS_nfsclnt 375
|
#define SYS_nfsclnt 375
|
||||||
#define SYS_MAXSYSCALL 376
|
#define SYS_eaccess 376
|
||||||
|
#define SYS_MAXSYSCALL 377
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
# FreeBSD system call names.
|
# FreeBSD system call names.
|
||||||
# DO NOT EDIT-- this file is automatically generated.
|
# DO NOT EDIT-- this file is automatically generated.
|
||||||
# $FreeBSD$
|
# $FreeBSD$
|
||||||
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.97 2001/09/18 23:31:36 peter Exp
|
# created from FreeBSD: src/sys/kern/syscalls.master,v 1.98 2001/09/21 21:33:22 rwatson Exp
|
||||||
MIASM = \
|
MIASM = \
|
||||||
syscall.o \
|
syscall.o \
|
||||||
exit.o \
|
exit.o \
|
||||||
@ -244,4 +244,5 @@ MIASM = \
|
|||||||
extattr_get_fd.o \
|
extattr_get_fd.o \
|
||||||
extattr_delete_fd.o \
|
extattr_delete_fd.o \
|
||||||
__setugid.o \
|
__setugid.o \
|
||||||
nfsclnt.o
|
nfsclnt.o \
|
||||||
|
eaccess.o
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
*
|
*
|
||||||
* DO NOT EDIT-- this file is automatically generated.
|
* DO NOT EDIT-- this file is automatically generated.
|
||||||
* $FreeBSD$
|
* $FreeBSD$
|
||||||
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.97 2001/09/18 23:31:36 peter Exp
|
* created from FreeBSD: src/sys/kern/syscalls.master,v 1.98 2001/09/21 21:33:22 rwatson Exp
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SYS_SYSPROTO_H_
|
#ifndef _SYS_SYSPROTO_H_
|
||||||
@ -1077,6 +1077,10 @@ struct nfsclnt_args {
|
|||||||
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
char flag_l_[PADL_(int)]; int flag; char flag_r_[PADR_(int)];
|
||||||
char argp_l_[PADL_(caddr_t)]; caddr_t argp; char argp_r_[PADR_(caddr_t)];
|
char argp_l_[PADL_(caddr_t)]; caddr_t argp; char argp_r_[PADR_(caddr_t)];
|
||||||
};
|
};
|
||||||
|
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)];
|
||||||
|
};
|
||||||
int nosys __P((struct thread *, struct nosys_args *));
|
int nosys __P((struct thread *, struct nosys_args *));
|
||||||
void sys_exit __P((struct thread *, struct sys_exit_args *));
|
void sys_exit __P((struct thread *, struct sys_exit_args *));
|
||||||
int fork __P((struct thread *, struct fork_args *));
|
int fork __P((struct thread *, struct fork_args *));
|
||||||
@ -1318,6 +1322,7 @@ int extattr_get_fd __P((struct thread *, struct extattr_get_fd_args *));
|
|||||||
int extattr_delete_fd __P((struct thread *, struct extattr_delete_fd_args *));
|
int extattr_delete_fd __P((struct thread *, struct extattr_delete_fd_args *));
|
||||||
int __setugid __P((struct thread *, struct __setugid_args *));
|
int __setugid __P((struct thread *, struct __setugid_args *));
|
||||||
int nfsclnt __P((struct thread *, struct nfsclnt_args *));
|
int nfsclnt __P((struct thread *, struct nfsclnt_args *));
|
||||||
|
int eaccess __P((struct thread *, struct eaccess_args *));
|
||||||
|
|
||||||
#ifdef COMPAT_43
|
#ifdef COMPAT_43
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user