Re: 2.6.11-rc5-mm1

From: Jeff Dike (jdike_at_addtoit.com)
Date: 03/03/05

  • Next message: Chris Wright: "Re: RFD: Kernel release numbering"
    To: Chris Wright <chrisw@osdl.org>
    Date:	Thu, 03 Mar 2005 03:04:32 -0500
    
    

    chrisw@osdl.org said:
    > I just did a more complete grep of the symbols that can get config'd
    > away (including CONFIG_AUDIT as well), and I think there's a few more
    > missing pieces. Sorry about that. Jeff, Ralf, Martin, these look ok?

    For UML, this is fine as far as it goes, but you're adding register references
    to arch-independent code, so this is needed as well:

    Index: linux-2.6.10/arch/um/kernel/ptrace.c
    ===================================================================
    --- linux-2.6.10.orig/arch/um/kernel/ptrace.c 2005-03-03 00:14:46.000000000 -0500
    +++ linux-2.6.10/arch/um/kernel/ptrace.c 2005-03-03 00:22:58.000000000 -0500
    @@ -340,11 +341,15 @@
     
             if (unlikely(current->audit_context)) {
                     if (!entryexit)
    - audit_syscall_entry(current, regs->orig_eax,
    - regs->ebx, regs->ecx,
    - regs->edx, regs->esi);
    + audit_syscall_entry(current,
    + UPT_SYSCALL_NR(&regs->regs),
    + UPT_SYSCALL_ARG1(&regs->regs),
    + UPT_SYSCALL_ARG2(&regs->regs),
    + UPT_SYSCALL_ARG3(&regs->regs),
    + UPT_SYSCALL_ARG4(&regs->regs));
                     else
    - audit_syscall_exit(current, regs->eax);
    + audit_syscall_exit(current,
    + UPT_SYSCALL_RET(&regs->regs));
             }
     
             /* Fake a debug trap */

    -
    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/


  • Next message: Chris Wright: "Re: RFD: Kernel release numbering"

    Relevant Pages

    • Re: XFS breakage in 2.6.18-rc1
      ... system disk too who had to take the hit. ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: How to run an a.out file in a kernel module
      ... called in a kernel module using call_usermodehelper ... Please read the FAQ at http://www.tux.org/lkml/ ... More majordomo info at http://vger.kernel.org/majordomo-info.html ...
      (Linux-Kernel)
    • Re: XFS Bug null pointer dereference in xfs_free_ag_extent
      ... I also filed bug 6877 at kernel.org ... send the line "unsubscribe linux-kernel" in ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [patch] remove unused acct variables from task_struct
      ... struct mempolicy *mempolicy; ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: DIPC alpha2 for i386, Alpha, SPARC, and M68k
      ... there seems to be a delay on cs.uwindsor.ca between the time you upload something and the time it actually shows up on the page. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ... To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)