[lkml]   [2006]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: What is ptrace flag PT_TRACESYSGOOD for?
    On Wed, Mar 15, 2006 at 12:00:56AM +0100, Pavel Machek wrote:
    > Yes.. and unless you deliver ptrace() syscall stops with different
    > signal, you can't tell difference between syscall stop and real
    > SIGTRAP.

    You can, but you have to examine registers in order to do this. This
    is a concern when running gdb inside UML. gdb breakpoints will cause
    real SIGTRAPs, while system calls cause synthetic ones. Before
    switching to TRACESYS_GOOD, UML examined orig_eax to distinguish
    between them.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2006-03-15 02:14    [W:0.021 / U:0.196 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site