summaryrefslogtreecommitdiff
path: root/src/tools/selinux.c
AgeCommit message (Collapse)AuthorFilesLines
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