Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 2009 19:37:22 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 156109 for review
Message-ID:  <200901131937.n0DJbMRX075647@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=156109

Change 156109 by rwatson@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200901131937.n0DJbMRX075647>