PERFORCE change 133833 for review

Robert Watson rwatson at FreeBSD.org
Mon Jan 21 17:32:20 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=133833

Change 133833 by rwatson at 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_


More information about the p4-projects mailing list