selftests/namespaces: test for efault

Ensure that put_user() can fail and that namespace cleanup works
correctly.

Link: https://patch.msgid.link/20251109-namespace-6-19-fixes-v1-8-ae8a4ad5a3b3@kernel.org
Signed-off-by: Christian Brauner <brauner@kernel.org>
This commit is contained in:
Christian Brauner 2025-11-09 22:11:29 +01:00
commit 07d7ad46da
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2
3 changed files with 533 additions and 0 deletions