diff options
author | Guillem Jover <guillem@debian.org> | 2012-11-13 21:17:11 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2013-02-05 20:14:44 -0500 |
commit | be2d728599c08e5e4a3cf0cebcc4f7876786cd5c (patch) | |
tree | 497f289be9b701e0299a8ee75073178ef2712b69 /libselinux/man/man3/context_new.3 | |
parent | 9acdd37989ce2bd3c239a7c14a9f7a7a9bb971e3 (diff) | |
download | android_external_selinux-be2d728599c08e5e4a3cf0cebcc4f7876786cd5c.tar.gz android_external_selinux-be2d728599c08e5e4a3cf0cebcc4f7876786cd5c.tar.bz2 android_external_selinux-be2d728599c08e5e4a3cf0cebcc4f7876786cd5c.zip |
libselinux: Use ENOTSUP instead of EOPNOTSUPP for getfilecon functions
EOPNOTSUPP means "operation not supoorted on socket", and ENOTSUP means
"not supported", although per POSIX they can be alised to the same
value and on Linux they do, ENOTSUP seems the more correct error code.
In addition these function are documented as returning ENOTSUP, and
given that they are implemented in means of getxattr(2) which does
return ENOTSUP too, this just consolidates their behaviour.
Signed-off-by: Guillem Jover <guillem@debian.org>
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libselinux/man/man3/context_new.3')
0 files changed, 0 insertions, 0 deletions