summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-09-21 21:34:06 +0000
committerrwatson <rwatson@FreeBSD.org>2001-09-21 21:34:06 +0000
commitab1705d05853643da589a9fc9d44c2962a62b74d (patch)
tree4919824b3293f5cd8a129433b57de9040255d828
parente925d3281cb35b5fa143662b9b19c631379db965 (diff)
downloadFreeBSD-src-ab1705d05853643da589a9fc9d44c2962a62b74d.zip
FreeBSD-src-ab1705d05853643da589a9fc9d44c2962a62b74d.tar.gz
o Part two of eaccess(2) commit, rebuilt system call code.
Obtained from: TrustedBSD Project
-rw-r--r--sys/kern/init_sysent.c3
-rw-r--r--sys/kern/syscalls.c3
-rw-r--r--sys/sys/syscall-hide.h3
-rw-r--r--sys/sys/syscall.h5
-rw-r--r--sys/sys/syscall.mk5
-rw-r--r--sys/sys/sysproto.h7
6 files changed, 18 insertions, 8 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index 032c7d4..6592df4 100644
--- a/sys/kern/init_sysent.c
+++ b/sys/kern/init_sysent.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $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"
@@ -398,4 +398,5 @@ struct sysent sysent[] = {
{ 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 */
{ AS(nfsclnt_args), (sy_call_t *)nosys }, /* 375 = nfsclnt */
+ { AS(eaccess_args), (sy_call_t *)eaccess }, /* 376 = eaccess */
};
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index b9d2e48..8062361 100644
--- a/sys/kern/syscalls.c
+++ b/sys/kern/syscalls.c
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $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[] = {
@@ -383,4 +383,5 @@ char *syscallnames[] = {
"extattr_delete_fd", /* 373 = extattr_delete_fd */
"__setugid", /* 374 = __setugid */
"nfsclnt", /* 375 = nfsclnt */
+ "eaccess", /* 376 = eaccess */
};
diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h
index fa4ba6d..82e95b7 100644
--- a/sys/sys/syscall-hide.h
+++ b/sys/sys/syscall-hide.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $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)
@@ -289,3 +289,4 @@ HIDE_BSD(extattr_get_fd)
HIDE_BSD(extattr_delete_fd)
HIDE_BSD(__setugid)
HIDE_BSD(nfsclnt)
+HIDE_BSD(eaccess)
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 0ac01cd..fc5a2fe 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $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
@@ -296,4 +296,5 @@
#define SYS_extattr_delete_fd 373
#define SYS___setugid 374
#define SYS_nfsclnt 375
-#define SYS_MAXSYSCALL 376
+#define SYS_eaccess 376
+#define SYS_MAXSYSCALL 377
diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk
index 3ebd995..eac6e88 100644
--- a/sys/sys/syscall.mk
+++ b/sys/sys/syscall.mk
@@ -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.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 = \
syscall.o \
exit.o \
@@ -244,4 +244,5 @@ MIASM = \
extattr_get_fd.o \
extattr_delete_fd.o \
__setugid.o \
- nfsclnt.o
+ nfsclnt.o \
+ eaccess.o
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index bd50804..cf88312 100644
--- a/sys/sys/sysproto.h
+++ b/sys/sys/sysproto.h
@@ -3,7 +3,7 @@
*
* DO NOT EDIT-- this file is automatically generated.
* $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_
@@ -1077,6 +1077,10 @@ struct nfsclnt_args {
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)];
};
+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 *));
void sys_exit __P((struct thread *, struct sys_exit_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 __setugid __P((struct thread *, struct __setugid_args *));
int nfsclnt __P((struct thread *, struct nfsclnt_args *));
+int eaccess __P((struct thread *, struct eaccess_args *));
#ifdef COMPAT_43
OpenPOWER on IntegriCloud