IDMapMount clones the mount at source to target, applying GID/UID idmapping of the user namespace for target path
(source, target string, usernsFd int)
| 79 | |
| 80 | // IDMapMount clones the mount at source to target, applying GID/UID idmapping of the user namespace for target path |
| 81 | func IDMapMount(source, target string, usernsFd int) (err error) { |
| 82 | return IDMapMountWithAttrs(source, target, usernsFd, 0, 0) |
| 83 | } |
| 84 | |
| 85 | // IDMapMountWithAttrs clones the mount at source to target with the provided mount options and idmapping of the user namespace. |
| 86 | func IDMapMountWithAttrs(source, target string, usernsFd int, attrSet uint64, attrClr uint64) (err error) { |
searching dependent graphs…