chiark / gitweb /
util-lib: wrap personality() to fix up broken glibc error handling (#6766)
authorLennart Poettering <lennart@poettering.net>
Fri, 8 Sep 2017 14:16:29 +0000 (16:16 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 8 Sep 2017 14:16:29 +0000 (16:16 +0200)
commitbd4dae01104127b8b92410ea8a126d8d8d0dfcf2
tree094826d4ff65a47a8af9b7d7974603577046d6e5
parente0ff144df1d7205311cb8174e948e56aae102fb6
util-lib: wrap personality() to fix up broken glibc error handling (#6766)

glibc appears to propagate different errors in different ways, let's fix
this up, so that our own code doesn't get confused by this.

See #6752 + #6737 for details.

Fixes: #6755
src/basic/process-util.c
src/basic/process-util.h