2013-12-07 19:20:29

by errno13

[permalink] [raw]
Subject: [refpolicy] [PATCH 4/5] kernel: plymouthd requires cap_syslog at least in distro_redhat. I have not yet encountered this in distro_debian

Signed-off-by: Dominick Grift <[email protected]>
---
policy/modules/kernel/kernel.te | 2 ++
1 file changed, 2 insertions(+)

diff --git a/policy/modules/kernel/kernel.te b/policy/modules/kernel/kernel.te
index 857cc10..c2be884 100644
--- a/policy/modules/kernel/kernel.te
+++ b/policy/modules/kernel/kernel.te
@@ -288,6 +288,8 @@ mls_file_write_all_levels(kernel_t)
mls_file_read_all_levels(kernel_t)

ifdef(`distro_redhat',`
+ allow kernel_t self:capability2 syslog;
+
# Bugzilla 222337
fs_rw_tmpfs_chr_files(kernel_t)
')
--
1.8.4.2