Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5b9a4262232d632c28990fcdf4f36d0e0ade5f18
Commit:     5b9a4262232d632c28990fcdf4f36d0e0ade5f18
Parent:     d7fff6f4d1ed1bc31577df887fefcb1541923367
Author:     Steve Grubb <[EMAIL PROTECTED]>
AuthorDate: Tue May 29 10:38:18 2007 -0400
Committer:  Al Viro <[EMAIL PROTECTED]>
CommitDate: Sun Jul 22 09:57:02 2007 -0400

    [PATCH] Make IPC mode consistent
    
    The mode fields for IPC records are not consistent. Some are hex, others are
    octal. This patch makes them all octal.
    
    Signed-off-by: Steve Grubb <[EMAIL PROTECTED]>
    Signed-off-by: Al Viro <[EMAIL PROTECTED]>
---
 kernel/auditsc.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kernel/auditsc.c b/kernel/auditsc.c
index 145cbb7..f5e917e 100644
--- a/kernel/auditsc.c
+++ b/kernel/auditsc.c
@@ -995,7 +995,7 @@ static void audit_log_exit(struct audit_context *context, 
struct task_struct *ts
                case AUDIT_IPC: {
                        struct audit_aux_data_ipcctl *axi = (void *)aux;
                        audit_log_format(ab, 
-                                "ouid=%u ogid=%u mode=%x",
+                                "ouid=%u ogid=%u mode=%#o",
                                 axi->uid, axi->gid, axi->mode);
                        if (axi->osid != 0) {
                                char *ctx = NULL;
@@ -1014,7 +1014,7 @@ static void audit_log_exit(struct audit_context *context, 
struct task_struct *ts
                case AUDIT_IPC_SET_PERM: {
                        struct audit_aux_data_ipcctl *axi = (void *)aux;
                        audit_log_format(ab,
-                               "qbytes=%lx ouid=%u ogid=%u mode=%x",
+                               "qbytes=%lx ouid=%u ogid=%u mode=%#o",
                                axi->qbytes, axi->uid, axi->gid, axi->mode);
                        break; }
 
-
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  http://vger.kernel.org/majordomo-info.html

Reply via email to