resource.c (0337966d121ebebf73a1c346123e8112796e684e) resource.c (c97204baf840bf850e14ef4f5f43251239ca43b6)
1/*
2 * AppArmor security module
3 *
4 * This file contains AppArmor resource mediation and attachment
5 *
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd.
8 *

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

19#include "include/resource.h"
20#include "include/policy.h"
21
22/*
23 * Table of rlimit names: we generate it from resource.h.
24 */
25#include "rlim_names.h"
26
1/*
2 * AppArmor security module
3 *
4 * This file contains AppArmor resource mediation and attachment
5 *
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd.
8 *

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

19#include "include/resource.h"
20#include "include/policy.h"
21
22/*
23 * Table of rlimit names: we generate it from resource.h.
24 */
25#include "rlim_names.h"
26
27struct aa_fs_entry aa_fs_entry_rlimit[] = {
28 AA_FS_FILE_STRING("mask", AA_FS_RLIMIT_MASK),
27struct aa_sfs_entry aa_sfs_entry_rlimit[] = {
28 AA_SFS_FILE_STRING("mask", AA_SFS_RLIMIT_MASK),
29 { }
30};
31
32/* audit callback for resource specific fields */
33static void audit_cb(struct audit_buffer *ab, void *va)
34{
35 struct common_audit_data *sa = va;
36

--- 115 unchanged lines hidden ---
29 { }
30};
31
32/* audit callback for resource specific fields */
33static void audit_cb(struct audit_buffer *ab, void *va)
34{
35 struct common_audit_data *sa = va;
36

--- 115 unchanged lines hidden ---