summaryrefslogtreecommitdiffstats
path: root/login-utils/selinux_utils.c
Commit message (Collapse)AuthorAgeFilesLines
* chrt: [selinux] fix compiler warnings [-Wsign-compare]Karel Zak2011-08-011-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* selinux: is_selinux_enabled() returns 0, 1 and -1Karel Zak2008-07-011-1/+1
| | | | | | | | | | Unfortunately, the current libselinux implementation of is_selinux_enabled() returns -1 on error. This behavior is undocumented. The proper solution is to use "if (is_selinux_enabled() > 0)". Signed-off-by: Karel Zak <kzak@redhat.com>
* chfn: fix compiler warnings in selinux stuffKarel Zak2008-03-201-1/+1
| | | | | | selinux_utils.c:16: warning: assignment discards qualifiers from pointer target type Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.13-pre1 tarball.Karel Zak2006-12-071-2/+1Star
|
* Imported from util-linux-2.12a tarball.Karel Zak2006-12-071-0/+55