2
0
mirror of https://gitlab.com/apparmor/apparmor synced 2025-08-31 06:16:03 +00:00

This patch updates the change_hat(2) manpage, to better reflect the

(updated) error codes returned by the module and the libapparmor
function. It also converts the package to use the svn repo version as
the package version.
This commit is contained in:
Steve Beattie
2006-10-31 16:49:36 +00:00
parent 53f1a9cdc5
commit ce1b32a773
2 changed files with 20 additions and 6 deletions

View File

@@ -26,7 +26,7 @@
Summary: Novell AppArmor Host Application Security Suite Documentation package
Name: apparmor-docs
Version: @@immunix_version@@
Release: 4
Release: @@repo_version@@
Group: Applications/System
Source0: %{name}-%{version}-@@repo_version@@.tar.gz
License: Other License(s), see package

View File

@@ -70,15 +70,29 @@ errno(3) is set appropriately.
=over 4
=item B<ENOMEM>
=item B<EINVAL>
The apparmor kernel module is not loaded.
=item B<ENOMEM>
Insufficient kernel memory was available.
=item B<EACCES>
=item B<EPERM>
The I<magic_token> passed in was 0, which is not a valid value for
the I<magic_token>, or the specified I<subprofile> does not exist in
this profile.
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<subprofile> does not exist in this profile.
=item B<EPROTO>
The I<magic_token> passed in was 0 and the I<subprofile> was set to NULL.
=item B<EFAULT>