-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tree-wide: use container_uses_namespace() in less trivial cases
In our current codebase we have a logical pattern: list_empty(&handler->conf->id_map) *IF AND ONLY IF* container does NOT use user namespace Which is perfectly correct nowadays, but once we (hopefully) get an "isolated user namespaces" stuff ready it won't be the case. It will be perfectly fine to have a user namespace with empty /proc/*/{u,g}id_map files. Nowadays it's also possible, but this kind of a configuration close to useless and nobody actually uses it. No functional changes intended. Signed-off-by: Alexander Mikhalitsyn <[email protected]>
- Loading branch information
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters