projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28e8351
)
SELinux: correct error code in selinux_audit_rule_init
author
Steve G
<linux_4ever@yahoo.com>
Tue, 14 Aug 2007 19:50:46 +0000
(12:50 -0700)
committer
James Morris
<jmorris@halo.namei>
Thu, 16 Aug 2007 15:42:28 +0000
(11:42 -0400)
Corrects an error code so that it is valid to pass to userspace.
Signed-off-by: Steve Grubb <linux_4ever@yahoo.com>
Signed-off-by: James Morris <jmorris@halo.namei>
security/selinux/ss/services.c
patch
|
blob
|
history
diff --git
a/security/selinux/ss/services.c
b/security/selinux/ss/services.c
index
f00161e
..
6100fc0
100644
(file)
--- a/
security/selinux/ss/services.c
+++ b/
security/selinux/ss/services.c
@@
-2127,7
+2127,7
@@
int selinux_audit_rule_init(u32 field, u32 op, char *rulestr,
*rule = NULL;
if (!ss_initialized)
- return -ENOTSUPP;
+ return -E
OP
NOTSUPP;
switch (field) {
case AUDIT_SUBJ_USER: