hc
2024-10-09 05e59e5fb0064c97a1c10921ecd549f2d4a58565
kernel/security/apparmor/include/label.h
....@@ -1,14 +1,10 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * AppArmor security module
34 *
45 * This file contains AppArmor label definitions
56 *
67 * Copyright 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.
128 */
139
1410 #ifndef __AA_LABEL_H
....@@ -279,6 +275,7 @@
279275 void aa_labelset_init(struct aa_labelset *ls);
280276 void __aa_labelset_update_subtree(struct aa_ns *ns);
281277
278
+void aa_label_destroy(struct aa_label *label);
282279 void aa_label_free(struct aa_label *label);
283280 void aa_label_kref(struct kref *kref);
284281 bool aa_label_init(struct aa_label *label, int size, gfp_t gfp);