Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262557AbVCBWbd (ORCPT ); Wed, 2 Mar 2005 17:31:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262499AbVCBW3k (ORCPT ); Wed, 2 Mar 2005 17:29:40 -0500 Received: from mo01.iij4u.or.jp ([210.130.0.20]:46818 "EHLO mo01.iij4u.or.jp") by vger.kernel.org with ESMTP id S262507AbVCBWZH (ORCPT ); Wed, 2 Mar 2005 17:25:07 -0500 Date: Thu, 3 Mar 2005 07:24:54 +0900 From: Yoichi Yuasa To: Andrew Morton Cc: yuasa@hh.iij4u.or.jp, linux-kernel Subject: [PATCH 2.6.11-rc5-mm1] mips: fixed do_syscall_trace Message-Id: <20050303072454.45e08d9c.yuasa@hh.iij4u.or.jp> X-Mailer: Sylpheed version 1.0.1 (GTK+ 1.2.10; i386-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1557 Lines: 41 This patch had fixed an argument of audit_syscall_entry. This patch is only for 2.6.11-rc5-mm1. CC arch/mips/kernel/ptrace.o arch/mips/kernel/ptrace.c: In function 'do_syscall_trace': arch/mips/kernel/ptrace.c:310: warning: implicit declaration of function 'audit_syscall_entry' arch/mips/kernel/ptrace.c:310: error: 'struct pt_regs' has no member named 'orig_eax' arch/mips/kernel/ptrace.c:314: warning: implicit declaration of function 'audit_syscall_exit' make[1]: *** [arch/mips/kernel/ptrace.o] Error 1 make: *** [arch/mips/kernel] Error 2 Yoichi Signed-off-by: Yoichi Yuasa diff -urN -X dontdiff b-orig/arch/mips/kernel/ptrace.c b/arch/mips/kernel/ptrace.c --- b-orig/arch/mips/kernel/ptrace.c Fri Feb 25 01:40:47 2005 +++ b/arch/mips/kernel/ptrace.c Thu Mar 3 06:47:36 2005 @@ -21,6 +21,7 @@ #include #include #include +#include #include #include #include @@ -307,7 +308,7 @@ { if (unlikely(current->audit_context)) { if (!entryexit) - audit_syscall_entry(current, regs->orig_eax, + audit_syscall_entry(current, regs->regs[2], regs->regs[4], regs->regs[5], regs->regs[6], regs->regs[7]); else - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/