** Changed in: linux (Ubuntu Disco)
Status: Fix Committed => Confirmed
** Changed in: linux (Ubuntu Eoan)
Status: Fix Committed => Confirmed
--
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1849281
Title:
seccomp: fix SECCOMP_USER_NOTIF_FLAG_CONTINUE test
Status in ubuntu-kernel-tests:
New
Status in linux package in Ubuntu:
Fix Committed
Status in linux source package in Disco:
Confirmed
Status in linux source package in Eoan:
Confirmed
Bug description:
SRU Justification
Impact:
We recently backported SECCOMP_USER_NOTIF_FLAG_CONTINUE in
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1847744. On a kernel that
supports SECCOMP_FILTER_FLAG_NEW_LISTENER but not
SECCOMP_USER_NOTIF_FLAG_CONTINUE the selftests currently fail to compile. The
reason is that the ifndef for SECCOMP_USER_NOTIF_FLAG_CONTINUE is placed under
the ifndef for SECCOMP_FILTER_FLAG_NEW_LISTENER.
Fix:
The ifndef for SECCOMP_USER_NOTIF_FLAG_CONTINUE was placed under the
ifndef for the SECCOMP_FILTER_FLAG_NEW_LISTENER feature. This will not
work on systems that do support SECCOMP_FILTER_FLAG_NEW_LISTENER but do not
support SECCOMP_USER_NOTIF_FLAG_CONTINUE. So move the latter ifndef out of
the former ifndef's scope.
Regression Potential:
Limited to seccomp selftests.
Test Case:
Compile the selftests on a kernel that supports
SECCOMP_FILTER_FLAG_NEW_LISTENER but does not support
SECCOMP_USER_NOTIF_FLAG_CONTINUE and see that compilations succeeds.
Target Kernels: All current LTS kernels with access to a 5.0 kernel.
Patches:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?h=for-next/seccomp&id=2aa8d8d04ca29c3269154e1d48855e498be8882f
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-kernel-tests/+bug/1849281/+subscriptions
--
Mailing list: https://launchpad.net/~kernel-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help : https://help.launchpad.net/ListHelp