Allow setroubleshoot_fixit_t to read random_device_t #149
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allow setroubleshoot_fixit_t to to read from random number generator devices
Fixed Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1622115
$ rpm -q selinux-policy
selinux-policy-3.14.5-3.fc32.14.noarch
$ sesearch -A -s setroubleshoot_fixit_t -t random_device_t -c chr_file
Scratch build installed
$ rpm -q selinux-policy
selinux-policy-3.14.5-3.fc32.15.noarch
$ sesearch -A -s setroubleshoot_fixit_t -t random_device_t -c chr_file -p read
allow setroubleshoot_fixit_t random_device_t:chr_file { getattr ioctl lock open read };