Lines Matching defs:set
149 combine 2 SE_PRIV structures and store the resulting set in mew_mask
162 remove one SE_PRIV sytucture from another and store the resulting set
176 invert a given SE_PRIV and store the set in new_mask
281 original set. If we are left with the SE_PRIV we are checking
312 original set. If we are left with the SE_PRIV we are checking
347 initialise a privilege list and set the talloc context
417 const char *luid_to_privilege_name(const LUID *set)
422 if (luid_equal(set, &privs[i].luid)) {
435 static bool privilege_set_add(PRIVILEGE_SET *priv_set, LUID_ATTR set)
441 new_set = TALLOC_REALLOC_ARRAY(priv_set->mem_ctx, priv_set->set, LUID_ATTR, priv_set->count + 1);
447 new_set[priv_set->count].luid.high = set.luid.high;
448 new_set[priv_set->count].luid.low = set.luid.low;
449 new_set[priv_set->count].attr = set.attr;
452 priv_set->set = new_set;
460 bool se_priv_to_privilege_set( PRIVILEGE_SET *set, SE_PRIV *mask )
475 if ( !privilege_set_add( set, luid ) )
516 if ( luid_to_se_priv( &privset->set[i].luid, &r ) )