[PATCH] manual: Mark setlogmask as AS-unsafe and AC-unsafe.

Carlos O'Donell carlos@redhat.com
Thu Feb 20 15:43:30 GMT 2025


This fixes the check-safety.sh failure with commit
ad9c4c536115ba38be3e63592a632709ec8209b4, and correctly marks
the function AS-unsafe and AC-unsafe due to the use of the
non-recursive lock.

Tested on x86_64 without regressions.
---
 manual/syslog.texi | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/manual/syslog.texi b/manual/syslog.texi
index 90a6487c02..9875793b49 100644
--- a/manual/syslog.texi
+++ b/manual/syslog.texi
@@ -498,7 +498,7 @@ The symbols referred to in this section are declared in the file
 
 @deftypefun int setlogmask (int @var{mask})
 @standards{BSD, syslog.h}
-@safety{@prelim{}@mtsafe{}@asunsafe{}@acsafe{}}
+@safety{@prelim{}@mtsafe{}@asunsafe{@asulock{}}@acunsafe{@aculock{}}}
 
 @code{setlogmask} sets a mask (the ``logmask'') that determines which
 future @code{syslog} calls shall be ignored.  If a program has not
-- 
2.48.1



More information about the Libc-alpha mailing list