rust-osdev / rust-osdev/x86_64

`update_flags` does not add flags to parent page tables

Open
#534 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
940
Forks
157
Avg merge
1d 10h
Merged PRs (30d)
3

Description

Steps to reproduce:

  • Create a mapping without USER_ACCESSIBLE
  • Update the flags to include USER_ACCESSIBLE

Expected:
The page can be accessed by user mode.

Actual:
The page can't be accessed by user mode because even though the L1 entry has USER_ACCESSIBLE, the L2, L3, L4 entries may not be user accessible.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Rust implementation of update_flags and reproduce the mapping scenario described in the issue. Trace how flags are handled across the L1, L2, L3, and L4 entries. Done means adding USER_ACCESSIBLE through update_flags makes the page accessible from user mode at every required level.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.