Searched refs:drop_privs (Results 1 - 9 of 9) sorted by relevance

/freebsd-current/sbin/hastd/
H A Dsubr.h54 int drop_privs(const struct hast_resource *res);
H A Dsubr.c152 drop_privs(const struct hast_resource *res) function
H A Dsecondary.c485 if (drop_privs(res) != 0)
H A Dprimary.c1040 if (drop_privs(res) != 0) {
/freebsd-current/tests/sys/fs/fusefs/
H A Dutils.hh247 void fork(bool drop_privs, int *status,
H A Dutils.cc581 FuseTest::fork(bool drop_privs, int *child_status, argument
592 if (drop_privs) {
612 if (drop_privs && 0 != setegid(gid)) {
617 if (drop_privs && 0 != setreuid(-1, uid)) {
/freebsd-current/contrib/pf/ftp-proxy/
H A Dftp-proxy.c100 int drop_privs(void);
268 drop_privs(void) function
766 if (!drop_privs()) {
/freebsd-current/sbin/hastctl/
H A Dhastctl.c544 if (drop_privs(NULL) != 0)
/freebsd-current/crypto/openssh/
H A Dmisc.c2713 struct passwd *pw, privdrop_fn *drop_privs, privrestore_fn *restore_privs)
2724 if (drop_privs != NULL && (pw == NULL || restore_privs == NULL)) {
2757 if (drop_privs != NULL)
2758 drop_privs(pw);
2711 subprocess(const char *tag, const char *command, int ac, char **av, FILE **child, u_int flags, struct passwd *pw, privdrop_fn *drop_privs, privrestore_fn *restore_privs) argument

Completed in 225 milliseconds