correct return code in selinux_audit_rule_init
PATCH 1/1 correct return code in selinux_audit_rule_init
This patch corrects an error return code to be something user space recognizes.
Signed-off-by Steve Grubb <[email protected]>
____________________________________________________________________________________
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
security/selinux/ss/services.c +1 -1
@@ -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 :
Quoted 3 lines · Steve G
This patch corrects an error return code to be something user space recognizes.
Signed-off-by Steve Grubb <[email protected]>
Applied togit://git.kernel.org/pub/scm/linux/kernel/git/jmorris/selinux-2.6.git#for-akpm
I'll likely push it to Linus in a day or so.
Signature · 7 lines
James Morris <[email protected]> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.