mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
Kernel: Expose process executable paths in /proc/all
This commit is contained in:
@@ -64,6 +64,7 @@ HashMap<pid_t, Core::ProcessStatistics> ProcessStatisticsReader::get_all()
|
||||
process.ppid = process_object.get("ppid").to_u32();
|
||||
process.nfds = process_object.get("nfds").to_u32();
|
||||
process.name = process_object.get("name").to_string();
|
||||
process.executable = process_object.get("executable").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();
|
||||
|
||||
@@ -66,6 +66,7 @@ struct ProcessStatistics {
|
||||
pid_t ppid;
|
||||
unsigned nfds;
|
||||
String name;
|
||||
String executable;
|
||||
String tty;
|
||||
String pledge;
|
||||
String veil;
|
||||
|
||||
Reference in New Issue
Block a user