diff options
| author | Matthieu Buffet <matthieu@buffet.re> | 2025-12-12 17:36:58 +0100 |
|---|---|---|
| committer | Mickaël Salaün <mic@digikod.net> | 2026-02-06 17:54:41 +0100 |
| commit | d90ba69e3335aba96c25a0ea7d46c5c115cd4756 (patch) | |
| tree | 99ae3a8bef69d917459b6b36d27a24eaac7c1b42 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git | |
| parent | bbb6f53e905ca119f99ccab8496f8921d9db9c50 (diff) | |
landlock: Refactor TCP socket type check
Move the socket type check earlier, so that we will later be able to add
elseifs for other types. Ordering of checks (socket is of a type we
enforce restrictions on) / (current creds have Landlock restrictions)
should not change anything.
Signed-off-by: Matthieu Buffet <matthieu@buffet.re>
Link: https://lore.kernel.org/r/20251212163704.142301-3-matthieu@buffet.re
Signed-off-by: Mickaël Salaün <mic@digikod.net>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
