mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 10:48:11 +00:00
Kernel+LibCore: Note whether a process is kernel mode in /proc/all
This commit is contained in:
parent
0fd50f0283
commit
ee2a1f5af7
3 changed files with 3 additions and 0 deletions
|
@ -71,6 +71,7 @@ Optional<HashMap<pid_t, Core::ProcessStatistics>> ProcessStatisticsReader::get_a
|
|||
process.gid = process_object.get("gid").to_u32();
|
||||
process.ppid = process_object.get("ppid").to_u32();
|
||||
process.nfds = process_object.get("nfds").to_u32();
|
||||
process.kernel = process_object.get("kernel").to_bool();
|
||||
process.name = process_object.get("name").to_string();
|
||||
process.executable = process_object.get("executable").to_string();
|
||||
process.tty = process_object.get("tty").to_string();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue