[GIT PULL] pidfd fixes for v5.2-rc4

From: Christian Brauner
Date: Wed Jun 05 2019 - 09:34:26 EST


Hi Linus,

This is a pull request containing three hopefully uncontroversial fixes:

The following changes since commit f2c7c76c5d0a443053e94adb9f0918fa2fb85c3a:

Linux 5.2-rc3 (2019-06-02 13:55:33 -0700)

are available in the Git repository at:

git@xxxxxxxxxxxxxxxxxxx:pub/scm/linux/kernel/git/brauner/linux tags/pidfd-fixes-v5.2-rc4

for you to fetch changes up to 1fcd0eb356ad56c4e405f06e31dd9fde2109d5ab:

tests: fix pidfd-test compilation (2019-06-05 15:06:32 +0200)

The tag contains two small patches to the pidfd samples and test binaries
respectively. They were lacking appropriate ifdefines for
__NR_pidfd_send_signal and could hence lead to compilation errors when
__NR_pidfd_send_signal was not defined.
This was spotted on mips independently by Guenter Roeck (who was kind
enough to send a fix for the samples binary) and Arnd who spotted it in
linux-next.
Apart from these two patches, there's also a patch to update the comments
for the pidfd_send_signal() syscall which were slightly wrong/inconsistenly
worded.

Please consider pulling these changes from the signed pidfd-fixes-v5.2-rc4 tag.

Thanks!
Christian

----------------------------------------------------------------
pidfd fixes for v5.2-rc4

----------------------------------------------------------------
Christian Brauner (2):
signal: improve comments
tests: fix pidfd-test compilation

Guenter Roeck (1):
samples: fix pidfd-metadata compilation

kernel/signal.c | 11 +++++------
samples/pidfd/pidfd-metadata.c | 4 ++++
tools/testing/selftests/pidfd/pidfd_test.c | 4 ++++
3 files changed, 13 insertions(+), 6 deletions(-)