From 862c472efa28aedf22908f2735111ab4b9e62811 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Tue, 8 Apr 2014 17:12:15 -0400 Subject: [PATCH] manual/ipc.texi: Fix AC-safety notes. The function sem_close is AC-unsafe because lll_lock* leaks a lock (aculock) and not because of twalk. --- ChangeLog | 4 ++++ manual/ipc.texi | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6a5c678..ccfb7e6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2014-04-08 Carlos O'Donell + + * manual/ipc.texi (sem_close): AC-unsafe because of aculock. + 2014-04-07 Will Newton * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and 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 -- 2.7.4