From 96dabdc9b0fbffbdf6fb7099f21924f4702d6f91 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 3 Sep 2006 02:04:25 -0400 Subject: Added uid, euid, gid, egid, pid and ppid parameters to a live process. --HG-- extra : convert_revision : 2101be8000bcdaf683730cfc079b4b78e34365d0 --- src/sim/process.hh | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/sim/process.hh') 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 { -- cgit v1.2.3