aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apparmor/0004-Define-RLIMIT_OFILE-if-needed.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/apparmor/0004-Define-RLIMIT_OFILE-if-needed.patch')
-rw-r--r--testing/apparmor/0004-Define-RLIMIT_OFILE-if-needed.patch17
1 files changed, 0 insertions, 17 deletions
diff --git a/testing/apparmor/0004-Define-RLIMIT_OFILE-if-needed.patch b/testing/apparmor/0004-Define-RLIMIT_OFILE-if-needed.patch
deleted file mode 100644
index 804550aa0e..0000000000
--- a/testing/apparmor/0004-Define-RLIMIT_OFILE-if-needed.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff --git a/parser/parser_misc.c b/parser/parser_misc.c
-index f7772e6..90e8b9c 100644
---- a/parser/parser_misc.c
-+++ b/parser/parser_misc.c
-@@ -124,6 +124,9 @@ static struct keyword_table rlimit_table[] = {
- {"core", RLIMIT_CORE},
- {"rss", RLIMIT_RSS},
- {"nofile", RLIMIT_NOFILE},
-+#ifndef RLIMIT_OFILE
-+#define RLIMIT_OFILE RLIMIT_NOFILE
-+#endif
- {"ofile", RLIMIT_OFILE},
- {"as", RLIMIT_AS},
- {"nproc", RLIMIT_NPROC},
---
-2.11.2
-