summaryrefslogtreecommitdiff
path: root/samples/landlock
diff options
context:
space:
mode:
authorTahera Fahimi <fahimitahera@gmail.com>2024-09-04 18:13:59 -0600
committerMickaël Salaün <mic@digikod.net>2024-09-16 23:50:50 +0200
commitd1cc0ef80f2377a6970737ed88d95014ca461993 (patch)
tree8be8cbd213abc08c5a9651a947d71b9716d15ace /samples/landlock
parent4f9a5b50d3b39027c5fdb44b33835209665fe069 (diff)
downloadlinux-d1cc0ef80f2377a6970737ed88d95014ca461993.tar.gz
linux-d1cc0ef80f2377a6970737ed88d95014ca461993.tar.bz2
linux-d1cc0ef80f2377a6970737ed88d95014ca461993.zip
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 <fahimitahera@gmail.com> 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 <mic@digikod.net>
Diffstat (limited to 'samples/landlock')
0 files changed, 0 insertions, 0 deletions