Home
last modified time | relevance | path

Searched refs:drop_privs (Results 1 – 8 of 8) sorted by relevance

/freebsd/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) in drop_privs() function
H A Dsecondary.c485 if (drop_privs(res) != 0) in hastd_secondary()
H A Dprimary.c1040 if (drop_privs(res) != 0) { in hastd_primary()
/freebsd/tests/sys/fs/fusefs/
H A Dutils.cc581 FuseTest::fork(bool drop_privs, int *child_status, in fork() argument
592 if (drop_privs) { in fork()
612 if (drop_privs && 0 != setegid(gid)) { in fork()
617 if (drop_privs && 0 != setreuid(-1, uid)) { in fork()
H A Dutils.hh249 void fork(bool drop_privs, int *status,
/freebsd/contrib/pf/ftp-proxy/
H A Dftp-proxy.c100 int drop_privs(void);
268 drop_privs(void) in drop_privs() function
766 if (!drop_privs()) { in main()
/freebsd/crypto/openssh/
H A Dmisc.c2758 struct passwd *pw, privdrop_fn *drop_privs, privrestore_fn *restore_privs) in subprocess() argument
2769 if (drop_privs != NULL && (pw == NULL || restore_privs == NULL)) { in subprocess()
2802 if (drop_privs != NULL) in subprocess()
2803 drop_privs(pw); in subprocess()