summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2012-04-10 13:39:02 +0200
committerKay Sievers <kay@vrfy.org>2012-04-10 14:13:38 +0200
commitd7832d2c6e0ef5f2839a2296c1cc2fc85c7d9632 (patch)
tree5b10dc4909bd956638837504d95d879ea96a86ec /src/login
parent304b9f30781b8625c1f84fd27205f2707d4843b1 (diff)
util: move all to shared/ and split external dependencies in separate internal libraries
Before: $ ldd /lib/systemd/systemd-timestamp linux-vdso.so.1 => (0x00007fffb05ff000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f90aac57000) libcap.so.2 => /lib64/libcap.so.2 (0x00007f90aaa53000) librt.so.1 => /lib64/librt.so.1 (0x00007f90aa84a000) libc.so.6 => /lib64/libc.so.6 (0x00007f90aa494000) /lib64/ld-linux-x86-64.so.2 (0x00007f90aae90000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f90aa290000) libattr.so.1 => /lib64/libattr.so.1 (0x00007f90aa08a000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f90a9e6e000) After: $ ldd systemd-timestamp linux-vdso.so.1 => (0x00007fff3cbff000) libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f5eaa1c3000) librt.so.1 => /lib64/librt.so.1 (0x00007f5ea9fbb000) libc.so.6 => /lib64/libc.so.6 (0x00007f5ea9c04000) /lib64/ld-linux-x86-64.so.2 (0x00007f5eaa3fc000) libdl.so.2 => /lib64/libdl.so.2 (0x00007f5ea9a00000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f5ea97e4000)
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind.h1
-rw-r--r--src/login/pam-module.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/login/logind.h b/src/login/logind.h
index a4b4602675..9586793ad4 100644
--- a/src/login/logind.h
+++ b/src/login/logind.h
@@ -28,6 +28,7 @@
#include <libudev.h>
#include "util.h"
+#include "audit.h"
#include "list.h"
#include "hashmap.h"
#include "cgroup-util.h"
diff --git a/src/login/pam-module.c b/src/login/pam-module.c
index 4106d2ba4b..1edb91c804 100644
--- a/src/login/pam-module.c
+++ b/src/login/pam-module.c
@@ -35,6 +35,7 @@
#include <systemd/sd-daemon.h>
#include "util.h"
+#include "audit.h"
#include "macro.h"
#include "strv.h"
#include "dbus-common.h"