Lines Matching defs:set
28 * Program to examine or set process privileges.
60 static boolean_t set = B_FALSE;
91 set = B_TRUE;
98 set = B_TRUE;
102 set = B_TRUE;
116 set = B_TRUE;
121 set = B_TRUE;
133 if ((argc < 1 && !list) || Doff && Don || list && (set || exec) ||
176 if ((Pr = proc_arg_grab(arg, set ? PR_ARG_PIDS : PR_ARG_ANY,
177 PGRAB_RETAIN | PGRAB_FORCE | (set ? 0 : PGRAB_RDONLY) |
207 if (set) {
323 " (report, set or list process privileges)\n", command,
331 * a privilege set.
362 * For each set, you can set either add and/or
363 * remove or you can set assign.
514 "%s: cannot find privilege flags to set\n", arg);
544 int set;
563 set = priv_getsetbyname(PRIV_INHERITABLE);
564 if (rem[set] != NULL || add[set] != NULL ||
565 assign[set] != NULL) {
567 if (rem[set] != NULL)
568 priv_intersect(rem[set], target);
569 if (add[set] != NULL)
570 priv_union(add[set], target);
571 if (assign[set] != NULL)
572 priv_copyset(assign[set], target);
576 set = priv_getsetbyname(PRIV_LIMIT);
577 if (rem[set] != NULL || add[set] != NULL ||
578 assign[set] != NULL) {
580 if (rem[set] != NULL)
581 priv_intersect(rem[set], target);
582 if (add[set] != NULL)
583 priv_union(add[set], target);
584 if (assign[set] != NULL)
585 priv_copyset(assign[set], target);