diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 53ebafb911ef..48d9375eda12 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.87 2001/03/31 16:20:05 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.88 2001/04/11 20:20:40 rwatson Exp */ #include "opt_compat.h" @@ -396,4 +396,5 @@ struct sysent sysent[] = { { 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 */ + { AS(__setugid_args), (sy_call_t *)__setugid }, /* 374 = __setugid */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index ec91a5c2aace..6ebb1d135583 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.87 2001/03/31 16:20:05 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.88 2001/04/11 20:20:40 rwatson Exp */ char *syscallnames[] = { @@ -381,4 +381,5 @@ char *syscallnames[] = { "extattr_set_fd", /* 371 = extattr_set_fd */ "extattr_get_fd", /* 372 = extattr_get_fd */ "extattr_delete_fd", /* 373 = extattr_delete_fd */ + "__setugid", /* 374 = __setugid */ }; diff --git a/sys/sys/syscall-hide.h b/sys/sys/syscall-hide.h index 9ae2b572e9e1..db48dcaa6d62 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.87 2001/03/31 16:20:05 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.88 2001/04/11 20:20:40 rwatson Exp */ HIDE_POSIX(fork) @@ -287,3 +287,4 @@ HIDE_BSD(__cap_set_file) HIDE_BSD(extattr_set_fd) HIDE_BSD(extattr_get_fd) HIDE_BSD(extattr_delete_fd) +HIDE_BSD(__setugid) diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 798256412009..1a27524a9730 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.87 2001/03/31 16:20:05 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.88 2001/04/11 20:20:40 rwatson Exp */ #define SYS_syscall 0 @@ -294,4 +294,5 @@ #define SYS_extattr_set_fd 371 #define SYS_extattr_get_fd 372 #define SYS_extattr_delete_fd 373 -#define SYS_MAXSYSCALL 374 +#define SYS___setugid 374 +#define SYS_MAXSYSCALL 375 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index 02e95fc129f6..c2b951264880 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.87 2001/03/31 16:20:05 rwatson Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.88 2001/04/11 20:20:40 rwatson Exp MIASM = \ syscall.o \ exit.o \ @@ -242,4 +242,5 @@ MIASM = \ __cap_set_file.o \ extattr_set_fd.o \ extattr_get_fd.o \ - extattr_delete_fd.o + extattr_delete_fd.o \ + __setugid.o diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 6f99c90abc8c..0c8dd40ed34c 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.87 2001/03/31 16:20:05 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.88 2001/04/11 20:20:40 rwatson Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -1060,6 +1060,9 @@ struct extattr_delete_fd_args { int attrnamespace; char attrnamespace_[PAD_(int)]; const char * attrname; char attrname_[PAD_(const char *)]; }; +struct __setugid_args { + int flag; char flag_[PAD_(int)]; +}; 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 *)); @@ -1299,6 +1302,7 @@ 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 *)); +int __setugid __P((struct proc *, struct __setugid_args *)); #ifdef COMPAT_43