17 #include <sys/types.h>
21 void platform_pre_listen(
void);
22 void platform_pre_fork(
void);
23 void platform_pre_restart(
void);
24 void platform_post_fork_parent(pid_t child_pid);
25 void platform_post_fork_child(
void);
26 int platform_privileged_uidswap(
void);
27 void platform_setusercontext(
struct passwd *);
28 void platform_setusercontext_post_groups(
struct passwd *);
29 char *platform_get_krb5_client(
const char *);
30 char *platform_krb5_get_principal_name(
const char *);
31 int platform_locked_account(
struct passwd *);
32 int platform_sys_dir_uid(uid_t);
33 void platform_disable_tracing(
int);
36 void platform_pledge_agent(
void);
37 void platform_pledge_sftp_server(
void);
38 void platform_pledge_mux(
void);