chiark / gitweb /
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)
committerSven Eden <yamakuzure@gmx.net>
Tue, 29 Aug 2017 14:57:55 +0000 (16:57 +0200)
commitaf2885973e3018b639d8297bd838ec8ebbe93e8a
treeb6cbdd67c1beca2fee2664aae08773858c3b10d6
parenta9ffc2c09e031626197ff5f0a962751cce7a2d04
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
elogind creates PAM sessions, the potential for collisions is high.

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

Fixes #6624
src/shared/meson.build