summaryrefslogtreecommitdiffstats
path: root/netbsd/NetBSDProcess.c
diff options
context:
space:
mode:
authorfraggerfox <santhosh.raju@gmail.com>2021-06-12 17:07:58 +0530
committerBenBE <BenBE@geshi.org>2021-06-26 12:18:37 +0200
commit336acb03095ffa4056a2828373bd282b9dff9129 (patch)
treed6941216d519cd2aa5deb9e3f10e6fbb274a7e08 /netbsd/NetBSDProcess.c
parent612462e33d89fe6901969a9b698438c735678c4c (diff)
Adds support for PROC_EXE and CWD.
Diffstat (limited to 'netbsd/NetBSDProcess.c')
-rw-r--r--netbsd/NetBSDProcess.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/netbsd/NetBSDProcess.c b/netbsd/NetBSDProcess.c
index be87e3d7..2573d061 100644
--- a/netbsd/NetBSDProcess.c
+++ b/netbsd/NetBSDProcess.c
@@ -195,6 +195,19 @@ const ProcessFieldData Process_fields[LAST_PROCESSFIELD] = {
.description = "comm string of the process",
.flags = 0,
},
+ [PROC_EXE] = {
+ .name = "EXE",
+ .title = "EXE ",
+ .description = "Basename of exe of the process",
+ .flags = 0,
+ },
+ [CWD] = {
+ .name = "CWD",
+ .title = "CWD ",
+ .description = "The current working directory of the process",
+ .flags = PROCESS_FLAG_CWD,
+ },
+
};
Process* NetBSDProcess_new(const Settings* settings) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy