aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/make_fit.py
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2024-07-22 13:13:54 +0000
committerChristian Brauner <[email protected]>2024-07-24 08:53:13 +0000
commit9b3e15046437d0e647e1f29ac955e2a3eb94b675 (patch)
treed9f8829cc52cd6db19b6eb5b591f7dac4208c09d /scripts/make_fit.py
parentpidfs: when time ns disabled add check for ioctl (diff)
downloadkernel-9b3e15046437d0e647e1f29ac955e2a3eb94b675.tar.gz
kernel-9b3e15046437d0e647e1f29ac955e2a3eb94b675.zip
pidfs: handle kernels without namespaces cleanly
The nsproxy structure contains nearly all of the namespaces associated with a task. When a given namespace type is not supported by this kernel the rules whether the corresponding pointer in struct nsproxy is NULL or always init_<ns_type>_ns differ per namespace. Ideally, that wouldn't be the case and for all namespace types we'd always set it to init_<ns_type>_ns when the corresponding namespace type isn't supported. Make sure we handle all namespaces where the pointer in struct nsproxy can be NULL when the namespace type isn't supported. Link: https://lore.kernel.org/r/20240722-work-pidfs-e6a83030f63e@brauner Fixes: 5b08bd408534 ("pidfs: allow retrieval of namespace file descriptors") # mainline only Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'scripts/make_fit.py')
0 files changed, 0 insertions, 0 deletions