31 Oct, 2011

1 commit


26 May, 2011

1 commit

  • The functions probe_kernel_write() and probe_kernel_read() do not modify
    the src pointer. Allow const pointers to be passed in without the need
    of a typecast.

    Acked-by: Mike Frysinger
    Acked-by: Heiko Carstens
    Acked-by: Martin Schwidefsky
    Signed-off-by: Steven Rostedt
    Link: http://lkml.kernel.org/r/1305824936.1465.4.camel@gandalf.stny.rr.com

    Steven Rostedt
     

28 Oct, 2010

1 commit


08 Jan, 2010

1 commit


12 Jun, 2009

1 commit

  • probe_kernel_write() gets used to write to the kernel address space.
    E.g. to patch the kernel (kgdb, ftrace, kprobes...). Some architectures
    however enable write protection for the kernel text section, so that
    writes to this region would fault.
    This patch allows to specify an architecture specific version of
    probe_kernel_write() which allows to handle and bypass write protection
    of the text segment.
    That way it is still possible to catch random writes to kernel text
    and explicitly allow writes via this interface.

    Signed-off-by: Heiko Carstens
    Signed-off-by: Martin Schwidefsky

    Heiko Carstens
     

18 Apr, 2008

2 commits

  • Fix two regressions dealing with the kgdb core.

    1) kgdb_skipexception and kgdb_post_primary_code are optional
    functions that are only required on archs that need special exception
    fixups.

    2) The kernel address space scope must be set on any probe_kernel_*
    function or archs such as ARCH=arm will not allow access to the kernel
    memory space. As an example, it is required to allow the full kernel
    address space is when you the kernel debugger to inspect a system
    call.

    Signed-off-by: Jason Wessel
    Signed-off-by: Ingo Molnar

    Jason Wessel
     
  • add probe_kernel_read() and probe_kernel_write().

    Uninlined and restricted to kernel range memory only, as suggested
    by Linus.

    Signed-off-by: Ingo Molnar
    Reviewed-by: Thomas Gleixner

    Ingo Molnar