diff options
author | Mickaël Salaün <mic@digikod.net> | 2024-03-07 10:39:22 +0100 |
---|---|---|
committer | Mickaël Salaün <mic@digikod.net> | 2024-03-08 18:22:13 +0100 |
commit | 088e2efaf3d25be67f5dbcc26cfe08d7797dff39 (patch) | |
tree | 90634ac93f029a06a1b18714c25a1256ce17c662 /security/landlock/ptrace.h | |
parent | 782191c74875cc33b50263e21d76080b1411884d (diff) |
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 'security/landlock/ptrace.h')
0 files changed, 0 insertions, 0 deletions