Commit:     3ad40d647d5e7c320385649e5eb422a5e89e035d
Parent:     28e8351ac22de25034e048c680014ad824323c65
Author:     Steve G <[EMAIL PROTECTED]>
AuthorDate: Tue Aug 14 12:50:46 2007 -0700
Committer:  James Morris <[EMAIL PROTECTED]>
CommitDate: Thu Aug 16 11:42:28 2007 -0400

    SELinux: correct error code in selinux_audit_rule_init
    Corrects an error code so that it is valid to pass to userspace.
    Signed-off-by: Steve Grubb <[EMAIL PROTECTED]>
    Signed-off-by: James Morris <[EMAIL PROTECTED]>
 security/selinux/ss/services.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/security/selinux/ss/services.c b/security/selinux/ss/services.c
index f00161e..6100fc0 100644
--- 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 
        *rule = NULL;
        if (!ss_initialized)
-               return -ENOTSUPP;
+               return -EOPNOTSUPP;
        switch (field) {
        case AUDIT_SUBJ_USER:
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to