mirror of
https://github.com/RGBCube/serenity
synced 2025-05-15 07:44:58 +00:00
SystemMonitor: Show process unveil() state as "Veil"
A process has one of three veil states: - None: unveil() has never been called. - Dropped: unveil() has been called, and can be called again. - Locked: unveil() has been called, and cannot be called again.
This commit is contained in:
parent
edf509c19e
commit
66598f60fe
5 changed files with 25 additions and 1 deletions
|
@ -62,6 +62,7 @@ HashMap<pid_t, CProcessStatistics> CProcessStatisticsReader::get_all()
|
|||
process.name = process_object.get("name").to_string();
|
||||
process.tty = process_object.get("tty").to_string();
|
||||
process.pledge = process_object.get("pledge").to_string();
|
||||
process.veil = process_object.get("veil").to_string();
|
||||
process.amount_virtual = process_object.get("amount_virtual").to_u32();
|
||||
process.amount_resident = process_object.get("amount_resident").to_u32();
|
||||
process.amount_shared = process_object.get("amount_shared").to_u32();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue