summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-linux.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2008-05-25 22:32:48 +0000
committerColin Watson <cjwatson@debian.org>2008-05-25 22:32:48 +0000
commit1c35a89108e4c8a0913a408f0885d53c4899351a (patch)
tree790d2867539c5952fb0c7615cb1188369a6ef599 /openbsd-compat/port-linux.h
parent8f03e38340e0da0aa566551a71770f0fbc4a8e8d (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.h6
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 *);
24void ssh_selinux_setup_exec_context(char *); 24void ssh_selinux_setup_exec_context(char *);
25#endif 25#endif
26 26
27#ifdef OOM_ADJUST
28int oom_adj_open(void);
29int oom_adj_get(char *buf, size_t maxlen);
30int oom_adj_set(const char *buf);
31#endif
32
27#endif /* ! _PORT_LINUX_H */ 33#endif /* ! _PORT_LINUX_H */