summaryrefslogtreecommitdiff
path: root/platform.h
diff options
context:
space:
mode:
Diffstat (limited to 'platform.h')
-rw-r--r--platform.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/platform.h b/platform.h
index 30a1d2259..944d2c340 100644
--- a/platform.h
+++ b/platform.h
@@ -1,4 +1,4 @@
1/* $Id: platform.h,v 1.4 2010/01/14 01:44:16 djm Exp $ */ 1/* $Id: platform.h,v 1.7 2010/11/05 03:47:01 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2006 Darren Tucker. All rights reserved. 4 * Copyright (c) 2006 Darren Tucker. All rights reserved.
@@ -18,10 +18,15 @@
18 18
19#include <sys/types.h> 19#include <sys/types.h>
20 20
21#include <pwd.h>
22
21void platform_pre_listen(void); 23void platform_pre_listen(void);
22void platform_pre_fork(void); 24void platform_pre_fork(void);
23void platform_post_fork_parent(pid_t child_pid); 25void platform_post_fork_parent(pid_t child_pid);
24void platform_post_fork_child(void); 26void platform_post_fork_child(void);
27int platform_privileged_uidswap(void);
28void platform_setusercontext(struct passwd *);
29void platform_setusercontext_post_groups(struct passwd *);
25char *platform_get_krb5_client(const char *); 30char *platform_get_krb5_client(const char *);
26char *platform_krb5_get_principal_name(const char *); 31char *platform_krb5_get_principal_name(const char *);
27 32