diff options
| author | Jori Koolstra <jkoolstra@xs4all.nl> | 2026-08-14 13:28:06 -0400 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-08-17 18:14:52 -0700 |
| commit | 5d513ce19de963c7e36904c98d7b02ecd16a30a1 (patch) | |
| tree | bca616d4c221e53f531775be5bbe228bae8dd4ce /tools/perf/scripts/python | |
| parent | fd8756fa1487577535d6294ae7cc67888b19ae2a (diff) | |
selftest: Add tests for useful handling of LSM denials on SCM_RIGHTS
Tests SCM_RIGHTS fd passing on a socket with the new socket option
SO_RIGHTS_NOTRUNC turned on. To hook into the security_file_receive()
call, BPF is used. The BPF program shares a hashmap with userspace that
lists the inos to be blocked (of the receiver tgid).
Signed-off-by: Jori Koolstra <jkoolstra@xs4all.nl>
Link: https://patch.msgid.link/20260814172806.158954-1-jkoolstra@xs4all.nl
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
