mirror of
https://github.com/systemd/systemd.git
synced 2024-12-17 22:23:39 +08:00
pam_systemd: replace regex with sym file
This commit is contained in:
parent
dfb0c6cc3b
commit
e09c69d9fd
@ -4646,6 +4646,7 @@ tests += \
|
||||
|
||||
if HAVE_PAM
|
||||
pam_systemd_la_SOURCES = \
|
||||
src/login/pam_systemd.sym \
|
||||
src/login/pam_systemd.c
|
||||
|
||||
pam_systemd_la_CFLAGS = \
|
||||
@ -4659,7 +4660,7 @@ pam_systemd_la_LDFLAGS = \
|
||||
-export-dynamic \
|
||||
-avoid-version \
|
||||
-shared \
|
||||
-export-symbols-regex '^pam_sm_.*'
|
||||
-Wl,--version-script=$(top_srcdir)/src/login/pam_systemd.sym
|
||||
|
||||
pam_systemd_la_LIBADD = \
|
||||
libsystemd-capability.la \
|
||||
|
15
src/login/pam_systemd.sym
Normal file
15
src/login/pam_systemd.sym
Normal file
@ -0,0 +1,15 @@
|
||||
/***
|
||||
This file is part of systemd.
|
||||
|
||||
systemd is free software; you can redistribute it and/or modify it
|
||||
under the terms of the GNU Lesser General Public License as published by
|
||||
the Free Software Foundation; either version 2.1 of the License, or
|
||||
(at your option) any later version.
|
||||
***/
|
||||
|
||||
{
|
||||
global:
|
||||
pam_sm_close_session;
|
||||
pam_sm_open_session;
|
||||
local: *;
|
||||
};
|
Loading…
Reference in New Issue
Block a user