mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-28 07:41:05 +00:00
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.
This commit is contained in:
parent
7729e0e91a
commit
8195921486
@ -1,3 +1,8 @@
|
||||
2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
|
||||
|
||||
* manual/sysinfo.texi (addmntent): It is actually MT-Safe,
|
||||
because the potential race is on the user-supplied stream.
|
||||
|
||||
2014-11-21 Alexandre Oliva <aoliva@redhat.com>
|
||||
|
||||
* sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user