1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-16 10:24:59 +00:00

Kernel: Expose region executable bit in /proc/PID/vm

Also show it in SystemMonitor's process memory map table (as 'X') :^)
This commit is contained in:
Andreas Kling 2019-12-21 16:26:42 +01:00
parent ae2d72377d
commit c5c1cc817e
2 changed files with 3 additions and 0 deletions

View file

@ -26,6 +26,8 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget(GWidget* parent)
builder.append('R');
if (object.get("writable").to_bool())
builder.append('W');
if (object.get("executable").to_bool())
builder.append('X');
if (object.get("shared").to_bool())
builder.append('S');
if (object.get("stack").to_bool())