Home
last modified time | relevance | path

Searched refs:lPrivSet (Results 1 – 6 of 6) sorted by relevance

/titanic_41/usr/src/cmd/hal/probing/xkb/
H A Dprobe-xkb.c46 priv_set_t *lPrivSet = NULL; in drop_privileges() local
73 if ((lPrivSet = priv_allocset()) == NULL) { in drop_privileges()
77 priv_emptyset(lPrivSet); in drop_privileges()
79 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) { in drop_privileges()
83 priv_freeset(lPrivSet); in drop_privileges()
/titanic_41/usr/src/cmd/hal/addons/network-devices/
H A Daddon-network-discovery.c271 priv_set_t *lPrivSet = NULL; in drop_privileges() local
294 if ((lPrivSet = priv_allocset()) == NULL) { in drop_privileges()
298 priv_emptyset(lPrivSet); in drop_privileges()
300 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) { in drop_privileges()
304 priv_freeset(lPrivSet); in drop_privileges()
/titanic_41/usr/src/cmd/hal/addons/storage/
H A Daddon-storage.c273 priv_set_t *lPrivSet = NULL; in drop_privileges() local
300 if ((lPrivSet = priv_allocset()) == NULL) { in drop_privileges()
304 priv_emptyset(lPrivSet); in drop_privileges()
306 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) { in drop_privileges()
310 priv_freeset(lPrivSet); in drop_privileges()
/titanic_41/usr/src/cmd/hal/probing/storage/
H A Dprobe-storage.c282 priv_set_t *lPrivSet = NULL; in drop_privileges() local
311 if ((lPrivSet = priv_allocset()) == NULL) { in drop_privileges()
315 priv_emptyset(lPrivSet); in drop_privileges()
317 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) { in drop_privileges()
321 priv_freeset(lPrivSet); in drop_privileges()
/titanic_41/usr/src/cmd/hal/probing/volume/
H A Dprobe-volume.c374 priv_set_t *lPrivSet = NULL; in drop_privileges() local
404 if ((lPrivSet = priv_allocset()) == NULL) { in drop_privileges()
408 priv_emptyset(lPrivSet); in drop_privileges()
410 if (setppriv(PRIV_SET, PRIV_LIMIT, lPrivSet) != 0) { in drop_privileges()
414 priv_freeset(lPrivSet); in drop_privileges()
/titanic_41/usr/src/cmd/hal/addons/cpufreq/
H A Daddon-cpufreq.c1307 priv_set_t *lPrivSet = NULL; in drop_privileges() local