diff options
author | 2024-03-07 10:39:22 +0100 | |
---|---|---|
committer | 2024-03-08 18:22:13 +0100 | |
commit | 088e2efaf3d25be67f5dbcc26cfe08d7797dff39 (patch) | |
tree | 90634ac93f029a06a1b18714c25a1256ce17c662 /.gitattributes | |
parent | landlock: Warn once if a Landlock action is requested while disabled (diff) | |
download | linux-088e2efaf3d25be67f5dbcc26cfe08d7797dff39.tar.gz linux-088e2efaf3d25be67f5dbcc26cfe08d7797dff39.tar.bz2 linux-088e2efaf3d25be67f5dbcc26cfe08d7797dff39.zip |
landlock: Simplify current_check_access_socket()
Remove the handled_access variable in current_check_access_socket() and
update access_request instead. One up-to-date variable avoids picking
the wrong one.
Cc: Konstantin Meskhidze <konstantin.meskhidze@huawei.com>
Link: https://lore.kernel.org/r/20240307093923.1466071-1-mic@digikod.net
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions