summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/pseudo/pseudo_git.bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-03 13:55:12 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-04-06 16:45:11 +0100
commitf4c7f9ebae9f4afc16a1ca31290665a6e7f4f83f (patch)
treeb20569f215e00dc74e367bbe6a12854b20434711 /meta/recipes-devtools/pseudo/pseudo_git.bb
parent40407d28f0ec70563c8c87adf85b60ef1f5c0b80 (diff)
downloadpoky-f4c7f9ebae9f4afc16a1ca31290665a6e7f4f83f.tar.gz
pseudo: Force seccomp to return success when in fact doing nothing
Pseudo changes the syscall access patterns which makes it incompatible with seccomp. Therefore intercept the seccomp syscall and alter it, pretending that seccomp was setup when in fact we do nothing. If we error as unsupported, utilities like file will exit with errors so we can't just disable it. This works around issues on platforms where seccomp is enabled in file (e.g. archlinux). (From OE-Core rev: bc895522eb940539a0e3cb6192c4a64f13ca8d6a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/pseudo/pseudo_git.bb')
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_git.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index d921d85a05..89e43c5996 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -10,6 +10,7 @@ SRC_URI = "git://git.yoctoproject.org/pseudo \
10 file://0001-Add-statx.patch \ 10 file://0001-Add-statx.patch \
11 file://0001-realpath.c-Remove-trailing-slashes.patch \ 11 file://0001-realpath.c-Remove-trailing-slashes.patch \
12 file://0006-xattr-adjust-for-attr-2.4.48-release.patch \ 12 file://0006-xattr-adjust-for-attr-2.4.48-release.patch \
13 file://seccomp.patch \
13 " 14 "
14 15
15SRCREV = "060058bb29f70b244e685b3c704eb0641b736f73" 16SRCREV = "060058bb29f70b244e685b3c704eb0641b736f73"