diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2015-04-09 22:18:35 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-04-15 14:50:49 +0200 |
commit | 8ae3dfccf2d77f69135d45004626792128883d2f (patch) | |
tree | ec43127016f34c9e7087e271f79bd883e97ce553 /Makefile.am | |
parent | 99581f84e4ba29c6395617a903376ad045174b8e (diff) | |
download | sssd-8ae3dfccf2d77f69135d45004626792128883d2f.tar.gz sssd-8ae3dfccf2d77f69135d45004626792128883d2f.tar.xz sssd-8ae3dfccf2d77f69135d45004626792128883d2f.zip |
selinux: Only call semanage if the context actually changes
https://fedorahosted.org/sssd/ticket/2624
Add a function to query the libsemanage database for a user context and
only update the database if the context differes from the one set on the
server.
Adds talloc dependency to libsss_semanage.
Reviewed-by: Michal Židek <mzidek@redhat.com>
(cherry picked from commit 1e0fa55fb377db788e065de917ba8e149eb56161)
(cherry picked from commit 4d31f2c294db6090047e4d5348322b32ea0aaac1)
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 973f8cb35..65b9773d8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -770,10 +770,15 @@ endif libsss_util_la_LDFLAGS = -avoid-version pkglib_LTLIBRARIES += libsss_semanage.la +libsss_semanage_la_CFLAGS = \ + $(AM_CFLAGS) \ + $(TALLOC_CFLAGS) \ + $(NULL) libsss_semanage_la_SOURCES = \ src/util/sss_semanage.c \ $(NULL) libsss_semanage_la_LIBADD = \ + $(TALLOC_LIBS) \ libsss_debug.la \ $(NULL) if BUILD_SEMANAGE |