avoid exposing the command-line arguments

svn: r7484

original commit: ac9e9b4f023c71e3421e5d880483b4386aa3a809
This commit is contained in:
Eli Barzilay 2007-10-11 02:00:24 +00:00
parent 69b998cb2b
commit 34a8c4f248

View File

@ -536,6 +536,8 @@
(current-library-collection-paths))
require-perms
(sandbox-path-permissions))]
;; general info
[current-command-line-arguments '#()]
;; restrict the sandbox context from this point
[current-security-guard (sandbox-security-guard)]
[exit-handler (lambda x (error 'exit "user code cannot exit"))]