summaryrefslogtreecommitdiff
path: root/platform.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2013-09-22 19:02:40 +1000
committerDarren Tucker <dtucker@zip.com.au>2013-09-22 19:02:40 +1000
commitf2bf36c3eb4d969f85ec8aa342e9aecb61cc8bb1 (patch)
tree82909c895d0e5a21182e280f4deb9124ac157a25 /platform.h
parente90a06ae570fd259a2f5ced873c7f17390f535a5 (diff)
- (dtucker) [platform.c platform.h sshd.c] bz#2156: restore Linux oom_adj
setting when handling SIGHUP to maintain behaviour over retart. Patch from Matthew Ife.
Diffstat (limited to 'platform.h')
-rw-r--r--platform.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/platform.h b/platform.h
index 19f6bfdd3..1c7a45d8f 100644
--- a/platform.h
+++ b/platform.h
@@ -1,4 +1,4 @@
1/* $Id: platform.h,v 1.8 2013/03/12 00:31:05 dtucker Exp $ */ 1/* $Id: platform.h,v 1.9 2013/09/22 09:02:40 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2006 Darren Tucker. All rights reserved. 4 * Copyright (c) 2006 Darren Tucker. All rights reserved.
@@ -22,6 +22,7 @@
22 22
23void platform_pre_listen(void); 23void platform_pre_listen(void);
24void platform_pre_fork(void); 24void platform_pre_fork(void);
25void platform_pre_restart(void);
25void platform_post_fork_parent(pid_t child_pid); 26void platform_post_fork_parent(pid_t child_pid);
26void platform_post_fork_child(void); 27void platform_post_fork_child(void);
27int platform_privileged_uidswap(void); 28int platform_privileged_uidswap(void);