17 Apr, 2008

1 commit


05 Mar, 2008

1 commit

  • Add CONFIG_HAVE_KRETPROBES to the arch//Kconfig file for relevant
    architectures with kprobes support. This facilitates easy handling of
    in-kernel modules (like samples/kprobes/kretprobe_example.c) that depend on
    kretprobes being present in the kernel.

    Thanks to Sam Ravnborg for helping make the patch more lean.

    Per Mathieu's suggestion, added CONFIG_KRETPROBES and fixed up dependencies.

    Signed-off-by: Ananth N Mavinakayanahalli
    Acked-by: Mathieu Desnoyers
    Acked-by: Ingo Molnar
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Ananth N Mavinakayanahalli
     

30 Jan, 2008

2 commits

  • There's no need for the *_MASK flags (TF_MASK, IF_MASK, etc), found in
    processor.h (both _32 and _64). They have a one-to-one mapping with the
    EFLAGS value. This patch removes the definitions, and use the already
    existent X86_EFLAGS_ version when applicable.

    [ roland@redhat.com: KVM build fixes. ]

    Signed-off-by: Glauber de Oliveira Costa
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Glauber de Oliveira Costa
     
  • This patch unifies kprobes code.

    - Unify kprobes_*.h to kprobes.h
    - Unify kprobes_*.c to kprobes.c
    (Differences are separated by ifdefs)
    - Most differences are related to REX prefix and rip relatives.
    - Two inline assembly code are different.
    - One difference in kprobe_handlre()
    - One fixup exception code is different, but it will be unified
    if mm/extable_*.c are unified.
    - Merge history logs into arch/x86/kernel/kprobes.c.

    Signed-off-by: Masami Hiramatsu
    Signed-off-by: Jim Keniston
    Signed-off-by: Ingo Molnar
    Signed-off-by: Thomas Gleixner

    Masami Hiramatsu
     

11 Oct, 2007

1 commit