Lines Matching defs:dropprivs
103 static priv_set_t *dropprivs;
206 if ((dropprivs = priv_allocset()) == NULL)
209 priv_basicset(dropprivs);
210 (void) priv_delset(dropprivs, PRIV_PROC_INFO);
211 (void) priv_delset(dropprivs, PRIV_PROC_FORK);
212 (void) priv_delset(dropprivs, PRIV_PROC_EXEC);
213 (void) priv_delset(dropprivs, PRIV_FILE_LINK_ANY);
222 (void) priv_addset(dropprivs, PRIV_PROC_ZONE);
223 (void) priv_addset(dropprivs, PRIV_PROC_OWNER);
225 (void) priv_delset(dropprivs, PRIV_PROC_SESSION);
239 if ((setppriv(PRIV_SET, PRIV_PERMITTED, dropprivs)) == -1) {
242 if ((setppriv(PRIV_SET, PRIV_LIMIT, dropprivs)) == -1) {
245 if ((setppriv(PRIV_SET, PRIV_INHERITABLE, dropprivs)) == -1) {