2024-08-13 16:58:25 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!DOCTYPE policyconfig PUBLIC
|
|
|
|
"-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
|
|
|
|
"http://www.freedesktop.org/standards/PolicyKit/1/policyconfig.dtd">
|
|
|
|
<policyconfig>
|
|
|
|
|
2025-02-13 12:46:12 -08:00
|
|
|
<action id="net.apparmor.pkexec.aa-notify.modify_profile">
|
2024-08-13 16:58:25 +00:00
|
|
|
<description>AppArmor: modifying security profile</description>
|
|
|
|
<message>To modify an AppArmor security profile, you need to authenticate.</message>
|
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin</allow_any>
|
|
|
|
<allow_inactive>auth_admin</allow_inactive>
|
|
|
|
<allow_active>auth_admin</allow_active>
|
|
|
|
</defaults>
|
|
|
|
<annotate key="org.freedesktop.policykit.exec.path">{LIB_PATH}apparmor/update_profile.py</annotate>
|
|
|
|
<annotate key="org.freedesktop.policykit.exec.argv1">add_rule</annotate>
|
|
|
|
</action>
|
2025-02-13 12:46:12 -08:00
|
|
|
<action id="net.apparmor.pkexec.aa-notify.create_userns">
|
2024-08-13 16:58:25 +00:00
|
|
|
<description>AppArmor: adding userns profile</description>
|
|
|
|
<message>To allow a program to use unprivileged user namespaces, you need to authenticate.</message>
|
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin</allow_any>
|
|
|
|
<allow_inactive>auth_admin</allow_inactive>
|
|
|
|
<allow_active>auth_admin</allow_active>
|
|
|
|
</defaults>
|
|
|
|
<annotate key="org.freedesktop.policykit.exec.path">{LIB_PATH}apparmor/update_profile.py</annotate>
|
|
|
|
<annotate key="org.freedesktop.policykit.exec.argv1">create_userns</annotate>
|
|
|
|
</action>
|
2025-02-13 12:46:12 -08:00
|
|
|
<action id="net.apparmor.pkexec.aa-notify.from_file">
|
2024-11-26 18:35:37 +00:00
|
|
|
<description>AppArmor: Modifying profile from file</description>
|
|
|
|
<message>To modify an AppArmor security profile from file, you need to authenticate.</message>
|
|
|
|
<defaults>
|
|
|
|
<allow_any>auth_admin</allow_any>
|
|
|
|
<allow_inactive>auth_admin</allow_inactive>
|
|
|
|
<allow_active>auth_admin</allow_active>
|
|
|
|
</defaults>
|
|
|
|
<annotate key="org.freedesktop.policykit.exec.path">{LIB_PATH}apparmor/update_profile.py</annotate>
|
|
|
|
<annotate key="org.freedesktop.policykit.exec.argv1">from_file</annotate>
|
|
|
|
</action>
|
2024-08-13 16:58:25 +00:00
|
|
|
|
|
|
|
</policyconfig>
|