Date: Fri, 7 Jul 2006 19:06:14 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 100926 for review Message-ID: <200607071906.k67J6ER0062613@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=100926 Change 100926 by jb@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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607071906.k67J6ER0062613>