summaryrefslogtreecommitdiff
path: root/src/shared/musl_missing.h
diff options
context:
space:
mode:
authorSven Eden <sven.eden@prydeworx.com>2018-11-12 08:57:49 +0100
committerSven Eden <sven.eden@prydeworx.com>2018-11-12 08:57:49 +0100
commitd4a3f291e3955648ea1d29e674b0f8f9b1556257 (patch)
tree4b5b9004acc480b350507c5f2072bd8a891ef586 /src/shared/musl_missing.h
parent693b0f31439318d68c5a42e79f7e8a751b4cffb3 (diff)
Prep v239.2: Handle program_invocation_short_name more properly (#92)
With glibc, at least v2.28, program_invocation_short_name is not a string of its own, but simply points into program_invocation_name. When elogind is forked, the fork process gets a new name. Upstream has decided to change to long version, which is the correct thing to do. Unfortunately program_invocation_short_name is not adapted, and all further log messages using it might print anything. This patch manipulates program_invocation_short_name if its adress lies within program_invocation_name and its original length. Bug: #92 Closes: #92 Signed-off-by: Sven Eden <sven.eden@prydeworx.com>
Diffstat (limited to 'src/shared/musl_missing.h')
0 files changed, 0 insertions, 0 deletions