Allow restricted code to get byteorder, getdefaultencoding(),
getrefcount(), maxunicode, and version_info.
diff --git a/Lib/rexec.py b/Lib/rexec.py
index fdead81..d399545 100644
--- a/Lib/rexec.py
+++ b/Lib/rexec.py
@@ -143,8 +143,9 @@
'stat', 'times', 'uname', 'getpid', 'getppid',
'getcwd', 'getuid', 'getgid', 'geteuid', 'getegid')
- ok_sys_names = ('copyright', 'exit', 'hexversion', 'maxint', 'platform',
- 'ps1', 'ps2', 'version')
+ ok_sys_names = ('byteorder', 'copyright', 'exit', 'getdefaultencoding',
+ 'getrefcount', 'hexversion', 'maxint', 'maxunicode',
+ 'platform', 'ps1', 'ps2', 'version', 'version_info')
nok_builtin_names = ('open', 'file', 'reload', '__import__')