diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index b9e9ea8452a4..53ebafb911ef 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 b822eee8837d..ec91a5c2aace 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 3db74c4609cb..9ae2b572e9e1 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 9a848b57d8b9..798256412009 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 ab1d9a5cf54b..02e95fc129f6 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 0647664b609e..6f99c90abc8c 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