https://github.com/torvalds/linux
Revision ec418781708f89ef6eb8eb5ef1eeb79a6bec9d69 authored by Eric Paris on 16 November 2007, 21:35:56 UTC, committed by James Morris on 16 November 2007, 23:38:16 UTC
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>
1 parent 8c08634
History
Tip revision: ec418781708f89ef6eb8eb5ef1eeb79a6bec9d69 authored by Eric Paris on 16 November 2007, 21:35:56 UTC
SELinux: return EOPNOTSUPP not ENOTSUPP
Tip revision: ec41878
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
.gitignore -rw-r--r-- 628 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.1 KB
Kbuild -rw-r--r-- 1.6 KB
MAINTAINERS -rw-r--r-- 93.2 KB
Makefile -rw-r--r-- 52.2 KB
README -rw-r--r-- 16.7 KB
REPORTING-BUGS -rw-r--r-- 3.0 KB

README

back to top