selinux/libselinux
dcashman c7cf5d8aa0 libselinux: procattr: return einval for <= 0 pid args.
getpidcon documentation does not specify that a pid of 0 refers to the
current process, and getcon exists specifically to provide this
functionality, and getpidcon(getpid()) would provide it as well.
Disallow pid values <= 0 that may lead to unintended behavior in
userspace object managers.

Signed-off-by: Daniel Cashman <dcashman@android.com>
2016-02-24 10:05:14 -05:00
..
include libselinux: Add selinux_restorecon function 2016-02-17 09:12:50 -05:00
man libselinux: selinux_restorecon.3 man page corrections. 2016-02-22 10:14:42 -05:00
src libselinux: procattr: return einval for <= 0 pid args. 2016-02-24 10:05:14 -05:00
utils libselinux: Add selinux_restorecon function 2016-02-17 09:12:50 -05:00
ChangeLog Updated libselinux ChangeLog. 2016-02-24 09:20:11 -05:00
LICENSE
Makefile libselinux: Refactor rpm_execcon() into a new setexecfilecon() 2014-01-06 14:06:03 -05:00
VERSION Update ChangeLog and VERSION for final release 2016-02-23 11:31:41 -05:00