From 16f9b901be27a42b9d739be2a4729e5c2934aca6 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sun, 3 Sep 2006 02:08:24 -0400 Subject: Make the auxiliary vectors use the uid, euid, gid and egid parameters from the live process --HG-- extra : convert_revision : 945b5883a15a6df35709edea2731f54a2448e418 --- src/arch/sparc/process.cc | 8 ++++---- 1 file 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)); } -- cgit v1.2.3