blob: 8aec193da72684bef9ffc1c5f22fb2e918d1e5d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
Subject: [PATCH] fix file_contexts.subs_dist for poky
This file is used for Linux distros to define specific pathes
mapping to the pathes in file_contexts.
Upstream-Status: Inappropriate [only for Poky]
Signed-off-by: Xin Ouyang <Xin.Ouyang@windriver.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
---
config/file_contexts.subs_dist | 11 +++++++++++
1 file changed, 11 insertions(+)
--- a/config/file_contexts.subs_dist
+++ b/config/file_contexts.subs_dist
@@ -26,5 +26,16 @@
# backward compatibility
# not for refpolicy intern, but for /var/run using applications,
# like systemd tmpfiles or systemd socket configurations
/var/run /run
+
+/var/volatile/log /var/log
+/var/volatile/run /var/run
+/var/volatile/cache /var/cache
+/var/volatile/tmp /var/tmp
+/var/volatile/lock /var/lock
+/var/volatile/run/lock /var/lock
+/www /var/www
+/usr/lib/busybox/bin /bin
+/usr/lib/busybox/sbin /sbin
+/usr/lib/busybox/usr /usr
|