[Buildroot] [PATCH 1/1] package/procps-ng: fix build without __NR_pidfd_open

Peter Korsgaard peter at korsgaard.com
Mon Nov 14 07:10:52 UTC 2022


>>>>> "Fabrice" == Fabrice Fontaine <fontaine.fabrice at gmail.com> writes:

 > Fix the following build failure without __NR_pidfd_open raised since
 > bump to version 3.3.17 in commit
 > cc28c7aa6df7798ce5ca79d6d1c7c2eb115ba220 and
 > https://gitlab.com/procps-ng/procps/-/commit/c8384e682c1cfb3b2dc797e0f8a3cbaaccf7a3da:

 > pgrep.c: In function 'pidfd_open':
 > pgrep.c:748:17: error: '__NR_pidfd_open' undeclared (first use in this function); did you mean 'pidfd_open'?
 >   748 |  return syscall(__NR_pidfd_open, pid, flags);
 >       |                 ^~~~~~~~~~~~~~~
 >       |                 pidfd_open

 > Fixes:
 >  - http://autobuild.buildroot.org/results/f23a5156e641b2ebdd673973dec0f9c87760c688

 > Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

Committed to 2022.08.x and 2022.02.x, thanks.

-- 
Bye, Peter Korsgaard



More information about the buildroot mailing list