Skip to contentSkip to conversation

Label /var/cache/man with a private man cache type for mandb

PATCH Superseded Dominick Grift 1 participant 1 message Oct 31, 2012

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 Label /var/cache/man with a private man cache type for mandb

With some cosmetic fixes

policy/modules/system/miscfiles.fc +1 -1
index 9116567..855792f 100644
@@ -77,7 +77,7 @@
 
 /var/cache/fontconfig(/.*)?	gen_context(system_u:object_r:fonts_cache_t,s0)
 /var/cache/fonts(/.*)?		gen_context(system_u:object_r:tetex_data_t,s0)
-/var/cache/man(/.*)?		gen_context(system_u:object_r:man_t,s0)
+/var/cache/man(/.*)?	gen_context(system_u:object_r:man_cache_t,s0)
 
 /var/named/chroot/etc/pki(/.*)? gen_context(system_u:object_r:cert_t,s0)
 
policy/modules/system/miscfiles.if +43 -0

49 lines not on this page · raw message

policy/modules/system/miscfiles.te +3 -0
index dcc5233..c6e5d3b 100644
@@ -41,6 +41,9 @@
 type man_t alias catman_t;
 files_type(man_t)
 
+type man_cache_t;
+files_type(man_cache_t)
+
 #
 # Types for public content
 #