Closed Pavl-o closed 2 years ago
Good stuff. I'm reviewing and merging the changes now. In addition to the things you pointed out, I have found a couple minor issues:
usr.bin.firefox
file added that we probably don't want committed with the rest of the code. Presumably, it was used to test the parser.cc
code.s_selection_box
which is used to modify the status of individual profiles is visible in the Processes tab. We will probably want to make this invisible, similar to what was achieved with the Logs tab.sudo
to call the aa-enforce
, aa-complain
, aa-disable
commands, when we want to use pkexec
.
Added 3 selection options to the dropdown menu (Enforce, Complain, Disable) which issue 'aa-enforce', 'aa-complain', and 'aa-disable' commands respectfully.
Added the ability to filter out paths with specified flags in the parser. More specifically, the transition-to-subprofile flags which were causing duplicate paths to be returned.
Note: we're still using the old way of simply just issuing console commands which seems to break for certain profiles including ones with 'snap', double slashes, and, more recently, Discord for some reason.