summaryrefslogtreecommitdiff
path: root/src/tools/selinux.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-24Include right header fileLukas Slebodnik1-1/+1
Public selinux functions are defined in file src/tools/selinux.c (selinux_file_context, reset_selinux_file_context, set_seuser, del_seuser), but wrong header file was included "util/util.h" All declarations are in header file "tools/tools_util.h". This patch include right header file.
2011-08-25New DEBUG facility - conversionPavel Březina1-13/+1
https://fedorahosted.org/sssd/ticket/925 Conversion of the old debug_level format to the new one. (only where it was necessary) Removed: SSS_DEFAULT_DEBUG_LEVEL (completely replaced with SSSDBG_DEFAULT)
2011-05-23Set _GNU_SOURCE globallySumit Bose1-1/+0
2010-11-05Properly check the return value from semanage_commitStephen Gallagher1-2/+2
semanage_commit() returns -1 on error, and can return a positive value on success. https://bugzilla.redhat.com/show_bug.cgi?id=649037
2010-06-10Make sure to close varargs before returning from a functionStephen Gallagher1-1/+1
https://fedorahosted.org/sssd/ticket/528
2010-04-08SELinux login managementJakub Hrozek1-0/+338
Adds a new option -Z to sss_useradd and sss_usermod. This option allows user to specify the SELinux login context for the user. On deleting the user with sss_userdel, the login mapping is deleted, so subsequent adding of the same user would result in the default login context unless -Z is specified again. MLS security is not supported as of this patch.
2010-04-08Move SELinux related functions into its own moduleJakub Hrozek1-0/+81
Fix whitespace errors