From: Ma Shimiao Date: Fri, 21 Nov 2014 04:45:02 +0000 (-0200) Subject: manual: fix addmntent's MT-Safety race annotation X-Git-Tag: glibc-2.21~365 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=81959214868c9ac9e425fbf0fa3fd9135e207f7e;p=platform%2Fupstream%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 96aafae..4c9c827 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-11-21 Ma Shimiao + + * manual/sysinfo.texi (addmntent): It is actually MT-Safe, + because the potential race is on the user-supplied stream. + 2014-11-21 Alexandre Oliva * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a diff --git a/manual/sysinfo.texi b/manual/sysinfo.texi index 1c9f51b..e6c44d6 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