summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2016-01-20 09:12:47 +0100
committerLukas Slebodnik <lslebodn@redhat.com>2016-01-28 09:46:26 +0100
commit6499d0b915209b670f8e337c4fe76a8be9fa6576 (patch)
tree58d43008239501773d31c9bcaa1c8474c3e5219b /src/tests
parent1b8858b1611db5048592f477059ca5ad66d7ceb1 (diff)
downloadsssd-6499d0b915209b670f8e337c4fe76a8be9fa6576.tar.gz
sssd-6499d0b915209b670f8e337c4fe76a8be9fa6576.tar.xz
sssd-6499d0b915209b670f8e337c4fe76a8be9fa6576.zip
Util: Improve code to get connection credentials
Adds support to get SELINUX context and make code more abstract so that struct ucred (if availale) can be used w/o redefining uid,gid,pid to int32. Also gives a layer of indirection that may come handy if we want to improve the code further in the future. Signed-off-by: Lukas Slebodnik <lslebodn@redhat.com> Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/cwrap/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tests/cwrap/Makefile.am b/src/tests/cwrap/Makefile.am
index ca4a941da..67f57e14e 100644
--- a/src/tests/cwrap/Makefile.am
+++ b/src/tests/cwrap/Makefile.am
@@ -157,6 +157,7 @@ responder_common_tests_CFLAGS = \
responder_common_tests_LDADD = \
$(CMOCKA_LIBS) \
$(SSSD_LIBS) \
+ $(SELINUX_LIBS) \
$(abs_top_builddir)/libsss_util.la \
$(abs_top_builddir)/libsss_debug.la \
$(abs_top_builddir)/libsss_test_common.la \