summaryrefslogtreecommitdiffstats
path: root/security/apparmor/secid.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2018-11-02 10:04:26 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2018-11-02 10:04:26 -0700
commitd81f50bd34646d8373b989e55180c0fc9af94e0b (patch)
treea72b051a41717a7b8bacd7cf61965ff0e0dfa4ed /security/apparmor/secid.c
parentc2aa1a444cab2c673650ada80a7dffc4345ce2e6 (diff)
parent566f52ece7bd1099d20dfe2f6f0801896643cf8f (diff)
downloadtalos-obmc-linux-d81f50bd34646d8373b989e55180c0fc9af94e0b.tar.gz
talos-obmc-linux-d81f50bd34646d8373b989e55180c0fc9af94e0b.zip
Merge tag 'apparmor-pr-2018-11-01' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor
Pull apparmor updates from John Johansen: "Features/Improvements: - replace spin_is_locked() with lockdep - add base support for secmark labeling and matching Cleanups: - clean an indentation issue, remove extraneous space - remove no-op permission check in policy_unpack - fix checkpatch missing spaces error in Parse secmark policy - fix network performance issue in aa_label_sk_perm Bug fixes: - add #ifdef checks for secmark filtering - fix an error code in __aa_create_ns() - don't try to replace stale label in ptrace checks - fix failure to audit context info in build_change_hat - check buffer bounds when mapping permissions mask - fully initialize aa_perms struct when answering userspace query - fix uninitialized value in aa_split_fqname" * tag 'apparmor-pr-2018-11-01' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor: apparmor: clean an indentation issue, remove extraneous space apparmor: fix checkpatch error in Parse secmark policy apparmor: add #ifdef checks for secmark filtering apparmor: Fix uninitialized value in aa_split_fqname apparmor: don't try to replace stale label in ptraceme check apparmor: Replace spin_is_locked() with lockdep apparmor: Allow filtering based on secmark policy apparmor: Parse secmark policy apparmor: Add a wildcard secid apparmor: don't try to replace stale label in ptrace access check apparmor: Fix network performance issue in aa_label_sk_perm
Diffstat (limited to 'security/apparmor/secid.c')
-rw-r--r--security/apparmor/secid.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/security/apparmor/secid.c b/security/apparmor/secid.c
index 4ccec1bcf6f5..05373d9a3d6a 100644
--- a/security/apparmor/secid.c
+++ b/security/apparmor/secid.c
@@ -32,8 +32,7 @@
* secids - do not pin labels with a refcount. They rely on the label
* properly updating/freeing them
*/
-
-#define AA_FIRST_SECID 1
+#define AA_FIRST_SECID 2
static DEFINE_IDR(aa_secids);
static DEFINE_SPINLOCK(secid_lock);
OpenPOWER on IntegriCloud