This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[COMMITTED] Fix manual/ipc.texi safety notes.
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: GNU C Library <libc-alpha at sourceware dot org>
- Cc: Patsy Franklin <pfrankli at redhat dot com>
- Date: Tue, 08 Apr 2014 17:11:07 -0400
- Subject: [COMMITTED] Fix manual/ipc.texi safety notes.
- Authentication-results: sourceware.org; auth=none
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.