From 6d24313e4a4098f7c469e119784bfbbfdb1ec749 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Wed, 19 Feb 2025 20:52:14 -0500 Subject: [PATCH] manual: Mark setlogmask as AS-unsafe and AC-unsafe. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. Reviewed-by: Frédéric Bérat --- 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