mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-23 13:52:28 +00:00
add os.geteuid to python (#806)
This commit is contained in:
parent
4a6be2154d
commit
1a839ba41d
2 changed files with 2 additions and 0 deletions
1
third_party/python/Lib/os.py
vendored
1
third_party/python/Lib/os.py
vendored
|
@ -1180,6 +1180,7 @@ if __name__ == 'PYOBJ.COM':
|
||||||
get_terminal_size = 0
|
get_terminal_size = 0
|
||||||
getcwd = 0
|
getcwd = 0
|
||||||
getcwdb = 0
|
getcwdb = 0
|
||||||
|
geteuid = 0
|
||||||
getgrouplist = 0
|
getgrouplist = 0
|
||||||
getgroups = 0
|
getgroups = 0
|
||||||
getlogin = 0
|
getlogin = 0
|
||||||
|
|
1
third_party/python/pyconfig.h
vendored
1
third_party/python/pyconfig.h
vendored
|
@ -100,6 +100,7 @@
|
||||||
#define HAVE_DECL_RTLD_NOW 1
|
#define HAVE_DECL_RTLD_NOW 1
|
||||||
|
|
||||||
#define HAVE_GETSID 1
|
#define HAVE_GETSID 1
|
||||||
|
#define HAVE_GETEUID 1
|
||||||
#define HAVE_GETTIMEOFDAY 1
|
#define HAVE_GETTIMEOFDAY 1
|
||||||
#define HAVE_GETUID 1
|
#define HAVE_GETUID 1
|
||||||
#define HAVE_GETNAMEINFO 1
|
#define HAVE_GETNAMEINFO 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue