Hi Michael On 1/18/23 00:25, Michael Schmitz wrote:
Look at include/seccomp-syscalls.h - I'd add the missing syscalls after this one: #define __PNR_memfd_secret -10244 (pseudo syscall numbers for the other architectures) plus appropriate boilerplate such as this: #ifdef __NR_memfd_secret #define __SNR_memfd_secret __NR_memfd_secret #else #define __SNR_memfd_secret __PNR_memfd_secret #endif (actual syscall numbers from our arch/m68k/include/uapi/asm/unistd-32.h used). Just looked at the source, didn't try to build anything so I may be missing something crucial here...
Good catch, thank you! I added the missing definitions and it builds fine now. Will test against a kernel with your patches now. Adrian -- .''`. John Paul Adrian Glaubitz : :' : Debian Developer `. `' Physicist `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913