apparmorfs.c (29b3822f1e132aa0f115f69730d6e4182df153d4) apparmorfs.c (84f1f787421cd83bb7dfb34d584586f6a5fe7baa)
1/*
2 * AppArmor security module
3 *
4 * This file contains AppArmor /sys/kernel/security/apparmor interface functions
5 *
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd.
8 *

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

768};
769
770static struct aa_fs_entry aa_fs_entry_features[] = {
771 AA_FS_DIR("policy", aa_fs_entry_policy),
772 AA_FS_DIR("domain", aa_fs_entry_domain),
773 AA_FS_DIR("file", aa_fs_entry_file),
774 AA_FS_FILE_U64("capability", VFS_CAP_FLAGS_MASK),
775 AA_FS_DIR("rlimit", aa_fs_entry_rlimit),
1/*
2 * AppArmor security module
3 *
4 * This file contains AppArmor /sys/kernel/security/apparmor interface functions
5 *
6 * Copyright (C) 1998-2008 Novell/SUSE
7 * Copyright 2009-2010 Canonical Ltd.
8 *

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

768};
769
770static struct aa_fs_entry aa_fs_entry_features[] = {
771 AA_FS_DIR("policy", aa_fs_entry_policy),
772 AA_FS_DIR("domain", aa_fs_entry_domain),
773 AA_FS_DIR("file", aa_fs_entry_file),
774 AA_FS_FILE_U64("capability", VFS_CAP_FLAGS_MASK),
775 AA_FS_DIR("rlimit", aa_fs_entry_rlimit),
776 AA_FS_DIR("caps", aa_fs_entry_caps),
776 { }
777};
778
779static struct aa_fs_entry aa_fs_entry_apparmor[] = {
780 AA_FS_FILE_FOPS(".load", 0640, &aa_fs_profile_load),
781 AA_FS_FILE_FOPS(".replace", 0640, &aa_fs_profile_replace),
782 AA_FS_FILE_FOPS(".remove", 0640, &aa_fs_profile_remove),
783 AA_FS_FILE_FOPS("profiles", 0640, &aa_fs_profiles_fops),

--- 150 unchanged lines hidden ---
777 { }
778};
779
780static struct aa_fs_entry aa_fs_entry_apparmor[] = {
781 AA_FS_FILE_FOPS(".load", 0640, &aa_fs_profile_load),
782 AA_FS_FILE_FOPS(".replace", 0640, &aa_fs_profile_replace),
783 AA_FS_FILE_FOPS(".remove", 0640, &aa_fs_profile_remove),
784 AA_FS_FILE_FOPS("profiles", 0640, &aa_fs_profiles_fops),

--- 150 unchanged lines hidden ---