Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unnecessary code #2

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions policy/modules/admin/bootloader.te
Original file line number Diff line number Diff line change
Expand Up @@ -259,8 +259,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)
')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does grub-mkconfig -o /boot/grub/grub.cfg continue to work after this is removed? I don't use grub anymore so I can't readily test this.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind, I see you pointed this out in your original comment. :)

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
Loading