Skip to content

Commit

Permalink
ptrace: fixup x86-64 mmu_page_is_user_writable
Browse files Browse the repository at this point in the history
Fixes #303
  • Loading branch information
klange committed Dec 30, 2024
1 parent a54a0cb commit e03e2ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion base/usr/include/kernel/arch/x86_64/pml.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ union PML {
};

#define mmu_page_is_user_readable(p) (p->bits.user)
#define mmu_page_is_user_writable(p) (p->bits.writable)
#define mmu_page_is_user_writable(p) (p->bits.user && p->bits.writable)

0 comments on commit e03e2ff

Please sign in to comment.