user_namespaces.7: Add note about PR_SET_DUMPABLE on nested userns
commit6aba08c6d65d92aa539633724ca8b3b9a43914e0
authorRodrigo Campos <rodrigo@sdfg.com.ar>
Sat, 1 Apr 2023 12:59:26 +0000 (1 14:59 +0200)
committerAlejandro Colomar <alx@kernel.org>
Sat, 1 Apr 2023 14:23:25 +0000 (1 16:23 +0200)
tree0479ed0595cdf2a701f4b5a41d3c8fbc305d31dc
parent5b116edbe587e749cfb5bd9c34ed2d8d635f77a8
user_namespaces.7: Add note about PR_SET_DUMPABLE on nested userns

In order to create a nested user namespace, we need to re-set the
PR_SET_DUMPABLE attribute after switching the effective UID/GID. Clarify
this in the section about nested user namespaces.

Having this note would have saved me some time debugging.

Signed-off-by: Rodrigo Campos <rodrigo@sdfg.com.ar>
Cc: Christian Brauner <brauner@kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man7/user_namespaces.7