summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-09-03 02:08:24 -0400
committerGabe Black <gblack@eecs.umich.edu>2006-09-03 02:08:24 -0400
commit16f9b901be27a42b9d739be2a4729e5c2934aca6 (patch)
tree1752e978e07ea92611dc2dfd73d9795b16d55f1d /src
parent387bbe40d17dc99f4aeca494dfe7acc68ead8ec6 (diff)
downloadgem5-16f9b901be27a42b9d739be2a4729e5c2934aca6.tar.xz
Make the auxiliary vectors use the uid, euid, gid and egid parameters from the live process
--HG-- extra : convert_revision : 945b5883a15a6df35709edea2731f54a2448e418
Diffstat (limited to 'src')
-rw-r--r--src/arch/sparc/process.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/sparc/process.cc b/src/arch/sparc/process.cc
index 31989cfe2..a3bb0eb1a 100644
--- a/src/arch/sparc/process.cc
+++ b/src/arch/sparc/process.cc
@@ -190,10 +190,10 @@ SparcLiveProcess::argsInit(int intSize, int pageSize)
//The entry point to the program
auxv.push_back(buildAuxVect(SPARC_AT_ENTRY, objFile->entryPoint()));
//Different user and group IDs
- auxv.push_back(buildAuxVect(SPARC_AT_UID, 100));
- auxv.push_back(buildAuxVect(SPARC_AT_EUID, 100));
- auxv.push_back(buildAuxVect(SPARC_AT_GID, 100));
- auxv.push_back(buildAuxVect(SPARC_AT_EGID, 100));
+ auxv.push_back(buildAuxVect(SPARC_AT_UID, uid));
+ auxv.push_back(buildAuxVect(SPARC_AT_EUID, euid));
+ auxv.push_back(buildAuxVect(SPARC_AT_GID, gid));
+ auxv.push_back(buildAuxVect(SPARC_AT_EGID, egid));
//Whether to enable "secure mode" in the executable
auxv.push_back(buildAuxVect(SPARC_AT_SECURE, 0));
}