Skip to content

Commit

Permalink
pidfd_send_signal.md(2): rm whitespace at EOL
Browse files Browse the repository at this point in the history
Signed-off-by: Kir Kolyshkin <[email protected]>
  • Loading branch information
kolyshkin committed Jul 8, 2024
1 parent a244feb commit 0a8e137
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions pidfd_send_signal.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ cause the signal to be sent to the specific thread referenced by the
The *flags* mask of **pidfd_send_signal**(2) system call allows the
caller to override the default signal scope indicated by *pidfd*.

**PIDFD_SIGNAL_THREAD** (since Linux v6.9)
**PIDFD_SIGNAL_THREAD** (since Linux v6.9)
Ensure that the signal is sent to the specific thread referenced by *pidfd*.

**PIDFD_SIGNAL_THREAD_GROUP** (since Linux v6.9)
**PIDFD_SIGNAL_THREAD_GROUP** (since Linux v6.9)
If *pidfd* refers to a thread-group leader ensure that the signal is
sent to the thread-group even if *pidfd* was created to refer to a
specific thread.

**PIDFD_SIGNAL_PROCESS_GROUP** (since Linux v6.9)
**PIDFD_SIGNAL_PROCESS_GROUP** (since Linux v6.9)
If *pidfd* refers to a process-group leader ensure that the signal is
sent to the process-group even if *pidfd* was created to refer to a
specific thread or to a thread-group leader.
Expand All @@ -83,28 +83,28 @@ and *errno* is set to indicate the error.

# ERRORS

**EBADF**
**EBADF**
*pidfd* is not a valid PID file descriptor.

**EINVAL**
**EINVAL**
*sig* is not a valid signal.

**EINVAL**
**EINVAL**
The calling process is not in a PID namespace from which it can send a
signal to the target process.

**EINVAL**
**EINVAL**
*flags* is not 0.

**EPERM**
**EPERM**
The calling process does not have permission to send the signal to the
target process.

**EPERM**
**EPERM**
*pidfd* doesn't refer to the calling process, and *info.si_code* is
invalid (see **rt_sigqueueinfo**(2)).

**ESRCH**
**ESRCH**
The target process does not exist (i.e., it has terminated and been
waited on).

Expand Down

0 comments on commit 0a8e137

Please sign in to comment.