◐ Shell
reader mode source ↗
Skip to content

closes bpo-38712: Add signal.pidfd_send_signal.#17070

Merged
benjaminp merged 1 commit into
python:masterfrom
benjaminp:pidfd_send_signal
Nov 20, 2019
Merged

closes bpo-38712: Add signal.pidfd_send_signal.#17070
benjaminp merged 1 commit into
python:masterfrom
benjaminp:pidfd_send_signal

Conversation

@benjaminp

@benjaminp benjaminp commented Nov 6, 2019

Copy link
Copy Markdown
Contributor

This exposes a Linux-specific syscall for sending a signal to a process
identified by a file descriptor rather than a pid.

For simplicity, we don't support the siginfo_t parameter to the syscall. This
parameter allows implementing a pidfd version of rt_sigqueueinfo(2), which
Python also doesn't support.

https://bugs.python.org/issue38712

This exposes a Linux-specific syscall for sending a signal to a process
identified by a file descriptor rather than a pid.

For simplicity, we don't support the siginfo_t parameter to the syscall. This
parameter allows implementing a pidfd version of rt_sigqueueinfo(2), which
Python also doesn't support.

@corona10 corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

@benjaminp I left a comment on this PR except that PR looks good to me.

@benjaminp benjaminp merged commit 7483451 into python:master Nov 20, 2019
@benjaminp benjaminp deleted the pidfd_send_signal branch November 20, 2019 04:39
jacobneiltaylor pushed a commit to jacobneiltaylor/cpython that referenced this pull request Dec 5, 2019
This exposes a Linux-specific syscall for sending a signal to a process
identified by a file descriptor rather than a pid.

For simplicity, we don't support the siginfo_t parameter to the syscall. This
parameter allows implementing a pidfd version of rt_sigqueueinfo(2), which
Python also doesn't support.
shihai1991 pushed a commit to shihai1991/cpython that referenced this pull request Jan 31, 2020
This exposes a Linux-specific syscall for sending a signal to a process
identified by a file descriptor rather than a pid.

For simplicity, we don't support the siginfo_t parameter to the syscall. This
parameter allows implementing a pidfd version of rt_sigqueueinfo(2), which
Python also doesn't support.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants