OwlCyberDefense / setools

setools has moved to https://github.com/SELinuxProject/setools
Other
91 stars 34 forks source link

Component names not looked up in exact match case #71

Closed pebenito closed 8 years ago

pebenito commented 8 years ago

If an exact match criterion is put in place (non-regex) the policy object is not looked up, so the user never finds out that the object is invalid.

Remove ComponentQuery class and duplicate it's attributes and members in each of the subclasses. Add relevant lookup functions to the criteria descriptors.