capability.c (f9cd49033b349b8be3bb1f01b39eed837853d880) capability.c (84f1f787421cd83bb7dfb34d584586f6a5fe7baa)
1/*
2 * AppArmor security module
3 *
4 * This file contains AppArmor capability mediation functions
5 *
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd.
8 *

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

22#include "include/policy.h"
23#include "include/audit.h"
24
25/*
26 * Table of capability names: we generate it from capabilities.h.
27 */
28#include "capability_names.h"
29
1/*
2 * AppArmor security module
3 *
4 * This file contains AppArmor capability mediation functions
5 *
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd.
8 *

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

22#include "include/policy.h"
23#include "include/audit.h"
24
25/*
26 * Table of capability names: we generate it from capabilities.h.
27 */
28#include "capability_names.h"
29
30struct aa_fs_entry aa_fs_entry_caps[] = {
31 AA_FS_FILE_STRING("mask", AA_FS_CAPS_MASK),
32 { }
33};
34
30struct audit_cache {
31 struct aa_profile *profile;
32 kernel_cap_t caps;
33};
34
35static DEFINE_PER_CPU(struct audit_cache, audit_cache);
36
37/**

--- 106 unchanged lines hidden ---
35struct audit_cache {
36 struct aa_profile *profile;
37 kernel_cap_t caps;
38};
39
40static DEFINE_PER_CPU(struct audit_cache, audit_cache);
41
42/**

--- 106 unchanged lines hidden ---