]> git.ipfire.org Git - thirdparty/glibc.git/commit
Linux: Convert '__close_nocancel_nostatus' to a standalone handler
authorMaciej W. Rozycki <macro@redhat.com>
Tue, 24 Jun 2025 20:17:25 +0000 (21:17 +0100)
committerMaciej W. Rozycki <macro@redhat.com>
Tue, 24 Jun 2025 20:17:25 +0000 (21:17 +0100)
commit36bcbc6b5bb81eab436c7ed82348a25c4a34fa73
treebcbc718814c1102eced7ff6557171efdbf277db2
parent3b0d495ac406f14131d299e933b49bfdd02bf626
Linux: Convert '__close_nocancel_nostatus' to a standalone handler

Make '__close_nocancel_nostatus' standalone.  This is a generic version
analogous to '__close_nocancel'.  Platforms may choose to implement an
inline variant instead where the syscall invocation code sequence is
short enough to be beneficial over a function call.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
sysdeps/unix/sysv/linux/Makefile
sysdeps/unix/sysv/linux/Versions
sysdeps/unix/sysv/linux/close_nocancel_nostatus.c [new file with mode: 0644]
sysdeps/unix/sysv/linux/not-cancel.h