diff mbox

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

Message ID 534465EB.5020204@redhat.com
State Committed
Headers show

Commit Message

Carlos O'Donell April 8, 2014, 9:11 p.m. UTC
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.

---

Cheers,
Carlos.
diff mbox

Patch

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