2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 14:25:52 +00:00

aa-notify: Enhanced Graphical User Interfaces

This commit is contained in:
Maxime Bélair
2024-08-13 16:58:25 +00:00
committed by John Johansen
parent d9e9bb1a55
commit ff1baf3851
12 changed files with 626 additions and 14 deletions

View File

@@ -184,10 +184,10 @@ class AANotifyTest(AANotifyBase):
expected_return_code = 0
expected_output_1 = \
'''usage: aa-notify [-h] [-p] [--display DISPLAY] [-f FILE] [-l] [-s NUM] [-v]
[-u USER] [-w NUM] [--debug] [--filter.profile PROFILE]
[--filter.operation OPERATION] [--filter.name NAME]
[--filter.denied DENIED] [--filter.family FAMILY]
[--filter.socket SOCKET]
[-u USER] [-w NUM] [--prompt-filter PF] [--debug]
[--filter.profile PROFILE] [--filter.operation OPERATION]
[--filter.name NAME] [--filter.denied DENIED]
[--filter.family FAMILY] [--filter.socket SOCKET]
Display AppArmor notifications or messages for DENIED entries.
''' # noqa: E128
@@ -207,6 +207,7 @@ Display AppArmor notifications or messages for DENIED entries.
-u USER, --user USER user to drop privileges to when not using sudo
-w NUM, --wait NUM wait NUM seconds before displaying notifications (with
-p)
--prompt-filter PF kind of operations which display a popup prompt
--debug debug mode
Filtering options: