summaryrefslogtreecommitdiff
path: root/platform.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-01-24 11:46:57 +0000
committerColin Watson <cjwatson@debian.org>2011-01-24 11:46:57 +0000
commit0970072c89b079b022538e3c366fbfa2c53fc821 (patch)
treeb7024712d74234bb5a8b036ccbc9109e2e211296 /platform.h
parent4e8aa4da57000c7bba8e5c49163bc0c0ca383f78 (diff)
parent478ff799463ca926a8dfbabf058f4e84aaffc65a (diff)
merge 5.7p1
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