Lines Matching defs:a
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
47 * PRIV_ASSERT(a, b) setst.privilege "b" in privilege set "a".
49 #define PRIV_ASSERT(a, b) (priv_addset(a, b))
52 * PRIV_CLEAR(a,b) clearst.privilege "b" in privilege set "a".
54 #define PRIV_CLEAR(a, b) (priv_delset(a, b))
59 #define PRIV_EQUAL(a, b) (priv_isequalset(a, b))
60 #define PRIV_EMPTY(a) (priv_emptyset(a))
61 #define PRIV_FILL(a) (priv_fillset(a))
64 * PRIV_ISASSERT tests if privilege 'b' is asserted in privilege set 'a'.
66 #define PRIV_ISASSERT(a, b) (priv_ismember(a, b))
67 #define PRIV_ISEMPTY(a) (priv_isemptyset(a))
68 #define PRIV_ISFULL(a) (priv_isfullset(a))
71 * This macro returns 1 if all privileges asserted in privilege set "a"
72 * are also asserted in privilege set "b" (i.e. if a is a subset of b)
74 #define PRIV_ISSUBSET(a, b) (priv_issubset(a, b))
77 * Takes intersection of "a" and "b" and stores in "b".
79 #define PRIV_INTERSECT(a, b) (priv_intersect(a, b))
82 * Replaces "a" with inverse of "a".
84 #define PRIV_INVERSE(a) (priv_inverse(a))
87 * Takes union of "a" and "b" and stores in "b".
89 #define PRIV_UNION(a, b) (priv_union(a, b))