Fwiw, this is longer working on zesty and newer:
"""
#include <stdio.h>
#include <seccomp.h>
int main(int argc, char **argv) {
int sys_num = seccomp_syscall_resolve_name("socket");
printf("%d ", sys_num);
}
"""
returns -101 now. I think I know what is going on and will provide a patch shortly.
Fwiw, this is longer working on zesty and newer:
"""
#include <stdio.h>
#include <seccomp.h>
int main(int argc, char **argv) { syscall_ resolve_ name("socket" );
int sys_num = seccomp_
printf("%d ", sys_num);
}
"""
returns -101 now. I think I know what is going on and will provide a patch shortly.