report errors when attempting to reset a locked mount flag
Open
- Dominant language
- C
- Stars
- 4.1k
- Forks
- 444
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 43
Description
Implement the same change present in runc since version 1.12 (https://github.com/opencontainers/runc/pull/3967).
Currently, when users attempts to clear locked flags (such as using rw to clear the MS_RDONLY flag), crun silently ignores the request, resulting in mounts remaining read-only.
So make sure that each request is either honored or an error message is returned.
Contributor guide
Assessment
This issue has not been assessed yet.