moby/pkg/idtools
Akhil Mohan 7ad0da7051
remove group name from identity mapping
NewIdentityMapping took group name as an argument, and used
the group name also to parse the /etc/sub{uid,gui}. But as per
linux man pages, the sub{uid,gid} file maps username or uid,
not a group name.

Therefore, all occurrences where mapping is used need to
consider only username and uid. Code trying to map using gid
and group name in the daemon is also removed.

Signed-off-by: Akhil Mohan <akhil.mohan@mayadata.io>
2020-06-03 20:04:42 +05:30
..
idtools.go remove group name from identity mapping 2020-06-03 20:04:42 +05:30
idtools_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
idtools_unix.go remove group name from identity mapping 2020-06-03 20:04:42 +05:30
idtools_unix_test.go remove group name from identity mapping 2020-06-03 20:04:42 +05:30
idtools_windows.go Allow system.MkDirAll() to be used as drop-in for os.MkDirAll() 2019-08-08 15:05:49 +02:00
usergroupadd_linux.go Add canonical import comment 2018-02-05 16:51:57 -05:00
usergroupadd_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
utils_unix.go pkg/idtools: normalize comment formatting 2019-11-27 15:40:23 +01:00