From owner-p4-projects@FreeBSD.ORG Tue Jan 22 01:32:20 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id D67DF16A41B; Tue, 22 Jan 2008 01:32:19 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6B68016A417 for ; Tue, 22 Jan 2008 01:32:19 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 4DA9813C459 for ; Tue, 22 Jan 2008 01:32:19 +0000 (UTC) (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m0M1WJ6r046325 for ; Tue, 22 Jan 2008 01:32:19 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m0M1WJUX046318 for perforce@freebsd.org; Tue, 22 Jan 2008 01:32:19 GMT (envelope-from bb+lists.freebsd.perforce@cyrus.watson.org) Date: Tue, 22 Jan 2008 01:32:19 GMT Message-Id: <200801220132.m0M1WJUX046318@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to bb+lists.freebsd.perforce@cyrus.watson.org using -f From: Robert Watson To: Perforce Change Reviews Cc: Subject: PERFORCE change 133833 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jan 2008 01:32:20 -0000 http://perforce.freebsd.org/chv.cgi?CH=133833 Change 133833 by rwatson@rwatson_freebsd_capabilities on 2008/01/22 01:32:19 Regenerate. Affected files ... .. //depot/projects/trustedbsd/capabilities/src/sys/kern/init_sysent.c#4 edit .. //depot/projects/trustedbsd/capabilities/src/sys/kern/syscalls.c#4 edit .. //depot/projects/trustedbsd/capabilities/src/sys/kern/systrace_args.c#4 edit .. //depot/projects/trustedbsd/capabilities/src/sys/sys/syscall.h#4 edit .. //depot/projects/trustedbsd/capabilities/src/sys/sys/syscall.mk#4 edit .. //depot/projects/trustedbsd/capabilities/src/sys/sys/sysproto.h#4 edit Differences ... ==== //depot/projects/trustedbsd/capabilities/src/sys/kern/init_sysent.c#4 (text+ko) ==== @@ -2,7 +2,7 @@ * System call switch table. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/kern/init_sysent.c,v 1.232 2008/01/20 23:44:23 rwatson Exp $ + * $FreeBSD$ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.236 2008/01/20 23:43:06 rwatson Exp */ @@ -515,4 +515,5 @@ { AS(shm_unlink_args), (sy_call_t *)shm_unlink, AUE_SHMUNLINK, NULL, 0, 0 }, /* 483 = shm_unlink */ { AS(cap_new_args), (sy_call_t *)cap_new, AUE_NULL, NULL, 0, 0 }, /* 484 = cap_new */ { AS(cap_getrights_args), (sy_call_t *)cap_getrights, AUE_NULL, NULL, 0, 0 }, /* 485 = cap_getrights */ + { 0, (sy_call_t *)cap_enter, AUE_NULL, NULL, 0, 0 }, /* 486 = cap_enter */ }; ==== //depot/projects/trustedbsd/capabilities/src/sys/kern/syscalls.c#4 (text+ko) ==== @@ -2,7 +2,7 @@ * System call names. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/kern/syscalls.c,v 1.216 2008/01/20 23:44:23 rwatson Exp $ + * $FreeBSD$ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.236 2008/01/20 23:43:06 rwatson Exp */ @@ -493,4 +493,5 @@ "shm_unlink", /* 483 = shm_unlink */ "cap_new", /* 484 = cap_new */ "cap_getrights", /* 485 = cap_getrights */ + "cap_enter", /* 486 = cap_enter */ }; ==== //depot/projects/trustedbsd/capabilities/src/sys/kern/systrace_args.c#4 (text+ko) ==== @@ -2,7 +2,7 @@ * System call argument to DTrace register array converstion. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/kern/systrace_args.c,v 1.16 2008/01/20 23:44:23 rwatson Exp $ + * $FreeBSD$ * This file is part of the DTrace syscall provider. */ @@ -2903,6 +2903,11 @@ *n_args = 2; break; } + /* cap_enter */ + case 486: { + *n_args = 0; + break; + } default: *n_args = 0; break; ==== //depot/projects/trustedbsd/capabilities/src/sys/sys/syscall.h#4 (text+ko) ==== @@ -2,7 +2,7 @@ * System call numbers. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/sys/syscall.h,v 1.213 2008/01/20 23:44:24 rwatson Exp $ + * $FreeBSD$ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.236 2008/01/20 23:43:06 rwatson Exp */ @@ -405,4 +405,5 @@ #define SYS_shm_unlink 483 #define SYS_cap_new 484 #define SYS_cap_getrights 485 -#define SYS_MAXSYSCALL 486 +#define SYS_cap_enter 486 +#define SYS_MAXSYSCALL 487 ==== //depot/projects/trustedbsd/capabilities/src/sys/sys/syscall.mk#4 (text+ko) ==== @@ -1,6 +1,6 @@ # FreeBSD system call names. # DO NOT EDIT-- this file is automatically generated. -# $FreeBSD: src/sys/sys/syscall.mk,v 1.168 2008/01/20 23:44:24 rwatson Exp $ +# $FreeBSD$ # created from FreeBSD: src/sys/kern/syscalls.master,v 1.236 2008/01/20 23:43:06 rwatson Exp MIASM = \ syscall.o \ @@ -353,4 +353,5 @@ shm_open.o \ shm_unlink.o \ cap_new.o \ - cap_getrights.o + cap_getrights.o \ + cap_enter.o ==== //depot/projects/trustedbsd/capabilities/src/sys/sys/sysproto.h#4 (text+ko) ==== @@ -2,7 +2,7 @@ * System call prototypes. * * DO NOT EDIT-- this file is automatically generated. - * $FreeBSD: src/sys/sys/sysproto.h,v 1.217 2008/01/20 23:44:24 rwatson Exp $ + * $FreeBSD$ * created from FreeBSD: src/sys/kern/syscalls.master,v 1.236 2008/01/20 23:43:06 rwatson Exp */ @@ -1536,6 +1536,9 @@ char fd_l_[PADL_(int)]; int fd; char fd_r_[PADR_(int)]; char rightsp_l_[PADL_(u_int64_t *)]; u_int64_t * rightsp; char rightsp_r_[PADR_(u_int64_t *)]; }; +struct cap_enter_args { + register_t dummy; +}; int nosys(struct thread *, struct nosys_args *); void sys_exit(struct thread *, struct sys_exit_args *); int fork(struct thread *, struct fork_args *); @@ -1879,6 +1882,7 @@ int shm_unlink(struct thread *, struct shm_unlink_args *); int cap_new(struct thread *, struct cap_new_args *); int cap_getrights(struct thread *, struct cap_getrights_args *); +int cap_enter(struct thread *, struct cap_enter_args *); #ifdef COMPAT_43 @@ -2447,6 +2451,7 @@ #define SYS_AUE_shm_unlink AUE_SHMUNLINK #define SYS_AUE_cap_new AUE_NULL #define SYS_AUE_cap_getrights AUE_NULL +#define SYS_AUE_cap_enter AUE_NULL #undef PAD_ #undef PADL_