Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rootless: skip NS_GET_PARENT on old kernels
on old kernels the ioctl NS_GET_PARENT is not available. Handle the error code and immediately return the same fd. It should be fine now that we use the namespace resolution using the conmon pid, so the namespace parent resolution is just a safety measure. Closes: containers#2968 Signed-off-by: Giuseppe Scrivano <[email protected]>
- Loading branch information