Searched refs:drop_privs (Results 1 – 5 of 5) sorted by relevance
105 static void drop_privs(int);125 drop_privs(int nochroot) in drop_privs() function185 drop_privs(0); in priv_init()317 drop_privs(1); in priv_exec()
94 int drop_privs(void);264 drop_privs(void) in drop_privs() function781 if (!drop_privs()) in main()
261 open_child(char *file, char **argv, int drop_privs) in open_child() argument279 if (drop_privs) in open_child()
1020 drop_privs(void) in drop_privs() function1078 drop_privs(); in greywatcher()
2628 struct passwd *pw, privdrop_fn *drop_privs, privrestore_fn *restore_privs) in subprocess() argument2639 if (drop_privs != NULL && (pw == NULL || restore_privs == NULL)) { in subprocess()2672 if (drop_privs != NULL) in subprocess()2673 drop_privs(pw); in subprocess()