summaryrefslogtreecommitdiff
path: root/openbsd-compat/port-linux.h
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2009-01-14 11:35:56 +0000
committerColin Watson <cjwatson@debian.org>2009-01-14 11:35:56 +0000
commit6399215a54a22845b1310610011c9229e248e1be (patch)
tree056b6568f685ce75a9f8a08af946fc34cd48ad75 /openbsd-compat/port-linux.h
parent7461980ced1a1e6ca438279b437c283ae3495833 (diff)
Open /proc/self/oom_adj with O_RDONLY or O_WRONLY as necessary, rather
than O_RDWR.
Diffstat (limited to 'openbsd-compat/port-linux.h')
-rw-r--r--openbsd-compat/port-linux.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/openbsd-compat/port-linux.h b/openbsd-compat/port-linux.h
index 2a3271a93..6e6a8acfd 100644
--- a/openbsd-compat/port-linux.h
+++ b/openbsd-compat/port-linux.h
@@ -26,7 +26,6 @@ void ssh_selinux_setup_exec_context(char *);
26#endif 26#endif
27 27
28#ifdef OOM_ADJUST 28#ifdef OOM_ADJUST
29int oom_adj_open(void);
30int oom_adj_get(char *buf, size_t maxlen); 29int oom_adj_get(char *buf, size_t maxlen);
31int oom_adj_set(const char *buf); 30int oom_adj_set(const char *buf);
32#endif 31#endif