hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/security/apparmor/include/policy.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AppArmor security module
34 *
....@@ -5,11 +6,6 @@
56 *
67 * Copyright (C) 1998-2008 Novell/SUSE
78 * Copyright 2009-2010 Canonical Ltd.
8
- *
9
- * This program is free software; you can redistribute it and/or
10
- * modify it under the terms of the GNU General Public License as
11
- * published by the Free Software Foundation, version 2 of the
12
- * License.
139 */
1410
1511 #ifndef __AA_POLICY_H
....@@ -139,7 +135,7 @@
139135
140136 const char *attach;
141137 struct aa_dfa *xmatch;
142
- int xmatch_len;
138
+ unsigned int xmatch_len;
143139 enum audit_mode audit;
144140 long mode;
145141 u32 path_flags;
....@@ -155,6 +151,9 @@
155151
156152 struct aa_rlimit rlimits;
157153
154
+ int secmark_count;
155
+ struct aa_secmark *secmark;
156
+
158157 struct aa_loaddata *rawdata;
159158 unsigned char *hash;
160159 char *dirname;