Searched refs:drop_privs (Results 1 – 8 of 8) sorted by relevance
54 int drop_privs(const struct hast_resource *res);
152 drop_privs(const struct hast_resource *res) in drop_privs() function
485 if (drop_privs(res) != 0) in hastd_secondary()
1040 if (drop_privs(res) != 0) { in hastd_primary()
581 FuseTest::fork(bool drop_privs, int *child_status, in fork() argument592 if (drop_privs) { in fork()612 if (drop_privs && 0 != setegid(gid)) { in fork()617 if (drop_privs && 0 != setreuid(-1, uid)) { in fork()
249 void fork(bool drop_privs, int *status,
100 int drop_privs(void);268 drop_privs(void) in drop_privs() function766 if (!drop_privs()) { in main()
2758 struct passwd *pw, privdrop_fn *drop_privs, privrestore_fn *restore_privs) in subprocess() argument2769 if (drop_privs != NULL && (pw == NULL || restore_privs == NULL)) { in subprocess()2802 if (drop_privs != NULL) in subprocess()2803 drop_privs(pw); in subprocess()