projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.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
|
blame
|
history
diff --git
a/security/selinux/ss/services.c
b/security/selinux/ss/services.c
index f00161ef99ed17450ae395913730ca4154469e2d..6100fc023055c0b62e4d3d4691e0593424d38113 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: