summaryrefslogtreecommitdiff
path: root/src/providers/ipa/ipa_selinux.h
AgeCommit message (Collapse)AuthorFilesLines
2013-05-14Fix broken build with selinux.Lukas Slebodnik1-1/+1
Header file selinux/selinux.h was removed in commit 245cc346 from file ipa_selinux.c, because it breaks build without selinux. But new error was introduced. This patch fixes compilation with selinux and include header file selinux/selinux.h only if both macros exist HAVE_SELINUX and HAVE_SELINUX_LOGIN_DIR. Now ipa_selinux.c should be correctly built with and without selinux.
2013-03-19Reuse cached SELinux mappings.Michal Zidek1-0/+1
Reuse cached SELinux maps when they are requested within time interval (in this patch it is hardcoded to be 5 seconds). https://fedorahosted.org/sssd/ticket/1744
2013-03-19Move SELinux processing to provider.Michal Zidek1-0/+7
The SELinux processing was distributed between provider and pam responder which resulted in hard to maintain code. This patch moves the logic to provider. IT ALSO REQUIRES CHANGE IN THE SELINUX POLICY, because the provider also writes the content of selinux login file to disk (which was done by responder before). https://fedorahosted.org/sssd/ticket/1743
2012-07-27Renamed session provider to selinux providerJan Zeleny1-0/+40