diff --git a/sys/kern/init_sysent.c b/sys/kern/init_sysent.c index 2d7e453d52ff..be1a52fc122c 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.147 2003/04/01 01:12:24 jeff Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.149 2003/04/09 02:55:18 mike Exp */ #include "opt_compat.h" @@ -464,4 +464,5 @@ struct sysent sysent[] = { { SYF_MPSAFE | AS(thr_kill_args), (sy_call_t *)thr_kill }, /* 433 = thr_kill */ { SYF_MPSAFE | AS(_umtx_lock_args), (sy_call_t *)_umtx_lock }, /* 434 = _umtx_lock */ { SYF_MPSAFE | AS(_umtx_unlock_args), (sy_call_t *)_umtx_unlock }, /* 435 = _umtx_unlock */ + { SYF_MPSAFE | AS(jail_attach_args), (sy_call_t *)jail_attach }, /* 436 = jail_attach */ }; diff --git a/sys/kern/syscalls.c b/sys/kern/syscalls.c index fa3ff7323286..2d9b71a38866 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.147 2003/04/01 01:12:24 jeff Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.149 2003/04/09 02:55:18 mike Exp */ const char *syscallnames[] = { @@ -443,4 +443,5 @@ const char *syscallnames[] = { "thr_kill", /* 433 = thr_kill */ "_umtx_lock", /* 434 = _umtx_lock */ "_umtx_unlock", /* 435 = _umtx_unlock */ + "jail_attach", /* 436 = jail_attach */ }; diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h index b8597e91b788..99c3e4fd05e0 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.147 2003/04/01 01:12:24 jeff Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.149 2003/04/09 02:55:18 mike Exp */ #define SYS_syscall 0 @@ -343,4 +343,5 @@ #define SYS_thr_kill 433 #define SYS__umtx_lock 434 #define SYS__umtx_unlock 435 -#define SYS_MAXSYSCALL 436 +#define SYS_jail_attach 436 +#define SYS_MAXSYSCALL 437 diff --git a/sys/sys/syscall.mk b/sys/sys/syscall.mk index 632d4dcfb0dc..923e7706248b 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.147 2003/04/01 01:12:24 jeff Exp +# created from FreeBSD: src/sys/kern/syscalls.master,v 1.149 2003/04/09 02:55:18 mike Exp MIASM = \ syscall.o \ exit.o \ @@ -288,4 +288,5 @@ MIASM = \ thr_self.o \ thr_kill.o \ _umtx_lock.o \ - _umtx_unlock.o + _umtx_unlock.o \ + jail_attach.o diff --git a/sys/sys/sysproto.h b/sys/sys/sysproto.h index 39525d2eedb9..f7abf11aa191 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.147 2003/04/01 01:12:24 jeff Exp + * created from FreeBSD: src/sys/kern/syscalls.master,v 1.149 2003/04/09 02:55:18 mike Exp */ #ifndef _SYS_SYSPROTO_H_ @@ -1261,6 +1261,9 @@ struct _umtx_lock_args { struct _umtx_unlock_args { char umtx_l_[PADL_(struct umtx *)]; struct umtx * umtx; char umtx_r_[PADR_(struct umtx *)]; }; +struct jail_attach_args { + char jid_l_[PADL_(int)]; int jid; char jid_r_[PADR_(int)]; +}; int nosys(struct thread *, struct nosys_args *); void sys_exit(struct thread *, struct sys_exit_args *); int fork(struct thread *, struct fork_args *); @@ -1546,6 +1549,7 @@ int thr_self(struct thread *, struct thr_self_args *); int thr_kill(struct thread *, struct thr_kill_args *); int _umtx_lock(struct thread *, struct _umtx_lock_args *); int _umtx_unlock(struct thread *, struct _umtx_unlock_args *); +int jail_attach(struct thread *, struct jail_attach_args *); #ifdef COMPAT_43