# Re: \[PATCH 4/4\] tests: add pidfd\_open() tests

- From: Kees Cook \<hidden\>
- Date: 2019-03-27 19:42:10 
- List: linux-api
- Page: https://ratatoskr.run/linux-api/2019/03/5552905
- Thread: https://ratatoskr.run/linux-api/2019/03/5552006/t.md

```text
On Wed, Mar 27, 2019 at 9:22 AM Christian Brauner [ref] wrote:
>
> This adds a simple test case for pidfd_open().

Thank you for the tests. :) It might be nice to see more extensive
negative testing -- making sure pids aren't reachable from mismatched
pid namespaces, etc, but this gets us basic regression testing. Also,
you might save some copy/paste code using kselftest_harness.h's
interfaces.

-- 
Kees Cook
```
