mirror of
https://github.com/python/cpython.git
synced 2025-10-28 17:13:08 +00:00
#7647: add ST_RDONLY, ST_NOSUID constants to os module.
(Also fix a name ordering in the ACKS file.)
This commit is contained in:
parent
0fc86b86ed
commit
4ea04a306f
5 changed files with 25 additions and 1 deletions
|
|
@ -1342,6 +1342,14 @@ Files and Directories
|
|||
:attr:`f_bavail`, :attr:`f_files`, :attr:`f_ffree`, :attr:`f_favail`,
|
||||
:attr:`f_flag`, :attr:`f_namemax`.
|
||||
|
||||
Two module-level constants are defined for the :attr:`f_flag` attribute's
|
||||
bit-flags: if :const:`ST_RDONLY` is set, the filesystem is mounted
|
||||
read-only, and if :const:`ST_NOSUID` is set, the semantics of
|
||||
setuid/setgid bits are disabled or not supported.
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
The :const:`ST_RDONLY` and :const:`ST_NOSUID` constants were added.
|
||||
|
||||
Availability: Unix.
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue