summaryrefslogtreecommitdiff
path: root/src/python/m5
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-09-03 02:04:25 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-09-03 02:04:25 -0400
commit96dabdc9b0fbffbdf6fb7099f21924f4702d6f91 (patch)
tree1b39602f62d8ea769a46370969f05f1657190324 /src/python/m5
parent14cc9baba59a7f93187933efd15f9cd1b94c25ed (diff)
downloadgem5-96dabdc9b0fbffbdf6fb7099f21924f4702d6f91.tar.xz
Added uid, euid, gid, egid, pid and ppid parameters to a live process.
--HG-- extra : convert_revision : 2101be8000bcdaf683730cfc079b4b78e34365d0
Diffstat (limited to 'src/python/m5')
-rw-r--r--src/python/m5/objects/Process.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/python/m5/objects/Process.py b/src/python/m5/objects/Process.py
index 0091d8654..0b44aac8b 100644
--- a/src/python/m5/objects/Process.py
+++ b/src/python/m5/objects/Process.py
@@ -11,6 +11,12 @@ class LiveProcess(Process):
cmd = VectorParam.String("command line (executable plus arguments)")
env = VectorParam.String('', "environment settings")
input = Param.String('cin', "filename for stdin")
+ uid = Param.Int(100, 'user id')
+ euid = Param.Int(100, 'effective user id')
+ gid = Param.Int(100, 'group id')
+ egid = Param.Int(100, 'effective group id')
+ pid = Param.Int(100, 'process id')
+ ppid = Param.Int(99, 'parent process id')
class AlphaLiveProcess(LiveProcess):
type = 'AlphaLiveProcess'