From 0bba8d6eb74466bc708a4453130b99b5b4e0254c Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Sun, 19 Jan 2014 00:12:20 -0500 Subject: 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 --- src/libsystemd/libsystemd.sym | 61 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) (limited to 'src/libsystemd') 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 */ -- cgit v1.2.3-54-g00ecf