summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2010-08-18 22:30:34 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2010-08-18 22:30:34 (GMT)
commit4ea04a306f6f43c9dc2f9c196b658abf021a8362 (patch)
tree92fceb1199e346339dca396ed312292d42cf07f8 /Doc/library
parent0fc86b86ed1381866f159f534125449d069c1785 (diff)
downloadcpython-4ea04a306f6f43c9dc2f9c196b658abf021a8362.zip
cpython-4ea04a306f6f43c9dc2f9c196b658abf021a8362.tar.gz
cpython-4ea04a306f6f43c9dc2f9c196b658abf021a8362.tar.bz2
#7647: add ST_RDONLY, ST_NOSUID constants to os module.
(Also fix a name ordering in the ACKS file.)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/os.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 3a7b599..9ab5fb1 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -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.