[linux-yocto] [PATCH] samples: fix pidfd-metadata compilation

2019-06-10 Thread zhe.he
From: Guenter Roeck commit 7c33277b9a9ada187f805b41ffbebe6c51622fb6 upstream. Define __NR_pidfd_send_signal if it isn't to prevent a compilation error. To make pidfd-metadata compile on all arches, irrespective of whether or not syscall numbers are assigned, define the syscall number to -1. If

Re: [linux-yocto] [PATCH] samples: fix pidfd-metadata compilation

2019-06-10 Thread He Zhe
Please ignore. On 6/11/19 11:38 AM, zhe...@windriver.com wrote: > From: Guenter Roeck > > Define __NR_pidfd_send_signal if it isn't to prevent a compilation error. > > To make pidfd-metadata compile on all arches, irrespective of whether > or not syscall numbers are assigned, define the syscall

[linux-yocto] [PATCH] samples: fix pidfd-metadata compilation

2019-06-10 Thread zhe.he
From: Guenter Roeck Define __NR_pidfd_send_signal if it isn't to prevent a compilation error. To make pidfd-metadata compile on all arches, irrespective of whether or not syscall numbers are assigned, define the syscall number to -1. If it isn't defined this will cause the kernel to return