PERFORCE change 156109 for review

Robert Watson rwatson at FreeBSD.org
Tue Jan 13 11:37:24 PST 2009


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

Change 156109 by rwatson at rwatson_freebsd_capabilities on 2009/01/13 19:37:09

	Add an explicit sy_flags field to make up for the removal of the
	previously abused and overloaded sy_count field.  Define the
	SYF_CAPENABLED flag again.

Affected files ...

.. //depot/projects/trustedbsd/capabilities/src/sys/sys/sysent.h#4 edit

Differences ...

==== //depot/projects/trustedbsd/capabilities/src/sys/sys/sysent.h#4 (text+ko) ====

@@ -60,8 +60,14 @@
 				/* optional argument conversion function. */
 	u_int32_t sy_entry;	/* DTrace entry ID for systrace. */
 	u_int32_t sy_return;	/* DTrace return ID for systrace. */
+	u_int32_t sy_flags;	/* General flags for system calls. */
 };
 
+/*
+ * struct sysent flags
+ */
+#define	SYF_CAPENABLED	0x00000001
+
 struct image_params;
 struct __sigset;
 struct trapframe;


More information about the p4-projects mailing list