Issue28501
Created on 2016年10月22日 05:31 by EdSchouten, last changed 2022年04月11日 14:58 by admin.
| Files |
| File name |
Uploaded |
Description |
Edit |
|
umask-optional.diff
|
EdSchouten,
2016年10月22日 05:31
|
Patch for making the presence of os.umask() optional |
review
|
| Messages (1) |
|
msg279182 - (view) |
Author: Ed Schouten (EdSchouten) * |
Date: 2016年10月22日 05:31 |
CloudABI is a POSIX-like strongly sandboxed runtime environment, for which we got Python to work (https://mail.python.org/pipermail/python-dev/2016-July/145708.html). Patches for this are slowly being upstreamed.
As CloudABI uses a capability-based security model as opposed to a discretionary access control system, there is no support for UNIX credentials and permissions. This means that umask() is also absent.
It looks like umask() is only used by Python in its posixmodule. The attached patch adds a new Autoconf check and adds the proper #if logic around its implementation.
Changes to the Autoconf/Automake files are not provided by this patch, as my versions of these tools generate files containing unnecessary changes.
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2022年04月11日 14:58:38 | admin | set | github: 72687 |
| 2016年10月22日 05:31:45 | EdSchouten | create |