diff --git a/third_party/python/Lib/os.py b/third_party/python/Lib/os.py index df52811da..22a6fac63 100644 --- a/third_party/python/Lib/os.py +++ b/third_party/python/Lib/os.py @@ -1180,6 +1180,7 @@ if __name__ == 'PYOBJ.COM': get_terminal_size = 0 getcwd = 0 getcwdb = 0 + geteuid = 0 getgrouplist = 0 getgroups = 0 getlogin = 0 diff --git a/third_party/python/pyconfig.h b/third_party/python/pyconfig.h index d6e461051..815e61dfa 100644 --- a/third_party/python/pyconfig.h +++ b/third_party/python/pyconfig.h @@ -100,6 +100,7 @@ #define HAVE_DECL_RTLD_NOW 1 #define HAVE_GETSID 1 +#define HAVE_GETEUID 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_GETUID 1 #define HAVE_GETNAMEINFO 1