diff options
author | Kai Kang <kai.kang@windriver.com> | 2020-04-27 14:04:16 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-07 13:03:30 +0100 |
commit | 65aa038fa01e57ac8135e2da51c80571e889323f (patch) | |
tree | 7903f770cf450e4e448075b723b6537658abb582 /meta/recipes-devtools/strace | |
parent | 4d041f2d04ab1f3ed9d7025c6250926be20306c6 (diff) | |
download | poky-65aa038fa01e57ac8135e2da51c80571e889323f.tar.gz |
pseudo: add macro guard for seccomp
It fails to compile pseudo-native on centos 7:
| ports/linux/pseudo_wrappers.c: In function ‘prctl’:
| ports/linux/pseudo_wrappers.c:129:14: error: ‘SECCOMP_SET_MODE_FILTER’ undeclared (first use in this function)
| if (cmd == SECCOMP_SET_MODE_FILTER) {
| ^
Add macro guard for the definition to avoid the failure.
(From OE-Core rev: 9fff03afb8e67b360042e80fda8213a67472b9ec)
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/strace')
0 files changed, 0 insertions, 0 deletions