This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: [Patch] Don't use st_uid and st_gid on CloudABI
Type: Stage:
Components: Extension Modules Versions: Python 3.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: EdSchouten
Priority: normal Keywords:

Created on 2016-09-10 07:30 by EdSchouten, last changed 2022-04-11 14:58 by admin.

Files
File name Uploaded Description Edit
patch-st_uid-st_gid EdSchouten, 2016-09-10 07:30 Patch to disable the use of st_uid and st_gid review
Messages (1)
msg275591 - (view) Author: Ed Schouten (EdSchouten) * Date: 2016-09-10 07:30
CloudABI is a UNIX-like runtime environment that uses a capability-based security model. As there is no support for traditional UNIX credentials (uid_t, gid_t), its struct stat doesn't provide st_uid and st_gid.

Python can already deal with the absence of these fields, as it also needs to treat Windows similarly. Attached is a patch that simply adds CloudABI to the relevant '#if' in posixmodule.c.
History
Date User Action Args
2022-04-11 14:58:36adminsetgithub: 72245
2016-09-10 07:30:59EdSchoutencreate