diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-01-19 00:12:20 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-01-25 18:10:08 -0500 |
commit | 0bba8d6eb74466bc708a4453130b99b5b4e0254c (patch) | |
tree | c3f20952793416c2468a8b6313ee1dd75d3b6c6d /src/libsystemd | |
parent | 39c4ead2323b45bbe9866e0f97fd8dcfb8a0bede (diff) |
build-sys: merge libsystemd-login into libsystemd
A compatibility libsystemd-login library is created which uses
.symver and ifunc magic proposed by Lennart to make programs linked
to the old library name continue to work seamlessly.
Unfortunately the bfd linker crashes:
https://sourceware.org/bugzilla/show_bug.cgi?id=16467
This will be fixed in binutils 2.25.
As a work-around, gold can be used:
LDFLAGS=-Wl,-fuse-ld=gold
Unfortunately the switch to pick the linker appeared in gcc 4.8.
This also doesn't work with LLVM:
http://llvm.org/bugs/show_bug.cgi?id=11897
Diffstat (limited to 'src/libsystemd')
-rw-r--r-- | src/libsystemd/libsystemd.sym | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/src/libsystemd/libsystemd.sym b/src/libsystemd/libsystemd.sym index e2e917e00e..9b10604b53 100644 --- a/src/libsystemd/libsystemd.sym +++ b/src/libsystemd/libsystemd.sym @@ -9,6 +9,67 @@ LIBSYSTEMD_209 { global: + + /* originally LIBSYSTEMD_LOGIN_31 */ + sd_get_seats; + sd_get_sessions; + sd_get_uids; + sd_login_monitor_flush; + sd_login_monitor_get_fd; + sd_login_monitor_new; + sd_login_monitor_unref; + sd_pid_get_owner_uid; + sd_pid_get_session; + sd_seat_can_multi_session; + sd_seat_get_active; + sd_seat_get_sessions; + sd_session_get_seat; + sd_session_get_uid; + sd_session_is_active; + sd_uid_get_seats; + sd_uid_get_sessions; + sd_uid_get_state; + sd_uid_is_on_seat; + + /* originally LIBSYSTEMD_LOGIN_38 */ + sd_pid_get_unit; + sd_session_get_service; + + /* originally LIBSYSTEMD_LOGIN_43 */ + sd_session_get_type; + sd_session_get_class; + sd_session_get_display; + + /* originally LIBSYSTEMD_LOGIN_186 */ + sd_session_get_state; + sd_seat_can_tty; + sd_seat_can_graphical; + + /* originally LIBSYSTEMD_LOGIN_198 */ + sd_session_get_tty; + + /* originally LIBSYSTEMD_LOGIN_201 */ + sd_login_monitor_get_events; + sd_login_monitor_get_timeout; + + /* originally LIBSYSTEMD_LOGIN_202 */ + sd_pid_get_user_unit; + sd_pid_get_machine_name; + + /* originally LIBSYSTEMD_LOGIN_203 */ + sd_get_machine_names; + + /* originally LIBSYSTEMD_LOGIN_205 */ + sd_pid_get_slice; + + /* originally LIBSYSTEMD_LOGIN_207 */ + sd_session_get_vt; + + /* new in LIBSYSTEMD_LOGIN_209 */ + sd_session_is_remote; + sd_session_get_remote_user; + sd_session_get_remote_host; + /* Same order as in sd-bus.h should be used */ /* Connections */ |