[lxc-devel] [lxc/lxc] 3341e2: syscall: don't fail if __NR_signalfd is not defined

Christian Brauner noreply at github.com
Tue Jul 28 11:26:05 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 3341e204dc1e1da6ecbc1ffbe59fca33f23ca557
      https://github.com/lxc/lxc/commit/3341e204dc1e1da6ecbc1ffbe59fca33f23ca557
  Author: Fabrice Fontaine <fontaine.fabrice at gmail.com>
  Date:   2020-07-28 (Tue, 28 Jul 2020)

  Changed paths:
    M src/lxc/syscall_numbers.h
    M src/lxc/syscall_wrappers.h

  Log Message:
  -----------
  syscall: don't fail if __NR_signalfd is not defined

lxc fails to build if __NR_signalfd is not defined since version 4.0.0
and
https://github.com/lxc/lxc/commit/bed09c9cc0bec7bbd2442fcce4a2a0f03994cb09

However, some architectures don't define __NR_signalfd but only
__NR_signalfd4. This is the case for example for nios2 or csky:
https://github.com/bminor/glibc/blob/f9ac84f92f151e07586c55e14ed628d493a5929d/sysdeps/unix/sysv/linux/nios2/arch-syscall.h
https://github.com/bminor/glibc/blob/f9ac84f92f151e07586c55e14ed628d493a5929d/sysdeps/unix/sysv/linux/csky/arch-syscall.h

Fixes:
 - http://autobuild.buildroot.org/results/75096a48d2dbda57459523db3ed0952e63f93535

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


  Commit: f3bbb01f8a94d69bcc657a7f9f5648aa3e228aad
      https://github.com/lxc/lxc/commit/f3bbb01f8a94d69bcc657a7f9f5648aa3e228aad
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2020-07-28 (Tue, 28 Jul 2020)

  Changed paths:
    M src/lxc/syscall_numbers.h
    M src/lxc/syscall_wrappers.h

  Log Message:
  -----------
  Merge pull request #3501 from ffontaine/master

syscall: don't fail if __NR_signalfd is not defined


Compare: https://github.com/lxc/lxc/compare/79c66a2af36e...f3bbb01f8a94


More information about the lxc-devel mailing list