From 3ed39b3d90dbbf014000b146a7fbc2ab5c47f422 Mon Sep 17 00:00:00 2001 From: adash Date: Fri, 5 Feb 2010 02:55:58 +0000 Subject: [PATCH] enable dsm sandboxing --- Robust/src/buildscript | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Robust/src/buildscript b/Robust/src/buildscript index 7c730492..931382bd 100755 --- a/Robust/src/buildscript +++ b/Robust/src/buildscript @@ -773,6 +773,7 @@ EXTRAOPTIONS="$EXTRAOPTIONS -lpthread -DCOMPILER -DDSTM -I$DSMRUNTIME" FILES="$FILES $DSMRUNTIME/trans.c $DSMRUNTIME/mcpileq.c $DSMRUNTIME/objstr.c $DSMRUNTIME/dstm.c $DSMRUNTIME/clookup.c $DSMRUNTIME/llookup.c $DSMRUNTIME/threadnotify.c $DSMRUNTIME/dstmserver.c $DSMRUNTIME/plookup.c $DSMRUNTIME/ip.c $DSMRUNTIME/queue.c $DSMRUNTIME/altprelookup.c $DSMRUNTIME/machinepile.c $ROBUSTROOT/Runtime/localobjects.c $ROBUSTROOT/Runtime/thread.c $DSMRUNTIME/sockpool.c $DSMRUNTIME/addUdpEnhance.c $DSMRUNTIME/signal.c $DSMRUNTIME/gCollect.c $DSMRUNTIME/addPrefetchEnhance.c $DSMRUNTIME/dsmlock.c $DSMRUNTIME/prefetch.c $DSMRUNTIME/altmlookup.c" fi fi + if $STM then EXTRAOPTIONS="$EXTRAOPTIONS -lpthread -DCOMPILER -I$STMRUNTIME" @@ -781,8 +782,13 @@ fi if $SANDBOX then +if $DSMFLAG +then +FILES="$FILES $DSMRUNTIME/sandbox.c" +else FILES="$FILES $STMRUNTIME/sandbox.c" fi +fi if $ABORTREADERS then -- 2.34.1