aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/prog_tests/prog_array_init.c
diff options
context:
space:
mode:
authorTahera Fahimi <[email protected]>2024-09-04 18:13:59 -0600
committerMickaël Salaün <[email protected]>2024-09-16 23:50:50 +0200
commitd1cc0ef80f2377a6970737ed88d95014ca461993 (patch)
tree8be8cbd213abc08c5a9651a947d71b9716d15ace /tools/testing/selftests/bpf/prog_tests/prog_array_init.c
parent4f9a5b50d3b39027c5fdb44b33835209665fe069 (diff)
selftests/landlock: Test connected and unconnected datagram UNIX socket
Check the specific case where a scoped datagram socket is connected and send(2) works, whereas sendto(2) is denied if the datagram socket is not connected. Signed-off-by: Tahera Fahimi <[email protected]> Link: https://lore.kernel.org/r/c28c9cd8feef67dd25e115c401a2389a75f9983b.1725494372.git.fahimitahera@gmail.com [mic: Use more EXPECT and avoid negative ASSERT, use variables dedicated per process, remove useless buffer] Signed-off-by: Mickaël Salaün <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions