Lines Matching refs:pset
397 priv_set_t *pset; in dlmgmt_drop_privileges() local
402 if ((pset = priv_allocset()) == NULL) in dlmgmt_drop_privileges()
415 priv_basicset(pset); in dlmgmt_drop_privileges()
416 (void) priv_delset(pset, PRIV_PROC_EXEC); in dlmgmt_drop_privileges()
417 (void) priv_delset(pset, PRIV_PROC_INFO); in dlmgmt_drop_privileges()
418 (void) priv_delset(pset, PRIV_PROC_SESSION); in dlmgmt_drop_privileges()
419 (void) priv_delset(pset, PRIV_FILE_LINK_ANY); in dlmgmt_drop_privileges()
422 if (priv_addset(pset, PRIV_SYS_CONFIG) == -1 || in dlmgmt_drop_privileges()
423 priv_addset(pset, PRIV_SYS_DL_CONFIG) == -1) in dlmgmt_drop_privileges()
426 (void) priv_delset(pset, PRIV_PROC_FORK); in dlmgmt_drop_privileges()
429 if (err == 0 && setppriv(PRIV_SET, ptype, pset) == -1) in dlmgmt_drop_privileges()
432 priv_freeset(pset); in dlmgmt_drop_privileges()