Bug 14351 - libseccomp: move from meta-security to core
Summary: libseccomp: move from meta-security to core
Status: RESOLVED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: core (show other bugs)
Version: 3.4
Hardware: x86 Multiple
: Medium+ normal
Target Milestone: 3.4 M2
Assignee: akuster
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2021-04-16 20:53 UTC by akuster
Modified: 2021-07-09 13:50 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: New (Never tested)
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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