mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 09:21:57 -05:00
1dfc9e2df3
Immutable mounts are mounts that can't be changed in any aspect, if the VFSRootContext that hold them is used by a process. This includes two operations on a mount: 1. Trying to remove the mount from the mount table. 2. Trying to change the flags of the mount. The condition of a VFSRootContext being held by a process or not is crucial, as the intention is to allow removal of mounts that marked as immutable if the VFSRootContext is not being used anymore (for example, if the container that was created with such context stopped). Marking mounts as immutable on the first VFS root context essentially ensures they will never be modified because there will be a process using that context (which is the "main" VFS root context in the system runtime). It should be noted that setting a mount as immutable can be done in creation time of the mount by passing the MS_IMMUTABLE flag, or by doing a remount with MS_IMMUTABLE flag. |
||
---|---|---|
.. | ||
FileSystem | ||
POSIX | ||
archctl_numbers.h | ||
BeepInstruction.h | ||
DeviceEvent.h | ||
DeviceFileTypes.h | ||
InodeWatcherEvent.h | ||
InodeWatcherFlags.h | ||
Ioctl.h | ||
kcov.h | ||
KeyCode.h | ||
MajorNumberAllocation.h | ||
MemoryLayout.h | ||
MousePacket.h | ||
prctl_numbers.h | ||
serenity_limits.h | ||
Syscall.h | ||
SyscallString.h | ||
TimePage.h | ||
ttydefaults.h | ||
ttydefaultschars.h | ||
Unshare.h | ||
Unveil.h | ||
VirGL.h | ||
VirtualMemoryAnnotations.h |