]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
manual: Mark setlogmask as AS-unsafe and AC-unsafe.
authorCarlos O'Donell <carlos@redhat.com>
Thu, 20 Feb 2025 01:52:14 +0000 (20:52 -0500)
committerCarlos O'Donell <carlos@redhat.com>
Thu, 20 Feb 2025 16:55:21 +0000 (11:55 -0500)
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 <fberat@redhat.com>
manual/syslog.texi

index 90a6487c027b91bc8e191c740f445aa3d7ea280d..9875793b499da75ca3ff151b09e81fd9e9946e1e 100644 (file)
@@ -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