Skip to content

Commit

Permalink
remove unnecessary code
Browse files Browse the repository at this point in the history
Signed-off-by: Grzegorz Filo <[email protected]>
Closes: #2
Signed-off-by: Kenton Groombridge <[email protected]>
  • Loading branch information
plsph authored and 0xC0ncord committed May 14, 2024
1 parent 45225bc commit ef89017
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
5 changes: 0 additions & 5 deletions policy/modules/admin/bootloader.te
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,3 @@ optional_policy(`
optional_policy(`
rpm_rw_pipes(bootloader_t)
')

ifdef(`distro_gentoo',`
# Fix bug #537652 - grub2-mkconfig has search rights needed on current dir (usually user home dir)
userdom_search_user_home_dirs(bootloader_t)
')
1 change: 0 additions & 1 deletion policy/modules/admin/portage.te
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,6 @@ allow portage_t self:process { setfscreate };
# - kill for mysql merging, at least
allow portage_t self:capability { kill setfcap sys_nice };
allow portage_t self:netlink_route_socket create_netlink_socket_perms;
dontaudit portage_t self:capability { dac_read_search };

# user post-sync scripts
can_exec(portage_t, portage_conf_t)
Expand Down

0 comments on commit ef89017

Please sign in to comment.