Lines Matching refs:pset
368 priv_set_t *pset; in dlmgmt_drop_privileges() local
373 if ((pset = priv_allocset()) == NULL) in dlmgmt_drop_privileges()
386 priv_basicset(pset); in dlmgmt_drop_privileges()
387 (void) priv_delset(pset, PRIV_PROC_EXEC); in dlmgmt_drop_privileges()
388 (void) priv_delset(pset, PRIV_PROC_INFO); in dlmgmt_drop_privileges()
389 (void) priv_delset(pset, PRIV_PROC_SESSION); in dlmgmt_drop_privileges()
390 (void) priv_delset(pset, PRIV_FILE_LINK_ANY); in dlmgmt_drop_privileges()
393 if (priv_addset(pset, PRIV_SYS_CONFIG) == -1 || in dlmgmt_drop_privileges()
394 priv_addset(pset, PRIV_SYS_DL_CONFIG) == -1) in dlmgmt_drop_privileges()
397 (void) priv_delset(pset, PRIV_PROC_FORK); in dlmgmt_drop_privileges()
400 if (err == 0 && setppriv(PRIV_SET, ptype, pset) == -1) in dlmgmt_drop_privileges()
403 priv_freeset(pset); in dlmgmt_drop_privileges()