fedora-selinux / setroubleshoot

Abandoned, use https://gitlab.com/setroubleshoot
https://gitlab.com/setroubleshoot
9 stars 12 forks source link

Fix allowed_target_types and change plugins accordingly #73

Closed vmojzis closed 6 years ago

vmojzis commented 6 years ago

allowed_target_types causes exception in case no rules where found by search([ALLOW], {SOURCE: self.scontext.type, CLASS: self.tclass, PERMS: self.access}) This used to crash plugins that would use it (and generate error message in audit log), therefore those plugins need to be changed to exit when no allowed_target_types are found.

Resolves: rhbz#1460642, rhbz#1460648