summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/exec.c
diff options
context:
space:
mode:
authorsl108498 <none@none>2006-09-19 15:49:28 -0700
committersl108498 <none@none>2006-09-19 15:49:28 -0700
commitc6939658adb0a356a77bc28f7df252ceb4a8f6cc (patch)
tree2e24cb01bd59e15cda6ad68fa5d778b4cf571fa7 /usr/src/uts/common/os/exec.c
parent69889278ff50c08a6682a39ce6b5d97c5f0c2387 (diff)
downloadillumos-joyent-c6939658adb0a356a77bc28f7df252ceb4a8f6cc.tar.gz
PSARC/2004/580 zone/project.max-locked-memory Resource Controls
PSARC/2006/463 Amendment_to_zone_project.max-locked-memory_Resource_Controls 5053609 RFE: need zone.max-locked-memory rctl 4691104 Need mlock capability without requiring superuser privileges
Diffstat (limited to 'usr/src/uts/common/os/exec.c')
-rw-r--r--usr/src/uts/common/os/exec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/src/uts/common/os/exec.c b/usr/src/uts/common/os/exec.c
index 3b01993465..657d87300f 100644
--- a/usr/src/uts/common/os/exec.c
+++ b/usr/src/uts/common/os/exec.c
@@ -1816,6 +1816,7 @@ exec_args(execa_t *uap, uarg_t *args, intpdata_t *intp, void **auxvpp)
as = as_alloc();
p->p_as = as;
+ as->a_proc = p;
if (p->p_model == DATAMODEL_ILP32)
as->a_userlimit = (caddr_t)USERLIMIT32;
(void) hat_setup(as->a_hat, HAT_ALLOC);