This commit is contained in:
Robert Watson 2002-07-30 16:52:22 +00:00
parent aedbd622fe
commit 4266d0d0ce
5 changed files with 17 additions and 7 deletions

View File

@ -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 */
};

View File

@ -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 */
};

View File

@ -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

View File

@ -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

View File

@ -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