PERFORCE change 100926 for review
John Birrell
jb at FreeBSD.org
Fri Jul 7 19:06:15 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=100926
Change 100926 by jb at jb_freebsd2 on 2006/07/07 19:06:01
Change the priv hack definitions back to just integers.
Affected files ...
.. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_hacks.h#15 edit
Differences ...
==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_hacks.h#15 (text+ko) ====
@@ -32,13 +32,13 @@
#define TQ_NOSLEEP 0x01 /* cannot block for memory; may fail */
#define TQ_NOQUEUE 0x02 /* Do not enqueue if can't dispatch */
#define TQ_NOALLOC 0x04 /* cannot allocate memory; may fail */
-#define PRIV_EFFECTIVE (1UL << 0)
-#define PRIV_DTRACE_KERNEL (1UL << 1)
-#define PRIV_DTRACE_PROC (1UL << 2)
-#define PRIV_DTRACE_USER (1UL << 3)
-#define PRIV_PROC_OWNER (1UL << 4)
-#define PRIV_PROC_ZONE (1UL << 5)
-#define PRIV_ALL ~0UL
+#define PRIV_EFFECTIVE (1 << 0)
+#define PRIV_DTRACE_KERNEL (1 << 1)
+#define PRIV_DTRACE_PROC (1 << 2)
+#define PRIV_DTRACE_USER (1 << 3)
+#define PRIV_PROC_OWNER (1 << 4)
+#define PRIV_PROC_ZONE (1 << 5)
+#define PRIV_ALL ~0
typedef struct __dev_info *dev_info_t;
typedef int minor_t;
typedef int major_t;
More information about the p4-projects
mailing list