[apparmor] [PATCH 4/5] Update the documented error codes for aa_change_profile() and aa_change_onexe()

John Johansen john.johansen at canonical.com
Wed Dec 28 02:49:34 UTC 2011


Signed-off-by: John Johansen <john.johansen at canonical.com>
---
 libraries/libapparmor/doc/aa_change_profile.pod |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)

diff --git a/libraries/libapparmor/doc/aa_change_profile.pod b/libraries/libapparmor/doc/aa_change_profile.pod
index 5bd03f6..8c27bd6 100644
--- a/libraries/libapparmor/doc/aa_change_profile.pod
+++ b/libraries/libapparmor/doc/aa_change_profile.pod
@@ -85,14 +85,9 @@ Insufficient kernel memory was available.
 
 The calling application is not confined by apparmor.
 
-=item B<ECHILD>
-
-The application's profile has no hats defined for it.
-
 =item B<EACCES>
 
-The specified I<profile> does not exist in this profile or the
-process tried to change another process's domain.
+The task does not have sufficient permissions to change its domain.
 
 =back
 
-- 
1.7.7.3




More information about the AppArmor mailing list