summaryrefslogtreecommitdiff
path: root/src/sim/process.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/process.hh')
-rw-r--r--src/sim/process.hh10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/sim/process.hh b/src/sim/process.hh
index 763deb100..d64cc3cf1 100644
--- a/src/sim/process.hh
+++ b/src/sim/process.hh
@@ -75,6 +75,16 @@ class Process : public SimObject
// number of CPUs (esxec contexts, really) assigned to this process.
unsigned int numCpus() { return threadContexts.size(); }
+ // Id of the owner of the process
+ uint64_t uid;
+ uint64_t euid;
+ uint64_t gid;
+ uint64_t egid;
+
+ // pid of the process and it's parent
+ uint64_t pid;
+ uint64_t ppid;
+
// record of blocked context
struct WaitRec
{