]> granicus.if.org Git - sudo/commit
When checking whether a signal is user-generated, compare si_code
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 31 Jul 2012 17:36:59 +0000 (13:36 -0400)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 31 Jul 2012 17:36:59 +0000 (13:36 -0400)
commit146e371326aa2d9de4abb7157b423c91dc751603
tree7728b61dc0b7deb96cf515f15f8ffe0c28948b66
parent9b67d2c203e3f4150aa5c00db41b8c172988bbd4
When checking whether a signal is user-generated, compare si_code
against SI_USER instead of <= 0 since on HP-UX, terminal-related
signals get a code of 0.

--HG--
branch : 1.7
exec.c