From: William Cohen Date: Tue, 29 Mar 2022 00:55:17 +0000 (-0400) Subject: Add missing __NR*_memfd_secret defines for older Linux kernels X-Git-Tag: release-4.7~41 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=71cbe97a44b2d5c5e6380d9b327c09c90c3bba35;p=systemtap.git Add missing __NR*_memfd_secret defines for older Linux kernels --- diff --git a/runtime/linux/compat_unistd.h b/runtime/linux/compat_unistd.h index 2bbb0bac5..7bd39dc73 100644 --- a/runtime/linux/compat_unistd.h +++ b/runtime/linux/compat_unistd.h @@ -193,6 +193,9 @@ #ifndef __NR_membarrier #define __NR_membarrier (__NR_syscall_max + 1) #endif +#ifndef __NR_memfd_secret +#define __NR_memfd_secret (__NR_syscall_max + 1) +#endif #ifndef __NR_migrate_pages #define __NR_migrate_pages (__NR_syscall_max + 1) #endif @@ -1651,6 +1654,7 @@ #define __NR_compat_mbind __NR_ia32_mbind #define __NR_compat_membarrier __NR_ia32_membarrier #define __NR_compat_memfd_create __NR_ia32_memfd_create +#define __NR_compat_memfd_secret __NR_ia32_memfd_secret #define __NR_compat_migrate_pages __NR_ia32_migrate_pages #define __NR_compat_mincore __NR_ia32_mincore #define __NR_compat_mkdir __NR_ia32_mkdir