hc
2024-10-16 50a212ec906f7524620675f0c57357691c26c81f
kernel/security/apparmor/secid.c
....@@ -1,15 +1,10 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * AppArmor security module
34 *
45 * This file contains AppArmor security identifier (secid) manipulation fns
56 *
67 * Copyright 2009-2017 Canonical Ltd.
7
- *
8
- * This program is free software; you can redistribute it and/or
9
- * modify it under the terms of the GNU General Public License as
10
- * published by the Free Software Foundation, version 2 of the
11
- * License.
12
- *
138 *
149 * AppArmor allocates a unique secid for every label used. If a label
1510 * is replaced it receives the secid of the label it is replacing.
....@@ -32,8 +27,7 @@
3227 * secids - do not pin labels with a refcount. They rely on the label
3328 * properly updating/freeing them
3429 */
35
-
36
-#define AA_FIRST_SECID 1
30
+#define AA_FIRST_SECID 2
3731
3832 static DEFINE_IDR(aa_secids);
3933 static DEFINE_SPINLOCK(secid_lock);