Home
last modified time | relevance | path

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

/openbsd/usr.sbin/tcpdump/
H A Dprivsep.c105 static void drop_privs(int);
125 drop_privs(int nochroot) in drop_privs() function
185 drop_privs(0); in priv_init()
317 drop_privs(1); in priv_exec()
/openbsd/usr.sbin/ftp-proxy/
H A Dftp-proxy.c94 int drop_privs(void);
264 drop_privs(void) in drop_privs() function
781 if (!drop_privs()) in main()
/openbsd/libexec/spamd-setup/
H A Dspamd-setup.c261 open_child(char *file, char **argv, int drop_privs) in open_child() argument
279 if (drop_privs) in open_child()
/openbsd/libexec/spamd/
H A Dgrey.c1020 drop_privs(void) in drop_privs() function
1078 drop_privs(); in greywatcher()
/openbsd/usr.bin/ssh/
H A Dmisc.c2628 struct passwd *pw, privdrop_fn *drop_privs, privrestore_fn *restore_privs) in subprocess() argument
2639 if (drop_privs != NULL && (pw == NULL || restore_privs == NULL)) { in subprocess()
2672 if (drop_privs != NULL) in subprocess()
2673 drop_privs(pw); in subprocess()