diff options
author | Colin Watson <cjwatson@debian.org> | 2008-05-25 22:32:48 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2008-05-25 22:32:48 +0000 |
commit | 1c35a89108e4c8a0913a408f0885d53c4899351a (patch) | |
tree | 790d2867539c5952fb0c7615cb1188369a6ef599 /openbsd-compat/port-linux.h | |
parent | 8f03e38340e0da0aa566551a71770f0fbc4a8e8d (diff) |
Restore OOM killer adjustment for child processes (thanks, Vaclav Ovsik;
closes: #480020).
Diffstat (limited to 'openbsd-compat/port-linux.h')
-rw-r--r-- | openbsd-compat/port-linux.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/openbsd-compat/port-linux.h b/openbsd-compat/port-linux.h index 05e520e1c..cb8a253c4 100644 --- a/openbsd-compat/port-linux.h +++ b/openbsd-compat/port-linux.h | |||
@@ -24,4 +24,10 @@ void ssh_selinux_setup_pty(char *, const char *); | |||
24 | void ssh_selinux_setup_exec_context(char *); | 24 | void ssh_selinux_setup_exec_context(char *); |
25 | #endif | 25 | #endif |
26 | 26 | ||
27 | #ifdef OOM_ADJUST | ||
28 | int oom_adj_open(void); | ||
29 | int oom_adj_get(char *buf, size_t maxlen); | ||
30 | int oom_adj_set(const char *buf); | ||
31 | #endif | ||
32 | |||
27 | #endif /* ! _PORT_LINUX_H */ | 33 | #endif /* ! _PORT_LINUX_H */ |