Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #4183

Sandboxing Mathematica on Unix

From Yaroslav Bulatov <yaroslavvb@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Sandboxing Mathematica on Unix
Date 2011-08-04 06:55 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j1dfo4$m3b$1@smc.vnet.net> (permalink)

Show all headers | View raw


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}];

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Sandboxing Mathematica on Unix Yaroslav Bulatov <yaroslavvb@gmail.com> - 2011-08-04 06:55 +0000

csiph-web