diff options
| author | John Johansen <[email protected]> | 2024-01-03 05:54:30 +0000 |
|---|---|---|
| committer | John Johansen <[email protected]> | 2025-01-18 14:47:12 +0000 |
| commit | a9eb185be84e998aa9a99c7760534ccc06216705 (patch) | |
| tree | bc135a79332094397d136435c4ab1e3f70fb852b /security/apparmor/af_unix.c | |
| parent | apparmor: add support for profiles to define the kill signal (diff) | |
| download | kernel-a9eb185be84e998aa9a99c7760534ccc06216705.tar.gz kernel-a9eb185be84e998aa9a99c7760534ccc06216705.zip | |
apparmor: fix x_table_lookup when stacking is not the first entry
x_table_lookup currently does stacking during label_parse() if the
target specifies a stack but its only caller ensures that it will
never be used with stacking.
Refactor to slightly simplify the code in x_to_label(), this
also fixes a long standing problem where x_to_labels check on stacking
is only on the first element to the table option list, instead of
the element that is found and used.
Signed-off-by: John Johansen <[email protected]>
Diffstat (limited to 'security/apparmor/af_unix.c')
0 files changed, 0 insertions, 0 deletions
