Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libselinux: add O_CLOEXEC | Nick Kralevich | 2017-04-12 | 1 | -1/+1 |
| | | | | | | | Makes libselinux safer and less likely to leak file descriptors when used as part of a multithreaded program. Signed-off-by: Nick Kralevich <nnk@google.com> | ||||
* | libselinux: normalize enforce values from the kernel | Stephen Smalley | 2016-11-18 | 1 | -1/+1 |
| | | | | | | | | | | | Normalize enforce values received from the kernel via /sys/fs/selinux/enforce or netlink selinux notifications to ensure that we always return a 0 or 1 to userspace code. selinux_status_getenforce(), which reads the enforce value via the SELinux kernel status page (/sys/fs/selinux/status) already normalizes its result, so we do not need to update it. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> | ||||
* | initial import from svn trunk revision 2950 | Joshua Brindle | 2008-08-19 | 1 | -0/+40 |