[New-bugs-announce] [issue28058] [Patch] Don't use st_uid and st_gid on CloudABI

Ed Schouten report at bugs.python.org
Sat Sep 10 03:30:59 EDT 2016


New submission from Ed Schouten:

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.

----------
components: Extension Modules
files: patch-st_uid-st_gid
messages: 275591
nosy: EdSchouten
priority: normal
severity: normal
status: open
title: [Patch] Don't use st_uid and st_gid on CloudABI
versions: Python 3.7
Added file: http://bugs.python.org/file44525/patch-st_uid-st_gid

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28058>
_______________________________________


More information about the New-bugs-announce mailing list