Skip to content

Commit 91e923a

Browse files
committed
dracut: Added dracut_data_t type.
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
1 parent 8348287 commit 91e923a

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

policy/modules/contrib/dracut.fc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,7 @@
33
#
44
# /usr
55
#
6+
/usr/lib/dracut gen_context(system_u:object_r:dracut_data_t,s0)
7+
/usr/lib/dracut(/.*)? -- gen_context(system_u:object_r:dracut_data_t,s0)
68
/usr/sbin/dracut -- gen_context(system_u:object_r:dracut_exec_t,s0)
79
/usr/bin/dracut -- gen_context(system_u:object_r:dracut_exec_t,s0)

policy/modules/contrib/dracut.te

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ application_domain(dracut_t, dracut_exec_t)
77
type dracut_conf_t;
88
files_config_file(dracut_conf_t)
99

10+
type dracut_data_t;
11+
files_type(dracut_data_t)
12+
1013
type dracut_var_log_t;
1114
logging_log_file(dracut_var_log_t)
1215

0 commit comments

Comments
 (0)