mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
libapparmor: Correct meaning of EPERM in aa_change_profile man page
I suspect that the incorrect description of EPERM was copied from the aa_change_hat man page, where it is possible to see EPERM if the application is not confined by AppArmor. This patch corrects the description by documenting that the only possible way to see EPERM is if a confined application has the no_new_privs bit set. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Reported-by: Seth Arnold <seth.arnold@canonical.com> Acked-by: John Johansen <john.johansen@canonical.com>
This commit is contained in:
parent
d22c744acc
commit
8eda3a787a
1 changed files with 2 additions and 2 deletions
|
@ -83,8 +83,8 @@ Insufficient kernel memory was available.
|
|||
|
||||
=item B<EPERM>
|
||||
|
||||
The calling application is not confined by apparmor, or the no_new_privs
|
||||
bit is set.
|
||||
The calling application is confined by apparmor and the no_new_privs bit is
|
||||
set.
|
||||
|
||||
=item B<EACCES>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue