aboutsummaryrefslogtreecommitdiffstats
path: root/mm/oom_kill.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2007-11-16 16:35:56 -0500
committerJames Morris <jmorris@namei.org>2007-11-17 10:38:16 +1100
commitec418781708f89ef6eb8eb5ef1eeb79a6bec9d69 (patch)
treefc97d5f06c6fae791590acd7c1445e30348bb9c3 /mm/oom_kill.c
parent8c0863403f109a43d7000b4646da4818220d501f (diff)
downloadkernel_samsung_smdk4412-ec418781708f89ef6eb8eb5ef1eeb79a6bec9d69.tar.gz
kernel_samsung_smdk4412-ec418781708f89ef6eb8eb5ef1eeb79a6bec9d69.tar.bz2
kernel_samsung_smdk4412-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 'mm/oom_kill.c')
0 files changed, 0 insertions, 0 deletions