Bug 14351

Summary: libseccomp: move from meta-security to core
Product: [Build System, Metadata & Runtime] OE-Core Reporter: akuster <akuster808>
Component: coreAssignee: akuster <akuster808>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: meta.mr.watcher, meta.watcher, randy.macleod
Version: 3.4   
Target Milestone: 3.4 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: New (Never tested)
Verified: Documentation change: Don't know

Description akuster 2021-04-16 20:53:46 UTC
The main issue is the test output has changed in an earlier release. This needs cleaning up. 

Bash is required for the test cases. Not sure if this is blocker
Comment 1 akuster 2021-04-24 16:25:10 UTC
patches sent to list.  Went overboard with the implementation.
Comment 2 akuster 2021-04-24 21:53:38 UTC
x86 musl apt package failes:

/build/tmp/work/core2-32-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/methods/aptmethod.h:125:52: error: '__SNR_fstatat' was not declared in this scope
|   125 |    if ((rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(what), 0))) \
|       |                                                    ^~~~~~~~
| /home/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/core2-32-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/methods/aptmethod.h:165:7: note: in expansion of macro 'ALLOW'
|   165 |       ALLOW(fstatat64);
|       |       ^~~~~
| /home/pokybuild/yocto-worker/musl-qemux86/build/build/tmp/work/core2-32-poky-linux-musl/apt/2.2.2-r0/apt-2.2.2/methods/aptmethod.h:125:52: error: '__SNR_prlimit' was not declared in this scope
|   125 |    if ((rc = seccomp_rule_add(ctx, SCMP_ACT_ALLOW, SCMP_SYS(what), 0))) \
|       |                                                    ^~~~~~~~

https://autobuilder.yoctoproject.org/typhoon/#/builders/64/builds/3333/steps/11/logs/stdio
Comment 4 akuster 2021-07-09 13:50:35 UTC
done long ago