mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
![]() The aa-exec tool was indicating, in an error message, that a profile didn't exist in cases where aa_change_profile() failed with errno set to ENOENT or EACCES. However, the EACCES error means that changing to the target profile is not allowed. This patch fixes the error message in the cause of EACCES: $ ./aa-exec -p dne -- true aa-exec: ERROR: profile 'dne' does not exist $ ./aa-exec -p /usr/sbin/tcpdump -- ./aa-exec -p unconfined -- true aa-exec: ERROR: insufficient permissions to change to the profile 'unconfined' Signed-off-by: Tyler Hicks <tyhicks@canonical.com> |
||
---|---|---|
.. | ||
po | ||
aa-enabled.pod | ||
aa-exec.pod | ||
aa_enabled.c | ||
aa_exec.c | ||
Makefile |