Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Tue, 12 May 2015 22:15:03 +0200
From: Felix Janda <felix.janda@...teo.de>
To: musl@...ts.openwall.com
Subject: [PATCH] add missing legacy RLIM64_INFINITY LFS64 alias

---
 include/sys/resource.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/sys/resource.h b/include/sys/resource.h
index 58392d6..101ea63 100644
--- a/include/sys/resource.h
+++ b/include/sys/resource.h
@@ -96,6 +96,7 @@ int prlimit(pid_t, int, const struct rlimit *, struct rlimit *);
 #define RLIM_NLIMITS RLIMIT_NLIMITS
 
 #if defined(_LARGEFILE64_SOURCE) || defined(_GNU_SOURCE)
+#define RLIM64_INFINITY RLIM_INFINITY
 #define getrlimit64 getrlimit
 #define setrlimit64 setrlimit
 #define rlimit64 rlimit
-- 
2.3.6

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.