| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * AppArmor security module |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * This file contains AppArmor label definitions |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * 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. |
|---|
| 12 | 8 | */ |
|---|
| 13 | 9 | |
|---|
| 14 | 10 | #ifndef __AA_LABEL_H |
|---|
| .. | .. |
|---|
| 279 | 275 | void aa_labelset_init(struct aa_labelset *ls); |
|---|
| 280 | 276 | void __aa_labelset_update_subtree(struct aa_ns *ns); |
|---|
| 281 | 277 | |
|---|
| 278 | +void aa_label_destroy(struct aa_label *label); |
|---|
| 282 | 279 | void aa_label_free(struct aa_label *label); |
|---|
| 283 | 280 | void aa_label_kref(struct kref *kref); |
|---|
| 284 | 281 | bool aa_label_init(struct aa_label *label, int size, gfp_t gfp); |
|---|