Kuniyuki Iwashima e060e433e5 selftest: af_unix: Make SCM_RIGHTS into OOB data.
scm_rights.c covers various test cases for inflight file descriptors
and garbage collector for AF_UNIX sockets.

Currently, SCM_RIGHTS messages are sent with 3-bytes string, and it's
not good for MSG_OOB cases, as SCM_RIGTS cmsg goes with the first 2-bytes,
which is non-OOB data.

Let's send SCM_RIGHTS messages with 1-byte character to pack SCM_RIGHTS
into OOB data.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Signed-off-by: Michal Luczaj <mhal@rbox.co>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2024-05-21 13:42:08 +02:00
..
2024-03-11 09:25:33 -07:00
2023-08-24 10:41:47 -04:00
2024-05-17 18:29:30 -07:00
2024-05-15 13:40:16 -04:00
2024-03-11 09:25:33 -07:00
2024-05-14 11:36:54 -07:00
2023-11-01 17:08:10 -10:00
2024-05-14 11:36:54 -07:00
2024-05-17 09:05:46 -07:00
2023-10-15 20:07:52 +01:00
2023-10-05 14:22:53 -06:00
2024-05-15 12:34:46 -07:00
2024-05-14 11:36:54 -07:00
2024-05-14 19:42:24 -07:00
2024-05-14 19:42:24 -07:00