aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apparmor/0005-Added-RLIMIT_RTTIME-option-conditionally.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/apparmor/0005-Added-RLIMIT_RTTIME-option-conditionally.patch')
-rw-r--r--testing/apparmor/0005-Added-RLIMIT_RTTIME-option-conditionally.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/testing/apparmor/0005-Added-RLIMIT_RTTIME-option-conditionally.patch b/testing/apparmor/0005-Added-RLIMIT_RTTIME-option-conditionally.patch
deleted file mode 100644
index 18bd06dd0b..0000000000
--- a/testing/apparmor/0005-Added-RLIMIT_RTTIME-option-conditionally.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-diff --git a/parser/parser_yacc.y b/parser/parser_yacc.y
-index 3e2bcd2..a6f12e5 100644
---- a/parser/parser_yacc.y
-+++ b/parser/parser_yacc.y
-@@ -902,6 +902,7 @@ rules: rules TOK_SET TOK_RLIMIT TOK_ID TOK_LE TOK_VALUE opt_id TOK_END_OF_RULE
- pwarn(_("RLIMIT 'cpu' no units specified using default units of seconds\n"));
- value = tmp;
- break;
-+#ifdef RLIMIT_RTTIME
- case RLIMIT_RTTIME:
- /* RTTIME is measured in microseconds */
- if (!end || $6 == end || tmp < 0)
-@@ -913,6 +914,7 @@ rules: rules TOK_SET TOK_RLIMIT TOK_ID TOK_LE TOK_VALUE opt_id TOK_END_OF_RULE
- pwarn(_("RLIMIT 'rttime' no units specified using default units of microseconds\n"));
- value = tmp;
- break;
-+#endif
- case RLIMIT_NOFILE:
- case RLIMIT_NPROC:
- case RLIMIT_LOCKS:
---
-2.11.2
-