summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2001-03-31 16:21:19 +0000
committerrwatson <rwatson@FreeBSD.org>2001-03-31 16:21:19 +0000
commit4f5d847f7d22539daf924603c1aba54f691e870e (patch)
treef6d20c166c54c031347bf1e79e8ab57fc9ad7735 /sys
parentcb4f33ea3159d458714cc82ae47bdeca7b9d636f (diff)
downloadFreeBSD-src-4f5d847f7d22539daf924603c1aba54f691e870e.zip
FreeBSD-src-4f5d847f7d22539daf924603c1aba54f691e870e.tar.gz
o Part two of introduction of extattr_{delete,get,set}_fd() system calls,
regenerate necessary automatically-generated code. Obtained from: TrustedBSD Project
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/init_sysent.c5
-rw-r--r--sys/kern/syscalls.c5
-rw-r--r--sys/sys/syscall-hide.h5
-rw-r--r--sys/sys/syscall.h7
-rw-r--r--sys/sys/syscall.mk7
-rw-r--r--sys/sys/sysproto.h24
6 files changed, 45 insertions, 8 deletions
diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c
index b9e9ea8..53ebafb 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.86 2001/03/19 05:44:14 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
*/
#include "opt_compat.h"
@@ -393,4 +393,7 @@ struct sysent sysent[] = {
{ AS(__cap_set_fd_args), (sy_call_t *)__cap_set_fd }, /* 368 = __cap_set_fd */
{ AS(__cap_set_file_args), (sy_call_t *)__cap_set_file }, /* 369 = __cap_set_file */
{ 0, (sy_call_t *)lkmressys }, /* 370 = lkmressys */
+ { AS(extattr_set_fd_args), (sy_call_t *)extattr_set_fd }, /* 371 = extattr_set_fd */
+ { AS(extattr_get_fd_args), (sy_call_t *)extattr_get_fd }, /* 372 = extattr_get_fd */
+ { AS(extattr_delete_fd_args), (sy_call_t *)extattr_delete_fd }, /* 373 = extattr_delete_fd */
};
diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c
index b822eee..ec91a5c 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.86 2001/03/19 05:44:14 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
*/
char *syscallnames[] = {
@@ -378,4 +378,7 @@ char *syscallnames[] = {
"__cap_set_fd", /* 368 = __cap_set_fd */
"__cap_set_file", /* 369 = __cap_set_file */
"lkmressys", /* 370 = lkmressys */
+ "extattr_set_fd", /* 371 = extattr_set_fd */
+ "extattr_get_fd", /* 372 = extattr_get_fd */
+ "extattr_delete_fd", /* 373 = extattr_delete_fd */
};
diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h
index 3db74c4..9ae2b57 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.86 2001/03/19 05:44:14 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
*/
HIDE_POSIX(fork)
@@ -284,3 +284,6 @@ HIDE_BSD(__cap_get_fd)
HIDE_BSD(__cap_get_file)
HIDE_BSD(__cap_set_fd)
HIDE_BSD(__cap_set_file)
+HIDE_BSD(extattr_set_fd)
+HIDE_BSD(extattr_get_fd)
+HIDE_BSD(extattr_delete_fd)
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index 9a848b5..7982564 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.86 2001/03/19 05:44:14 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
*/
#define SYS_syscall 0
@@ -291,4 +291,7 @@
#define SYS___cap_get_file 367
#define SYS___cap_set_fd 368
#define SYS___cap_set_file 369
-#define SYS_MAXSYSCALL 371
+#define SYS_extattr_set_fd 371
+#define SYS_extattr_get_fd 372
+#define SYS_extattr_delete_fd 373
+#define SYS_MAXSYSCALL 374
diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk
index ab1d9a5..02e95fc 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.86 2001/03/19 05:44:14 rwatson Exp
+# created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
MIASM = \
syscall.o \
exit.o \
@@ -239,4 +239,7 @@ MIASM = \
__cap_get_fd.o \
__cap_get_file.o \
__cap_set_fd.o \
- __cap_set_file.o
+ __cap_set_file.o \
+ extattr_set_fd.o \
+ extattr_get_fd.o \
+ extattr_delete_fd.o
diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h
index 0647664..6f99c90 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.86 2001/03/19 05:44:14 rwatson Exp
+ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.87 2001/03/31 16:20:05 rwatson Exp
*/
#ifndef _SYS_SYSPROTO_H_
@@ -1041,6 +1041,25 @@ struct __cap_set_file_args {
const char * path_p; char path_p_[PAD_(const char *)];
struct cap * cap_p; char cap_p_[PAD_(struct cap *)];
};
+struct extattr_set_fd_args {
+ int fd; char fd_[PAD_(int)];
+ int attrnamespace; char attrnamespace_[PAD_(int)];
+ const char * attrname; char attrname_[PAD_(const char *)];
+ struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
+ int iovcnt; char iovcnt_[PAD_(int)];
+};
+struct extattr_get_fd_args {
+ int fd; char fd_[PAD_(int)];
+ int attrnamespace; char attrnamespace_[PAD_(int)];
+ const char * attrname; char attrname_[PAD_(const char *)];
+ struct iovec * iovp; char iovp_[PAD_(struct iovec *)];
+ int iovcnt; char iovcnt_[PAD_(int)];
+};
+struct extattr_delete_fd_args {
+ int fd; char fd_[PAD_(int)];
+ int attrnamespace; char attrnamespace_[PAD_(int)];
+ const char * attrname; char attrname_[PAD_(const char *)];
+};
int nosys __P((struct proc *, struct nosys_args *));
void sys_exit __P((struct proc *, struct sys_exit_args *));
int fork __P((struct proc *, struct fork_args *));
@@ -1277,6 +1296,9 @@ int __cap_get_file __P((struct proc *, struct __cap_get_file_args *));
int __cap_set_fd __P((struct proc *, struct __cap_set_fd_args *));
int __cap_set_file __P((struct proc *, struct __cap_set_file_args *));
int lkmressys __P((struct proc *, struct nosys_args *));
+int extattr_set_fd __P((struct proc *, struct extattr_set_fd_args *));
+int extattr_get_fd __P((struct proc *, struct extattr_get_fd_args *));
+int extattr_delete_fd __P((struct proc *, struct extattr_delete_fd_args *));
#ifdef COMPAT_43
OpenPOWER on IntegriCloud