From 6399215a54a22845b1310610011c9229e248e1be Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 14 Jan 2009 11:35:56 +0000 Subject: Open /proc/self/oom_adj with O_RDONLY or O_WRONLY as necessary, rather than O_RDWR. --- openbsd-compat/port-linux.h | 1 - 1 file changed, 1 deletion(-) (limited to 'openbsd-compat/port-linux.h') 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 *); #endif #ifdef OOM_ADJUST -int oom_adj_open(void); int oom_adj_get(char *buf, size_t maxlen); int oom_adj_set(const char *buf); #endif -- cgit v1.2.3