From ec418781708f89ef6eb8eb5ef1eeb79a6bec9d69 Mon Sep 17 00:00:00 2001 From: Eric Paris Date: Fri, 16 Nov 2007 16:35:56 -0500 Subject: [PATCH] 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 Signed-off-by: James Morris --- Reading git-format-patch failed