Skip to contentSkip to conversation

Allow rpm to relabel files at all levels

PATCH New Chad Hanson 2 participants 2 messages Dec 11, 2017 – Dec 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Allow rpm to relabel files at all levels

This patch adds MLS relabel ability to rpm per the previous email request: http://oss.tresys.com/pipermail/refpolicy/2016-July/008038.html

---
 rpm.te | 1 +
 1 file changed, 1 insertion(+)
rpm.te +1 -0
index ba24d24..221f944 100644
@@ -174,6 +174,7 @@ fs_search_auto_mountpoints(rpm_t)
 
 mls_file_read_all_levels(rpm_t)
 mls_file_write_all_levels(rpm_t)
+mls_file_relabel(rpm_t)
 mls_file_upgrade(rpm_t)
 mls_file_downgrade(rpm_t)
 
Signature · 1 line
2.14.1
#1 lore raw

PATCH 1/1 Allow rpm to relabel files at all levels

Quoted 12 lines · Chad Hanson via refpolicy

This patch adds MLS relabel ability to rpm per the previous email request: http://oss.tresys.com/pipermail/refpolicy/2016-July/008038.html

---
  rpm.te | 1 +
  1 file changed, 1 insertion(+)
rpm.te +0 -0
index ba24d24..221f944 100644

rpm.te fs_search_auto_mountpoints(rpm_t) · line 179

Quoted 6 lines
rpm.te +1 -0
@@ -174,6 +174,7 @@ fs_search_auto_mountpoints(rpm_t)
 
  mls_file_read_all_levels(rpm_t)
  mls_file_write_all_levels(rpm_t)
+mls_file_relabel(rpm_t)
  mls_file_upgrade(rpm_t)
  mls_file_downgrade(rpm_t)

Merged.

Signature · 1 line
Chris PeBenito