• A
    selftest: add a test case for PTRACE_PEEKSIGINFO · 17afab1d
    Andrey Vagin 提交于
    * 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: NAndrew 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: NAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
    17afab1d
peeksiginfo.c 4.5 KB