apparmor.h (498495dba268b20e8eadd7fe93c140c68b6cc9d2) apparmor.h (56974a6fcfef69ee0825bd66ed13e92070ac5224)
1/*
2 * AppArmor security module
3 *
4 * This file contains AppArmor basic global
5 *
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2017 Canonical Ltd.
8 *

--- 10 unchanged lines hidden (view full) ---

19
20/*
21 * Class of mediation types in the AppArmor policy db
22 */
23#define AA_CLASS_ENTRY 0
24#define AA_CLASS_UNKNOWN 1
25#define AA_CLASS_FILE 2
26#define AA_CLASS_CAP 3
1/*
2 * AppArmor security module
3 *
4 * This file contains AppArmor basic global
5 *
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2017 Canonical Ltd.
8 *

--- 10 unchanged lines hidden (view full) ---

19
20/*
21 * Class of mediation types in the AppArmor policy db
22 */
23#define AA_CLASS_ENTRY 0
24#define AA_CLASS_UNKNOWN 1
25#define AA_CLASS_FILE 2
26#define AA_CLASS_CAP 3
27#define AA_CLASS_NET 4
27#define AA_CLASS_DEPRECATED 4
28#define AA_CLASS_RLIMITS 5
29#define AA_CLASS_DOMAIN 6
30#define AA_CLASS_MOUNT 7
31#define AA_CLASS_PTRACE 9
32#define AA_CLASS_SIGNAL 10
28#define AA_CLASS_RLIMITS 5
29#define AA_CLASS_DOMAIN 6
30#define AA_CLASS_MOUNT 7
31#define AA_CLASS_PTRACE 9
32#define AA_CLASS_SIGNAL 10
33#define AA_CLASS_NET 14
33#define AA_CLASS_LABEL 16
34
35#define AA_CLASS_LAST AA_CLASS_LABEL
36
37/* Control parameters settable through module/boot flags */
38extern enum audit_mode aa_g_audit;
39extern bool aa_g_audit_header;
40extern bool aa_g_debug;
41extern bool aa_g_hash_policy;
42extern bool aa_g_lock_policy;
43extern bool aa_g_logsyscall;
44extern bool aa_g_paranoid_load;
45extern unsigned int aa_g_path_max;
46
47#endif /* __APPARMOR_H */
34#define AA_CLASS_LABEL 16
35
36#define AA_CLASS_LAST AA_CLASS_LABEL
37
38/* Control parameters settable through module/boot flags */
39extern enum audit_mode aa_g_audit;
40extern bool aa_g_audit_header;
41extern bool aa_g_debug;
42extern bool aa_g_hash_policy;
43extern bool aa_g_lock_policy;
44extern bool aa_g_logsyscall;
45extern bool aa_g_paranoid_load;
46extern unsigned int aa_g_path_max;
47
48#endif /* __APPARMOR_H */