shared: Add a linker script so that all functions are tagget @SD_SHARED instead of...
authorFelipe Sateler <fsateler@users.noreply.github.com>
Mon, 28 Aug 2017 16:49:03 +0000 (13:49 -0300)
committerLennart Poettering <lennart@poettering.net>
Mon, 28 Aug 2017 16:49:03 +0000 (18:49 +0200)
commit4f5993c3f48d6f5454f72aeb10b4642fde758076
tree0ef40b05aba7530001dc66b1e20f8b4ed6496f76
parent6c24adfd46aac12ec23fd17f6b5a3113546902d0
shared: Add a linker script so that all functions are tagget @SD_SHARED instead of @Base (#6669)

This helps prevent symbol collisions with other programs and libraries. In particular,
because PAM modules are loaded into the process that is creating the session, and
systemd creates PAM sessions, the potential for collisions is high.

Disambiguate all systemd calls by tagging a 'version' SD_SHARED.

Fixes #6624
src/shared/libshared.sym [new file with mode: 0644]
src/shared/meson.build