mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-28 21:28:21 +00:00
vmm: fix mmuflagstovnodeflags
This commit is contained in:
@@ -85,7 +85,7 @@ static inline int mmuflagstovnodeflags(mmuflags_t mmuflags) {
|
||||
if (mmuflags & ARCH_MMU_FLAGS_READ)
|
||||
flags |= V_FFLAGS_READ;
|
||||
if (mmuflags & ARCH_MMU_FLAGS_WRITE)
|
||||
flags |= V_FFLAGS_READ;
|
||||
flags |= V_FFLAGS_WRITE;
|
||||
if ((mmuflags & ARCH_MMU_FLAGS_NOEXEC) == 0)
|
||||
flags |= V_FFLAGS_EXEC;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user