summaryrefslogtreecommitdiffstats
path: root/src/tools/selinux.c
Commit message (Collapse)AuthorAgeFilesLines
* Properly check the return value from semanage_commitStephen Gallagher2010-11-051-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
* Make sure to close varargs before returning from a functionStephen Gallagher2010-06-101-1/+1
| | | | https://fedorahosted.org/sssd/ticket/528
* SELinux login managementJakub Hrozek2010-04-081-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.
* Move SELinux related functions into its own moduleJakub Hrozek2010-04-081-0/+81
Fix whitespace errors