summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-linux.h
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2009-12-08 13:39:48 +1100
committerDarren Tucker <dtucker@zip.com.au>2009-12-08 13:39:48 +1100
commitc8802aac28470714ec204d00342f6ecbca45908f (patch)
tree2732966739075d569e733d65ce0cb6eb1c7a4ac6 /openbsd-compat/port-linux.h
parentd35e0ef61658aa3116eebb1606fcfe6f849fdcca (diff)
- (dtucker) Bug #1470: Disable OOM-killing of the listening sshd on Linux,
based on a patch from Vaclav Ovsik and Colin Watson. ok djm.
Diffstat (limited to 'openbsd-compat/port-linux.h')
-rw-r--r--openbsd-compat/port-linux.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/openbsd-compat/port-linux.h b/openbsd-compat/port-linux.h
index 6ad4a49f6..209d9a7a2 100644
--- a/openbsd-compat/port-linux.h
+++ b/openbsd-compat/port-linux.h
@@ -1,4 +1,4 @@
1/* $Id: port-linux.h,v 1.3 2009/10/24 04:04:13 dtucker Exp $ */ 1/* $Id: port-linux.h,v 1.4 2009/12/08 02:39:48 dtucker Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2006 Damien Miller <djm@openbsd.org> 4 * Copyright (c) 2006 Damien Miller <djm@openbsd.org>
@@ -26,4 +26,9 @@ void ssh_selinux_setup_exec_context(char *);
26void ssh_selinux_change_context(const char *); 26void ssh_selinux_change_context(const char *);
27#endif 27#endif
28 28
29#ifdef LINUX_OOM_ADJUST
30void oom_adjust_restore(void);
31void oom_adjust_setup(void);
32#endif
33
29#endif /* ! _PORT_LINUX_H */ 34#endif /* ! _PORT_LINUX_H */