diff options
author | Victor Kamensky <kamensky@cisco.com> | 2020-02-28 23:55:46 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-29 13:04:49 +0000 |
commit | 1ae1fb6f14605bd1388f47b77a64a19c579dfdf4 (patch) | |
tree | d2e5e9904a98f6f4ce996234f25a047e08ae7b41 /meta/recipes-graphics/mini-x-session | |
parent | 1735b8ae625c06d1c7479f3f8d1794a551e6ca0d (diff) | |
download | poky-1ae1fb6f14605bd1388f47b77a64a19c579dfdf4.tar.gz |
make: disable use of posix_spawn on mips
After make-4.3 migration child_execute_job function started
using posix_spawn function, which happens to be broken on mips.
It manifests itself as when make executed by root, it switches
real user id to wrong value because of some issues with direct
setresuid system call done in glibc __spawni_child function
through inline assemble and/or gcc compiling it produces wrong
code. I.e instead of passing -1 posix_spawn function incorrectly
passes 127 as ruid. Subsequently job started by make can fail
with permission issue because they run under wrong user.
For now workaround is used by explicitly disabling posix_spawn
call use by make on mips through configure variable.
(From OE-Core rev: de5572deff36ecf7dd209600a94b3b7fb991cdc1)
Signed-off-by: Victor Kamensky <kamensky@cisco.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mini-x-session')
0 files changed, 0 insertions, 0 deletions