[PATCH] selftests/socket: Introduce simple SCM_RIGHTS tests

2020-08-10 Thread Kees Cook
This makes sure that simple SCM_RIGHTS fd passing works as expected, to avoid any future regressions. This is mostly code from Michael Kerrisk's examples on how to set up and perform fd passing with SCM_RIGHTS. Add a test script and wire it up to the selftests. Signed-off-by: Kees Cook --- FYI, t

Re: [PATCH] selftests/socket: Introduce simple SCM_RIGHTS tests

2020-08-11 Thread Michael Kerrisk (man-pages)
Hi, On Mon, 10 Aug 2020 at 23:52, Kees Cook wrote: > > This makes sure that simple SCM_RIGHTS fd passing works as expected, to > avoid any future regressions. This is mostly code from Michael Kerrisk's > examples on how to set up and perform fd passing with SCM_RIGHTS. Add > a test script and wir