Skip to content

Commit

Permalink
pstore: cleanup unused sepolicies to address build issue
Browse files Browse the repository at this point in the history
Removed unused sepolicies to address selinux neverallow errors.

Tracked-On: OAM-112822
Signed-off-by: Guo, Jade <[email protected]>
  • Loading branch information
jiaxuan-guo authored and sysopenci committed Nov 3, 2023
1 parent d34b277 commit 48536fb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions pstore/pstore-clean.te
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,6 @@ init_daemon_domain(pstore-clean);
allow pstore-clean pstorefs:dir create_dir_perms;
allow pstore-clean pstorefs:file create_file_perms;

# Create directories and files for the panic dumps
allow pstore-clean pstore-clean_data_file:dir create_dir_perms;
allow pstore-clean pstore-clean_data_file:file create_file_perms;

# Copied from KK
allow pstore-clean cache_file:dir { add_name search write create };
allow pstore-clean cache_file:file { create open write };

# Read from pstore (required from kernel 3.18)
allow pstore-clean self:capability2 syslog;
allow pstore-clean kernel:system syslog_read;

0 comments on commit 48536fb

Please sign in to comment.