From 6af62e0d5016d0e8263f77139154a518d50fc2d6 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Mon, 23 Feb 2015 13:41:40 -0800 Subject: [PATCH] Add RLIM_SAVED_CUR and RLIM_SAVED_MAX. Change-Id: Ia6be76460bfcf852832325c5f36cb272f49a4b87 --- libc/include/sys/resource.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libc/include/sys/resource.h b/libc/include/sys/resource.h index a91fa5394..3f8dd4571 100644 --- a/libc/include/sys/resource.h +++ b/libc/include/sys/resource.h @@ -36,6 +36,10 @@ __BEGIN_DECLS +/* The kernel header doesn't have these, but POSIX does. */ +#define RLIM_SAVED_CUR RLIM_INFINITY +#define RLIM_SAVED_MAX RLIM_INFINITY + typedef unsigned long rlim_t; extern int getrlimit(int, struct rlimit*);