From: Gabe Black Date: Sun, 3 Sep 2006 06:08:24 +0000 (-0400) Subject: Make the auxiliary vectors use the uid, euid, gid and egid parameters from the live... X-Git-Tag: m5_2.0_beta2~117^2~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=16f9b901be27a42b9d739be2a4729e5c2934aca6;p=gem5.git Make the auxiliary vectors use the uid, euid, gid and egid parameters from the live process --HG-- extra : convert_revision : 945b5883a15a6df35709edea2731f54a2448e418 --- 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)); }