#include <linux/security.h>
#include <linux/moduleparam.h>
#include <linux/mm.h>
#include <linux/mman.h>
#include <linux/mount.h>
#include <linux/namei.h>
#include <linux/ptrace.h>
#include <linux/ctype.h>
#include <linux/sysctl.h>
#include <linux/audit.h>
#include <linux/user_namespace.h>
#include <net/sock.h>
#include "include/apparmor.h"
#include "include/apparmorfs.h"
#include "include/audit.h"
#include "include/capability.h"
#include "include/context.h"
#include "include/file.h"
#include "include/ipc.h"
#include "include/path.h"
#include "include/policy.h"
#include "include/procattr.h"
Go to the source code of this file.
|
| module_param_call (mode, param_set_mode, param_get_mode,&aa_g_profile_mode, S_IRUSR|S_IWUSR) |
|
| module_param_named (debug, aa_g_debug, aabool, S_IRUSR|S_IWUSR) |
|
| module_param_call (audit, param_set_audit, param_get_audit,&aa_g_audit, S_IRUSR|S_IWUSR) |
|
| module_param_named (audit_header, aa_g_audit_header, aabool, S_IRUSR|S_IWUSR) |
|
| module_param_named (lock_policy, aa_g_lock_policy, aalockpolicy, S_IRUSR|S_IWUSR) |
|
| module_param_named (logsyscall, aa_g_logsyscall, aabool, S_IRUSR|S_IWUSR) |
|
| module_param_named (path_max, aa_g_path_max, aauint, S_IRUSR|S_IWUSR) |
|
| module_param_named (paranoid_load, aa_g_paranoid_load, aabool, S_IRUSR|S_IWUSR) |
|
| module_param_named (enabled, apparmor_enabled, aabool, S_IRUSR) |
|
| __setup ("apparmor=", apparmor_enabled_setup) |
|
| security_initcall (apparmor_init) |
|
module_param_call |
( |
mode |
, |
|
|
param_set_mode |
, |
|
|
param_get_mode |
, |
|
|
& |
aa_g_profile_mode, |
|
|
S_IRUSR| |
S_IWUSR |
|
) |
| |
module_param_call |
( |
audit |
, |
|
|
param_set_audit |
, |
|
|
param_get_audit |
, |
|
|
& |
aa_g_audit, |
|
|
S_IRUSR| |
S_IWUSR |
|
) |
| |
security_initcall |
( |
apparmor_init |
| ) |
|
int apparmor_initialized __initdata |
Definition at line 40 of file lsm.c.
bool aa_g_audit_header = 1 |
bool aa_g_paranoid_load = 1 |