diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 6773d5e535ac..4fd8eaa92ddd 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.117 2002/07/30 02:06:34 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.118 2002/07/30 16:50:25 rwatson Exp */ #include "opt_compat.h" @@ -422,4 +422,5 @@ struct sysent sysent[] = { { AS(lchflags_args), (sy_call_t *)lchflags }, /* 391 = lchflags */ { AS(uuidgen_args), (sy_call_t *)uuidgen }, /* 392 = uuidgen */ { SYF_MPSAFE | AS(sendfile_args), (sy_call_t *)sendfile }, /* 393 = sendfile */ + { SYF_MPSAFE | AS(mac_policy_args), (sy_call_t *)nosys }, /* 394 = mac_policy */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 771b95ff4a18..73ebfe1144ce 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.117 2002/07/30 02:06:34 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.118 2002/07/30 16:50:25 rwatson Exp */ char *syscallnames[] = { @@ -401,4 +401,5 @@ char *syscallnames[] = { "lchflags", /* 391 = lchflags */ "uuidgen", /* 392 = uuidgen */ "sendfile", /* 393 = sendfile */ + "mac_policy", /* 394 = mac_policy */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 28706d400092..0194b6c928c9 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.117 2002/07/30 02:06:34 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.118 2002/07/30 16:50:25 rwatson Exp */ #define SYS_syscall 0 @@ -307,4 +307,5 @@ #define SYS_lchflags 391 #define SYS_uuidgen 392 #define SYS_sendfile 393 -#define SYS_MAXSYSCALL 394 +#define SYS_mac_policy 394 +#define SYS_MAXSYSCALL 395 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index ba1ba6cf05ee..a38d00c12166 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.117 2002/07/30 02:06:34 rwatson Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.118 2002/07/30 16:50:25 rwatson Exp MIASM = \ syscall.o \ exit.o \ @@ -255,4 +255,5 @@ MIASM = \ kenv.o \ lchflags.o \ uuidgen.o \ - sendfile.o + sendfile.o \ + mac_policy.o diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index c0d8cd7ba4b5..35b67dff8aab 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.117 2002/07/30 02:06:34 rwatson Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.118 2002/07/30 16:50:25 rwatson Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -1119,6 +1119,11 @@ struct sendfile_args { char sbytes_l_[PADL_(off_t *)]; off_t * sbytes; char sbytes_r_[PADR_(off_t *)]; char flags_l_[PADL_(int)]; int flags; char flags_r_[PADR_(int)]; }; +struct mac_policy_args { + char policy_l_[PADL_(const char *)]; const char * policy; char policy_r_[PADR_(const char *)]; + char call_l_[PADL_(int)]; int call; char call_r_[PADR_(int)]; + char arg_l_[PADL_(void *)]; void * arg; char arg_r_[PADR_(void *)]; +}; int nosys(struct thread *, struct nosys_args *); void sys_exit(struct thread *, struct sys_exit_args *); int fork(struct thread *, struct fork_args *); @@ -1371,6 +1376,7 @@ int kenv(struct thread *, struct kenv_args *); int lchflags(struct thread *, struct lchflags_args *); int uuidgen(struct thread *, struct uuidgen_args *); int sendfile(struct thread *, struct sendfile_args *); +int mac_policy(struct thread *, struct mac_policy_args *); #ifdef COMPAT_43