NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/52018: ptrace(2) PT_SYSCALL generates SIGTRAP without si_code



>Number:         52018
>Category:       kern
>Synopsis:       ptrace(2) PT_SYSCALL generates SIGTRAP without si_code
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 01 07:30:00 +0000 2017
>Originator:     Kamil Rytarowski
>Release:        NetBSD 7.99.59 amd64
>Organization:
TNF
>Environment:
NetBSD rugged 7.99.59 NetBSD 7.99.59 (GENERIC) #14: Tue Feb 14 18:00:59 CET 2017  root@chieftec:/public/netbsd-tmp-root/sys/arch/amd64/compile/GENERIC amd64
>Description:
The PT_SYSCALL operation generates plain SIGTRAP signal, but without appropriate si_code. It should generate TRAP_SCE on syscall entry and TRAP_SCX on syscall exit.
>How-To-Repeat:
Run syscall1 test in tests/kernel/t_ptrace_wait*
>Fix:
N/A



Home | Main Index | Thread Index | Old Index