• Andrey Vagin's avatar
    selftest: add a test case for PTRACE_PEEKSIGINFO · 17afab1d
    Andrey Vagin authored
    * Dump signals from process-wide and per-thread queues with
      different sizes of buffers.
    * Check error paths for buffers with restricted permissions. A part of
      buffer or a whole buffer is for read-only.
    * Try to get nonexistent signal.
    Signed-off-by: default avatarAndrew Vagin <avagin@openvz.org>
    Cc: Roland McGrath <roland@redhat.com>
    Cc: Oleg Nesterov <oleg@redhat.com>
    Cc: "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
    Cc: David Howells <dhowells@redhat.com>
    Cc: Dave Jones <davej@redhat.com>
    Cc: "Michael Kerrisk (man-pages)" <mtk.manpages@gmail.com>
    Cc: Pavel Emelyanov <xemul@parallels.com>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Cc: Pedro Alves <palves@redhat.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    17afab1d
peeksiginfo.c 4.54 KB