[pypy-commit] pypy default: Fix for sandbox.

arigo noreply at buildbot.pypy.org
Fri Dec 16 06:18:09 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r50599:d9b372cf25b0
Date: 2011-12-16 06:17 +0100
http://bitbucket.org/pypy/pypy/changeset/d9b372cf25b0/

Log:	Fix for sandbox.

diff --git a/pypy/rlib/longlong2float.py b/pypy/rlib/longlong2float.py
--- a/pypy/rlib/longlong2float.py
+++ b/pypy/rlib/longlong2float.py
@@ -79,19 +79,19 @@
 longlong2float = rffi.llexternal(
     "pypy__longlong2float", [rffi.LONGLONG], rffi.DOUBLE,
     _callable=longlong2float_emulator, compilation_info=eci,
-    _nowrapper=True, elidable_function=True)
+    _nowrapper=True, elidable_function=True, sandboxsafe=True)
 
 float2longlong = rffi.llexternal(
     "pypy__float2longlong", [rffi.DOUBLE], rffi.LONGLONG,
     _callable=float2longlong_emulator, compilation_info=eci,
-    _nowrapper=True, elidable_function=True)
+    _nowrapper=True, elidable_function=True, sandboxsafe=True)
 
 uint2singlefloat = rffi.llexternal(
     "pypy__uint2singlefloat", [rffi.UINT], rffi.FLOAT,
     _callable=uint2singlefloat_emulator, compilation_info=eci,
-    _nowrapper=True, elidable_function=True)
+    _nowrapper=True, elidable_function=True, sandboxsafe=True)
 
 singlefloat2uint = rffi.llexternal(
     "pypy__singlefloat2uint", [rffi.FLOAT], rffi.UINT,
     _callable=singlefloat2uint_emulator, compilation_info=eci,
-    _nowrapper=True, elidable_function=True)
+    _nowrapper=True, elidable_function=True, sandboxsafe=True)


More information about the pypy-commit mailing list