This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[COMMITTED] Fix manual/ipc.texi safety notes.


Fix a check-safety.sh warning that had caught the use of asucorrupt{}
as the reason sem_close was AC-unsafe. That's not correct, the function
is AC-unsafe because of aculock{} from the call to lll_lock* (leaks locks).

Fixed thusly, and this fixes the check-safety.sh warning for the manual.

2014-04-08  Carlos O'Donell  <carlos@redhat.com>

	* manual/ipc.texi (sem_close): AC-unsafe because of aculock.

diff --git a/manual/ipc.texi b/manual/ipc.texi
index afedcbe..081b98f 100644
--- a/manual/ipc.texi
+++ b/manual/ipc.texi
@@ -68,9 +68,9 @@ by @theglibc{}.
 @end deftypefun
 
 @deftypefun int sem_close (sem_t *@var{sem});
-@safety{@prelim{}@mtsafe{}@asunsafe{@asulock{}}@acunsafe{@asucorrupt{}}}
+@safety{@prelim{}@mtsafe{}@asunsafe{@asulock{}}@acunsafe{@aculock{}}}
 @c lll_lock asulock aculock
-@c twalk asucorrupt
+@c twalk mtsrace{:root}
 @c
 @c We are AS-unsafe because we take a non-recursive lock.
 @c We are AC-unsafe because several internal data structures
---

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]