diff options
Diffstat (limited to 'recipes-security/refpolicy/refpolicy-git/0001-fc-subs-volatile-alias-common-var-volatile-paths.patch')
-rw-r--r-- | recipes-security/refpolicy/refpolicy-git/0001-fc-subs-volatile-alias-common-var-volatile-paths.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/recipes-security/refpolicy/refpolicy-git/0001-fc-subs-volatile-alias-common-var-volatile-paths.patch b/recipes-security/refpolicy/refpolicy-git/0001-fc-subs-volatile-alias-common-var-volatile-paths.patch deleted file mode 100644 index 5e38b8c..0000000 --- a/recipes-security/refpolicy/refpolicy-git/0001-fc-subs-volatile-alias-common-var-volatile-paths.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From ab97bea9248f62e735526292fc1253ebb1ecfa6c Mon Sep 17 00:00:00 2001 | ||
2 | From: Joe MacDonald <joe_macdonald@mentor.com> | ||
3 | Date: Thu, 28 Mar 2019 16:14:09 -0400 | ||
4 | Subject: [PATCH 01/34] fc/subs/volatile: alias common /var/volatile paths | ||
5 | |||
6 | Ensure /var/volatile paths get the appropriate base file context. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com> | ||
11 | Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com> | ||
12 | --- | ||
13 | config/file_contexts.subs_dist | 10 ++++++++++ | ||
14 | 1 file changed, 10 insertions(+) | ||
15 | |||
16 | diff --git a/config/file_contexts.subs_dist b/config/file_contexts.subs_dist | ||
17 | index 346d920e..be532d7f 100644 | ||
18 | --- a/config/file_contexts.subs_dist | ||
19 | +++ b/config/file_contexts.subs_dist | ||
20 | @@ -31,3 +31,13 @@ | ||
21 | # not for refpolicy intern, but for /var/run using applications, | ||
22 | # like systemd tmpfiles or systemd socket configurations | ||
23 | /var/run /run | ||
24 | + | ||
25 | +# volatile aliases | ||
26 | +# ensure the policy applied to the base filesystem objects are reflected in the | ||
27 | +# volatile hierarchy. | ||
28 | +/var/volatile/log /var/log | ||
29 | +/var/volatile/run /var/run | ||
30 | +/var/volatile/cache /var/cache | ||
31 | +/var/volatile/tmp /var/tmp | ||
32 | +/var/volatile/lock /var/lock | ||
33 | +/var/volatile/run/lock /var/lock | ||
34 | -- | ||
35 | 2.19.1 | ||
36 | |||