We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 89b660c commit 1bcf3f6Copy full SHA for 1bcf3f6
src/provider/provider_os_memory_linux.c
@@ -80,7 +80,8 @@ static int syscall_memfd_secret(void) {
80
int fd = -1;
81
#ifdef __NR_memfd_secret
82
// SYS_memfd_secret is supported since Linux 5.14
83
- fd = syscall(SYS_memfd_secret, 0);
+ // not using SYS_memfd_secret as SLES does not define it
84
+ fd = syscall(__NR_memfd_secret, 0);
85
if (fd == -1) {
86
LOG_PERR("memfd_secret() failed");
87
}
0 commit comments