Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
config: add idmap and ridmap mount options
Adding new fields for MOUNT_ATTR_IDMAP had the flaw that users specifying these fields with older runtimes would result in the fields being ignored and incorrect mounts being configured. In addition, there is no text in the specification indicating whether MOUNT_ATTR_IDMAP should be applied with AT_RECURSIVE (which matters for rbind idmapped mounts). In retrospect, the addition of the fields should've included new (dummy) mount options that would cause errors on older runtimes. Unfortunately, we have had a runtime-spec release since then so we cannot MUST these new mount options, but we can SHOULD them. Fixes: 9d1130d ("IDMapping field for mount point") Signed-off-by: Aleksa Sarai <[email protected]>
- Loading branch information