From 0db324e2e5d9d3347ea0e93138372fb65aac09e6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 15 Apr 2024 21:41:09 +0200 Subject: Merging upstream version 6.7. Signed-off-by: Daniel Baumann --- man2/pidfd_send_signal.2 | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'man2/pidfd_send_signal.2') diff --git a/man2/pidfd_send_signal.2 b/man2/pidfd_send_signal.2 index 670ea71..ae884b8 100644 --- a/man2/pidfd_send_signal.2 +++ b/man2/pidfd_send_signal.2 @@ -2,7 +2,7 @@ .\" .\" SPDX-License-Identifier: Linux-man-pages-copyleft .\" -.TH pidfd_send_signal 2 2023-05-03 "Linux man-pages 6.05.01" +.TH pidfd_send_signal 2 2023-11-01 "Linux man-pages 6.7" .SH NAME pidfd_send_signal \- send a signal to a process specified by a file descriptor .SH LIBRARY @@ -14,11 +14,11 @@ Standard C library .BR "#include " " /* Definition of " SI_* " constants */" .BR "#include " " /* Definition of " SYS_* " constants */" .B #include -.PP +.P .BI "int syscall(SYS_pidfd_send_signal, int " pidfd ", int " sig , .BI " siginfo_t *_Nullable " info ", unsigned int " flags ); .fi -.PP +.P .IR Note : glibc provides no wrapper for .BR pidfd_send_signal (), @@ -34,23 +34,23 @@ to the target process referred to by a PID file descriptor that refers to a process. .\" See the very detailed commit message for kernel commit .\" 3eb39f47934f9d5a3027fe00d906a45fe3a15fad -.PP +.P If the .I info argument points to a .I siginfo_t buffer, that buffer should be populated as described in .BR rt_sigqueueinfo (2). -.PP +.P If the .I info -argument is a NULL pointer, +argument is a null pointer, this is equivalent to specifying a pointer to a .I siginfo_t buffer whose fields match the values that are implicitly supplied when a signal is sent using .BR kill (2): -.PP +.P .PD 0 .IP \[bu] 3 .I si_signo @@ -69,12 +69,12 @@ is set to the caller's PID; and .I si_uid is set to the caller's real user ID. .PD -.PP +.P The calling process must either be in the same PID namespace as the process referred to by .IR pidfd , or be in an ancestor of that namespace. -.PP +.P The .I flags argument is reserved for future use; @@ -145,7 +145,7 @@ or that specifies the .B CLONE_PIDFD flag. -.PP +.P The .BR pidfd_send_signal () system call allows the avoidance of race conditions that occur -- cgit v1.2.3