MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Sandboxing Mathematica on Unix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg120703] Sandboxing Mathematica on Unix
  • From: Yaroslav Bulatov <yaroslavvb at gmail.com>
  • Date: Thu, 4 Aug 2011 02:53:38 -0400 (EDT)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Reply-to: comp.soft-sys.math.mathematica at googlegroups.com

Has anyone been able to run Mathematica under ptrace sandbox?

I need this for corporate security reasons, and I'm able to get another system working with it, but not Mathematica.

Here's an example. It's supposed to generate opacity 0.5 plot, with all calls ptraced, but instead it freezes.
strace -f  myscript.m 0.5

-----myscript.m------
#!/usr/local/bin/MathematicaScript -script
where myscript.m is
var = First@ToExpression[Rest[$ScriptCommandLine]];
Print[var];
img=Plot3D[Im[ArcSin[(x + I y)^4]], {x, -2, 2}, {y, -2, 2}, Mesh -> None,PlotStyle -> Directive[Yellow, Specularity[White, 20], Opacity[var]],ExclusionsStyle -> {None, Red}];




  • Prev by Date: Re: Integrating Interpolating function
  • Next by Date: Re: In Version 8, Combinatorial&GraphTheory functions
  • Previous by thread: Re: Ctrl+Number Shortcuts doesn't work
  • Next by thread: Re: Windows possible memory leak