mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 13:28:19 +00:00
Update the man page for change_hat/change_profile
Signed-off-by: John Johansen <john.johansen@canonical.com> Acked-by: Kees Cook <kees.cook@canonical.com>
This commit is contained in:
parent
2fec4eb2b4
commit
a43931e987
@ -29,7 +29,9 @@ aa_change_hat - change to or from a "hat" within a AppArmor profile
|
|||||||
B<#include E<lt>sys/apparmor.hE<gt>>
|
B<#include E<lt>sys/apparmor.hE<gt>>
|
||||||
|
|
||||||
B<int aa_change_hat (char *subprofile, unsigned long magic_token);>
|
B<int aa_change_hat (char *subprofile, unsigned long magic_token);>
|
||||||
|
|
||||||
B<int aa_change_hatv (char *subprofiles[], unsigned long magic_token);>
|
B<int aa_change_hatv (char *subprofiles[], unsigned long magic_token);>
|
||||||
|
|
||||||
B<int aa_change_hat_vargs (unsigned long magic_token, ...);>
|
B<int aa_change_hat_vargs (unsigned long magic_token, ...);>
|
||||||
|
|
||||||
Link with B<-lapparmor> when compiling.
|
Link with B<-lapparmor> when compiling.
|
||||||
|
@ -22,14 +22,16 @@
|
|||||||
|
|
||||||
=head1 NAME
|
=head1 NAME
|
||||||
|
|
||||||
aa_change_profile - change to another profile within an AppArmor profile
|
aa_change_profile, aa_change_onexec - change a tasks profile
|
||||||
aa_change_onexec - change to another profile at the next exec
|
|
||||||
=head1 SYNOPSIS
|
=head1 SYNOPSIS
|
||||||
|
|
||||||
B<#include E<lt>sys/apparmor.hE<gt>>
|
B<#include E<lt>sys/apparmor.hE<gt>>
|
||||||
|
|
||||||
B<int aa_change_profile(const char *profile);>
|
B<int aa_change_profile(const char *profile);>
|
||||||
|
|
||||||
|
B<int aa_change_onexec(const char *profile);>
|
||||||
|
|
||||||
Link with B<-lapparmor> when compiling.
|
Link with B<-lapparmor> when compiling.
|
||||||
|
|
||||||
=head1 DESCRIPTION
|
=head1 DESCRIPTION
|
||||||
|
Loading…
x
Reference in New Issue
Block a user