capability.c (0337966d121ebebf73a1c346123e8112796e684e) capability.c (c97204baf840bf850e14ef4f5f43251239ca43b6)
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 *

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

23#include "include/policy.h"
24#include "include/audit.h"
25
26/*
27 * Table of capability names: we generate it from capabilities.h.
28 */
29#include "capability_names.h"
30
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 *

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

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

--- 103 unchanged lines hidden ---
33 { }
34};
35
36struct audit_cache {
37 struct aa_profile *profile;
38 kernel_cap_t caps;
39};
40

--- 103 unchanged lines hidden ---