mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-11-02 07: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)
|
if (mmuflags & ARCH_MMU_FLAGS_READ)
|
||||||
flags |= V_FFLAGS_READ;
|
flags |= V_FFLAGS_READ;
|
||||||
if (mmuflags & ARCH_MMU_FLAGS_WRITE)
|
if (mmuflags & ARCH_MMU_FLAGS_WRITE)
|
||||||
flags |= V_FFLAGS_READ;
|
flags |= V_FFLAGS_WRITE;
|
||||||
if ((mmuflags & ARCH_MMU_FLAGS_NOEXEC) == 0)
|
if ((mmuflags & ARCH_MMU_FLAGS_NOEXEC) == 0)
|
||||||
flags |= V_FFLAGS_EXEC;
|
flags |= V_FFLAGS_EXEC;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user