[prev in list] [next in list] [prev in thread] [next in thread]
List: selinux
Subject: [PATCH] correct return code in selinux_audit_rule_init
From: Steve G <linux_4ever () yahoo ! com>
Date: 2007-08-14 19:50:46
Message-ID: 979167.28392.qm () web51509 ! mail ! re2 ! yahoo ! com
[Download RAW message or body]
This patch corrects an error return code to be something user space recognizes.
Signed-off-by: Steve Grubb <linux_4ever@yahoo.com>
____________________________________________________________________________________
Got a little couch potato?
Check out fun summer activities for kids.
http://search.yahoo.com/search?fr=oni_on_mail&p=summer+activities+for+kids&cs=bz
["linux-2.6.18-return.patch" (text/x-patch)]
diff -urp linux-2.6.18.x86_64.orig/security/selinux/ss/services.c \
linux-2.6.18.x86_64/security/selinux/ss/services.c
--- linux-2.6.18.x86_64.orig/security/selinux/ss/services.c 2007-08-14 \
15:41:32.000000000 -0400
+++ linux-2.6.18.x86_64/security/selinux/ss/services.c 2007-08-14 15:42:56.000000000 \
-0400 @@ -1927,7 +1927,7 @@ int selinux_audit_rule_init(u32 field, u
*rule = NULL;
if (!ss_initialized)
- return -ENOTSUPP;
+ return -EOPNOTSUPP;
switch (field) {
case AUDIT_SUBJ_USER:
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic