From 03a719dcd15ebbe063e446d2e30274a099aca231 Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Tue, 30 Jul 2002 02:09:24 +0000 Subject: [PATCH] Rebuild of files generated from syscalls.master. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs --- sys/kern/init_sysent.c | 14 +++++++------- sys/kern/syscalls.c | 14 +++++++------- sys/sys/syscall.h | 8 +++++++- sys/sys/syscall.mk | 8 +++++++- sys/sys/sysproto.h | 30 +++++++++++++++++++++++++++++- 5 files changed, 57 insertions(+), 17 deletions(-) diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index d4039f01d4b1..6773d5e535ac 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.114 2002/06/29 17:26:19 julian Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.117 2002/07/30 02:06:34 rwatson Exp */ #include "opt_compat.h" @@ -412,12 +412,12 @@ struct sysent sysent[] = { { AS(kse_new_args), (sy_call_t *)kse_new }, /* 381 = kse_new */ { AS(thread_wakeup_args), (sy_call_t *)thread_wakeup }, /* 382 = thread_wakeup */ { SYF_MPSAFE | 0, (sy_call_t *)kse_yield }, /* 383 = kse_yield */ - { 0, (sy_call_t *)nosys }, /* 384 = __mac_get_proc */ - { 0, (sy_call_t *)nosys }, /* 385 = __mac_set_proc */ - { 0, (sy_call_t *)nosys }, /* 386 = __mac_get_fd */ - { 0, (sy_call_t *)nosys }, /* 387 = __mac_get_file */ - { 0, (sy_call_t *)nosys }, /* 388 = __mac_set_fd */ - { 0, (sy_call_t *)nosys }, /* 389 = __mac_set_file */ + { SYF_MPSAFE | AS(__mac_get_proc_args), (sy_call_t *)__mac_get_proc }, /* 384 = __mac_get_proc */ + { SYF_MPSAFE | AS(__mac_set_proc_args), (sy_call_t *)__mac_set_proc }, /* 385 = __mac_set_proc */ + { SYF_MPSAFE | AS(__mac_get_fd_args), (sy_call_t *)__mac_get_fd }, /* 386 = __mac_get_fd */ + { SYF_MPSAFE | AS(__mac_get_file_args), (sy_call_t *)__mac_get_file }, /* 387 = __mac_get_file */ + { SYF_MPSAFE | AS(__mac_set_fd_args), (sy_call_t *)__mac_set_fd }, /* 388 = __mac_set_fd */ + { SYF_MPSAFE | AS(__mac_set_file_args), (sy_call_t *)__mac_set_file }, /* 389 = __mac_set_file */ { AS(kenv_args), (sy_call_t *)kenv }, /* 390 = kenv */ { AS(lchflags_args), (sy_call_t *)lchflags }, /* 391 = lchflags */ { AS(uuidgen_args), (sy_call_t *)uuidgen }, /* 392 = uuidgen */ diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index 9ba5b8ee9ae9..771b95ff4a18 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.114 2002/06/29 17:26:19 julian Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.117 2002/07/30 02:06:34 rwatson Exp */ char *syscallnames[] = { @@ -391,12 +391,12 @@ char *syscallnames[] = { "kse_new", /* 381 = kse_new */ "thread_wakeup", /* 382 = thread_wakeup */ "kse_yield", /* 383 = kse_yield */ - "#384", /* 384 = __mac_get_proc */ - "#385", /* 385 = __mac_set_proc */ - "#386", /* 386 = __mac_get_fd */ - "#387", /* 387 = __mac_get_file */ - "#388", /* 388 = __mac_set_fd */ - "#389", /* 389 = __mac_set_file */ + "__mac_get_proc", /* 384 = __mac_get_proc */ + "__mac_set_proc", /* 385 = __mac_set_proc */ + "__mac_get_fd", /* 386 = __mac_get_fd */ + "__mac_get_file", /* 387 = __mac_get_file */ + "__mac_set_fd", /* 388 = __mac_set_fd */ + "__mac_set_file", /* 389 = __mac_set_file */ "kenv", /* 390 = kenv */ "lchflags", /* 391 = lchflags */ "uuidgen", /* 392 = uuidgen */ diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index 4c0f6b24f8b2..28706d400092 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.114 2002/06/29 17:26:19 julian Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.117 2002/07/30 02:06:34 rwatson Exp */ #define SYS_syscall 0 @@ -297,6 +297,12 @@ #define SYS_kse_new 381 #define SYS_thread_wakeup 382 #define SYS_kse_yield 383 +#define SYS___mac_get_proc 384 +#define SYS___mac_set_proc 385 +#define SYS___mac_get_fd 386 +#define SYS___mac_get_file 387 +#define SYS___mac_set_fd 388 +#define SYS___mac_set_file 389 #define SYS_kenv 390 #define SYS_lchflags 391 #define SYS_uuidgen 392 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index 88d676727fa9..ba1ba6cf05ee 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.114 2002/06/29 17:26:19 julian Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.117 2002/07/30 02:06:34 rwatson Exp MIASM = \ syscall.o \ exit.o \ @@ -246,6 +246,12 @@ MIASM = \ kse_new.o \ thread_wakeup.o \ kse_yield.o \ + __mac_get_proc.o \ + __mac_set_proc.o \ + __mac_get_fd.o \ + __mac_get_file.o \ + __mac_set_fd.o \ + __mac_set_file.o \ kenv.o \ lchflags.o \ uuidgen.o \ diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index c00d6f3bae2a..c0d8cd7ba4b5 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.114 2002/06/29 17:26:19 julian Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.117 2002/07/30 02:06:34 rwatson Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -1074,6 +1074,28 @@ struct thread_wakeup_args { struct kse_yield_args { register_t dummy; }; +struct __mac_get_proc_args { + char dummy_l_[PADL_(void *)]; void * dummy; char dummy_r_[PADR_(void *)]; +}; +struct __mac_set_proc_args { + char dummy_l_[PADL_(void *)]; void * dummy; char dummy_r_[PADR_(void *)]; +}; +struct __mac_get_fd_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char dummy_l_[PADL_(void *)]; void * dummy; char dummy_r_[PADR_(void *)]; +}; +struct __mac_get_file_args { + char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)]; + char dummy_l_[PADL_(void *)]; void * dummy; char dummy_r_[PADR_(void *)]; +}; +struct __mac_set_fd_args { + char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; + char dummy_l_[PADL_(void *)]; void * dummy; char dummy_r_[PADR_(void *)]; +}; +struct __mac_set_file_args { + char path_p_l_[PADL_(const char *)]; const char * path_p; char path_p_r_[PADR_(const char *)]; + char dummy_l_[PADL_(void *)]; void * dummy; char dummy_r_[PADR_(void *)]; +}; struct kenv_args { char what_l_[PADL_(int)]; int what; char what_r_[PADR_(int)]; char name_l_[PADL_(const char *)]; const char * name; char name_r_[PADR_(const char *)]; @@ -1339,6 +1361,12 @@ int kse_wakeup(struct thread *, struct kse_wakeup_args *); int kse_new(struct thread *, struct kse_new_args *); int thread_wakeup(struct thread *, struct thread_wakeup_args *); int kse_yield(struct thread *, struct kse_yield_args *); +int __mac_get_proc(struct thread *, struct __mac_get_proc_args *); +int __mac_set_proc(struct thread *, struct __mac_set_proc_args *); +int __mac_get_fd(struct thread *, struct __mac_get_fd_args *); +int __mac_get_file(struct thread *, struct __mac_get_file_args *); +int __mac_set_fd(struct thread *, struct __mac_set_fd_args *); +int __mac_set_file(struct thread *, struct __mac_set_file_args *); int kenv(struct thread *, struct kenv_args *); int lchflags(struct thread *, struct lchflags_args *); int uuidgen(struct thread *, struct uuidgen_args *);