Linux Kernel
3.7.1
|
#include "include/apparmor.h"
#include "include/context.h"
#include "include/policy.h"
#include "include/domain.h"
#include "include/procattr.h"
Go to the source code of this file.
Functions | |
int | aa_getprocattr (struct aa_profile *profile, char **string) |
int | aa_setprocattr_changehat (char *args, size_t size, int test) |
int | aa_setprocattr_changeprofile (char *fqname, bool onexec, int test) |
int | aa_setprocattr_permipc (char *fqname) |
int aa_getprocattr | ( | struct aa_profile * | profile, |
char ** | string | ||
) |
aa_getprocattr - Return the profile information for : the profile to print profile info about (NOT NULL) : Returns - string containing the profile info (NOT NULL)
Returns: length of on success else error on failure
Requires: profile != NULL
Creates a string containing the namespace_name://profile_name for .
Returns: size of string placed in else error code on failure
Definition at line 36 of file procattr.c.
aa_setprocattr_chagnehat - handle procattr interface to change_hat : args received from writing to /proc/<pid>/attr/current (NOT NULL) : size of the args
Returns: %0 or error code if change_hat fails
Definition at line 114 of file procattr.c.
aa_setprocattr_changeprofile - handle procattr interface to changeprofile : args received from writting to /proc/<pid>/attr/current (NOT NULL) : true if change_profile should be delayed until exec
Returns: %0 or error code if change_profile fails
Definition at line 159 of file procattr.c.
Definition at line 167 of file procattr.c.