[Bug 1877633] Re: libseccomp 2.4.3 (and 2.4.2) is not correctly resolving (at least) the getrlimit syscall on arm64
Alex Murray
1877633 at bugs.launchpad.net
Thu Jun 11 01:13:05 UTC 2020
Verified on focal using the following procedure - full log attached as
well:
# install seccomp
$ apt install seccomp
# try resolving getrlimit for aarch64
$ scmp_sys_resolver -a aarch64 getrlimit
-10180
# on the current focal version this fails to resolve correctly and
returns -10180
# enable -proposed
$ cat <<EOF >/etc/apt/sources.list.d/ubuntu-$(lsb_release -cs)-proposed.list
# Enable Ubuntu proposed archive
deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -cs)-proposed restricted main multiverse universe
EOF
# update libseccomp2 and seccomp from -proposed
$ apt install seccomp/$(lsb_release -cs)-proposed libseccomp2/$(lsb_release -cs)-proposed
# verify the installed version number is as expected from -proposed
$ dpkg -l seccomp libseccomp2
# try resolving getrlimit on aarch64 again
$ scmp_sys_resolver -a aarch64 getrlimit
163
** Attachment added: "libseccomp-focal-proposed-test.log"
https://bugs.launchpad.net/ubuntu/+source/libseccomp/+bug/1877633/+attachment/5382704/+files/libseccomp-focal-proposed-test.log
** Tags removed: verification-needed-focal
** Tags added: verification-done-focal
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1877633
Title:
libseccomp 2.4.3 (and 2.4.2) is not correctly resolving (at least) the
getrlimit syscall on arm64
Status in libseccomp package in Ubuntu:
Fix Released
Status in libseccomp source package in Focal:
Fix Committed
Status in libseccomp source package in Groovy:
Fix Released
Bug description:
This was reported via the snapcraft forum[1]:
On bionic amd64, libseccomp 2.4.1-0ubuntu0.18.04.2
$ lsb_release -d
Description: Ubuntu 18.04.4 LTS
$ scmp_sys_resolver -a aarch64 163
getrlimit
$ scmp_sys_resolver -a aarch64 getrlimit
163
focal amd64, libseccomp 2.4.3-1ubuntu1 -- *__BROKEN__*
$ lsb_release -d
Description: Ubuntu 20.04 LTS
$ scmp_sys_resolver -a aarch64 163
UNKNOWN
$ scmp_sys_resolver -a aarch64 getrlimit
-10180
[1]https://forum.snapcraft.io/t/getrlimit-blocked-by-seccomp-on-focal-
arm64/17237/8
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libseccomp/+bug/1877633/+subscriptions
More information about the Ubuntu-sponsors
mailing list