summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-16 18:32:28 -0800
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-11-16 18:32:28 -0800
commitfe47463d4117e8f20905246ee660aa15eb811a18 (patch)
tree2a689b155dd839545067febfdcefdfe503b8a8b9
parent0048e1c44a4529d4ea93e6920fa5468730c68c94 (diff)
parentec418781708f89ef6eb8eb5ef1eeb79a6bec9d69 (diff)
downloadlinux-fe47463d4117e8f20905246ee660aa15eb811a18.tar.bz2
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6: SELinux: return EOPNOTSUPP not ENOTSUPP
-rw-r--r--include/linux/selinux.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/selinux.h b/include/linux/selinux.h
index d1b7ca6c1c57..6080f73fc85f 100644
--- a/include/linux/selinux.h
+++ b/include/linux/selinux.h
@@ -136,7 +136,7 @@ static inline int selinux_audit_rule_init(u32 field, u32 op,
char *rulestr,
struct selinux_audit_rule **rule)
{
- return -ENOTSUPP;
+ return -EOPNOTSUPP;
}
static inline void selinux_audit_rule_free(struct selinux_audit_rule *rule)