| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * AppArmor security module |
|---|
| 3 | 4 | * |
|---|
| .. | .. |
|---|
| 5 | 6 | * |
|---|
| 6 | 7 | * Copyright (C) 1998-2008 Novell/SUSE |
|---|
| 7 | 8 | * 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. |
|---|
| 13 | 9 | */ |
|---|
| 14 | 10 | |
|---|
| 15 | 11 | #ifndef __AA_POLICY_H |
|---|
| .. | .. |
|---|
| 139 | 135 | |
|---|
| 140 | 136 | const char *attach; |
|---|
| 141 | 137 | struct aa_dfa *xmatch; |
|---|
| 142 | | - int xmatch_len; |
|---|
| 138 | + unsigned int xmatch_len; |
|---|
| 143 | 139 | enum audit_mode audit; |
|---|
| 144 | 140 | long mode; |
|---|
| 145 | 141 | u32 path_flags; |
|---|
| .. | .. |
|---|
| 155 | 151 | |
|---|
| 156 | 152 | struct aa_rlimit rlimits; |
|---|
| 157 | 153 | |
|---|
| 154 | + int secmark_count; |
|---|
| 155 | + struct aa_secmark *secmark; |
|---|
| 156 | + |
|---|
| 158 | 157 | struct aa_loaddata *rawdata; |
|---|
| 159 | 158 | unsigned char *hash; |
|---|
| 160 | 159 | char *dirname; |
|---|