DescriptionMove a couple of utility functions to a new namespace_utils class.
The implementations are minorly different - uses /proc/self/ns/* files
to detect namespaces support, and always make sure to write uid_map in a
single write.
BUG=312380
Committed: https://crrev.com/41fb1457a6a221b5417608154bbdc7d433520f0d
Cr-Commit-Position: refs/heads/master@{#313221}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Add DISALLOW_IMPLICIT_CONSTRUCTORS. #
Total comments: 6
Patch Set 3 : Rename to SupportsUnprivilegedNamespace, which always checks for user namespace support #
Total comments: 14
Patch Set 4 : Respond to comments #
Total comments: 20
Patch Set 5 : Respond to comments, fix broken test #
Messages
Total messages: 17 (4 generated)
|