diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-2.20170204/refpolicy-update-for_systemd.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-2.20170204/refpolicy-update-for_systemd.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/recipes-security/refpolicy/refpolicy-2.20170204/refpolicy-update-for_systemd.patch b/recipes-security/refpolicy/refpolicy-2.20170204/refpolicy-update-for_systemd.patch deleted file mode 100644 index 41b9c2b..0000000 --- a/recipes-security/refpolicy/refpolicy-2.20170204/refpolicy-update-for_systemd.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 07553727dca51631c93bca482442da8d0c50ac94 Mon Sep 17 00:00:00 2001 | ||
2 | From: Shrikant Bobade <shrikant_bobade@mentor.com> | ||
3 | Date: Fri, 12 Jun 2015 19:37:52 +0530 | ||
4 | Subject: [PATCH] refpolicy: update for systemd related allow rules | ||
5 | |||
6 | It provide, the systemd support related allow rules | ||
7 | |||
8 | Signed-off-by: Shrikant Bobade <shrikant_bobade@mentor.com> | ||
9 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
10 | --- | ||
11 | policy/modules/system/init.te | 5 +++++ | ||
12 | 1 file changed, 5 insertions(+) | ||
13 | |||
14 | --- a/policy/modules/system/init.te | ||
15 | +++ b/policy/modules/system/init.te | ||
16 | @@ -1105,5 +1105,10 @@ optional_policy(` | ||
17 | ') | ||
18 | |||
19 | optional_policy(` | ||
20 | zebra_read_config(initrc_t) | ||
21 | ') | ||
22 | + | ||
23 | +# systemd related allow rules | ||
24 | +allow kernel_t init_t:process dyntransition; | ||
25 | +allow devpts_t device_t:filesystem associate; | ||
26 | +allow init_t self:capability2 block_suspend; | ||
27 | \ No newline at end of file | ||