diff options
author | Eric Paris <eparis@redhat.com> | 2007-11-16 22:35:56 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2007-11-17 00:38:16 +0100 |
commit | ec418781708f89ef6eb8eb5ef1eeb79a6bec9d69 (patch) | |
tree | fc97d5f06c6fae791590acd7c1445e30348bb9c3 /drivers/hwmon | |
parent | dirty page balancing: Get rid of broken unmapped_ratio logic (diff) | |
download | linux-ec418781708f89ef6eb8eb5ef1eeb79a6bec9d69.tar.xz linux-ec418781708f89ef6eb8eb5ef1eeb79a6bec9d69.zip |
SELinux: return EOPNOTSUPP not ENOTSUPP
ENOTSUPP is not a valid error code in the kernel (it is defined in some
NFS internal error codes and has been improperly used other places). In
the !CONFIG_SECURITY_SELINUX case though it is possible that we could
return this from selinux_audit_rule_init(). This patch just returns the
userspace valid EOPNOTSUPP.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'drivers/hwmon')
0 files changed, 0 insertions, 0 deletions