Lines Matching defs:a
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
41 * priv_set_t is a structure holding a set of privileges
99 * PRIV_ASSERT(a, b) sets privilege "b" in privilege set "a".
100 * PRIV_CLEAR(a,b) clears privilege "b" in privilege set "a".
101 * PRIV_ISASSERT tests if privilege 'b' is asserted in privilege set 'a'.
104 #define __PRIV_ASSERT(a, b) ((a)->pbits[privword(b)] |= privmask(b))
105 #define __PRIV_CLEAR(a, b) ((a)->pbits[privword(b)] &= ~privmask(b))
106 #define __PRIV_ISASSERT(a, b) ((a)->pbits[privword(b)] & privmask(b))
109 #define PRIV_CLEAR(a, b) priv_delset((a), (b))
110 #define PRIV_ASSERT(a, b) priv_addset((a), (b))
111 #define PRIV_ISASSERT(a, b) priv_ismember((a), (b))
113 #define PRIV_CLEAR(a, b) __PRIV_CLEAR((a), (b))
114 #define PRIV_ASSERT(a, b) __PRIV_ASSERT((a), (b))
115 #define PRIV_ISASSERT(a, b) __PRIV_ISASSERT((a), (b))