Hi,
The following
eb file-5.43-GCCcore-11.3.0.eb
fails with
In file included from seccomp.c:34:
seccomp.c: In function enable_sandbox_full:
seccomp.c:50:52: error: __NR_statx undeclared (first use in this function);
did you mean __lxstat?
50 | if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0)
== -1) \
| ^~~~~~~~
seccomp.c:230:9: note: in expansion of macro ALLOW_RULE
230 | ALLOW_RULE(statx);
| ^~~~~~~~~~
seccomp.c:50:52: note: each undeclared identifier is reported only once for
each function it appears in
50 | if (seccomp_rule_add (ctx, SCMP_ACT_ALLOW, SCMP_SYS(call), 0)
== -1) \
| ^~~~~~~~
seccomp.c:230:9: note: in expansion of macro ALLOW_RULE
230 | ALLOW_RULE(statx);
| ^~~~~~~~~~
make[3]: *** [seccomp.o] Error 1
Any ideas what might be going wrong?
Cheers,
Loris
--
Dr. Loris Bennett (Herr/Mr)
ZEDAT, Freie Universität Berlin