diff options
author | Ma Shimiao <mashimiao.fnst@cn.fujitsu.com> | 2014-11-21 02:45:02 -0200 |
---|---|---|
committer | Alexandre Oliva <aoliva@redhat.com> | 2014-11-21 02:45:02 -0200 |
commit | 81959214868c9ac9e425fbf0fa3fd9135e207f7e (patch) | |
tree | 6f99f164ada47f80e7325ae3f6388eeec1fc5958 /manual | |
parent | 7729e0e91afbf8d45bb322d7e2d53f417fab01ed (diff) | |
download | glibc-81959214868c9ac9e425fbf0fa3fd9135e207f7e.tar glibc-81959214868c9ac9e425fbf0fa3fd9135e207f7e.tar.gz glibc-81959214868c9ac9e425fbf0fa3fd9135e207f7e.tar.bz2 glibc-81959214868c9ac9e425fbf0fa3fd9135e207f7e.zip |
manual: fix addmntent's MT-Safety race annotation
for ChangeLog
* manual/sysinfo.texi (addmntent): It is actually MT-Safe,
because the potential race is on the user-supplied stream.
Diffstat (limited to 'manual')
-rw-r--r-- | manual/sysinfo.texi | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/manual/sysinfo.texi b/manual/sysinfo.texi index 1c9f51b1b5..e6c44d6366 100644 --- a/manual/sysinfo.texi +++ b/manual/sysinfo.texi @@ -790,7 +790,7 @@ end of file reached, @comment mntent.h @comment BSD @deftypefun int addmntent (FILE *@var{stream}, const struct mntent *@var{mnt}) -@safety{@prelim{}@mtunsafe{@mtasurace{:stream} @mtslocale{}}@asunsafe{@asucorrupt{}}@acunsafe{@acucorrupt{}}} +@safety{@prelim{}@mtsafe{@mtsrace{:stream} @mtslocale{}}@asunsafe{@asucorrupt{}}@acunsafe{@acucorrupt{}}} @c addmntent @mtasurace:stream @mtslocale @asucorrupt @acucorrupt @c fseek dup @asucorrupt @acucorrupt [no @aculock] @c encode_name ok |