We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1211d70 + 66a1682 commit c3dad3eCopy full SHA for c3dad3e
1 file changed
policy/modules/services/rasdaemon.te
@@ -17,6 +17,14 @@ files_type(rasdaemon_var_t)
17
# Local policy
18
#
19
20
+gen_tunable(rasdaemon_use_ipmitool, false)
21
+
22
+## <desc>
23
+## <p>
24
+## Determine whether rasdaemon can use ipmitool to access IPMI devices.
25
+## </p>
26
+## </desc>
27
28
allow rasdaemon_t self:process getsched;
29
allow rasdaemon_t self:capability sys_rawio;
30
@@ -40,3 +48,7 @@ fs_rw_tracefs_files(rasdaemon_t)
40
48
logging_send_syslog_msg(rasdaemon_t)
41
49
miscfiles_read_localization(rasdaemon_t)
42
50
51
+tunable_policy(`rasdaemon_use_ipmitool',`
52
+ ipmitool_domtrans(rasdaemon_t)
53
+')
54
0 commit comments