Fix typo, should zero the kinfo_proc's siglist, not the real one's - the real
one doesn't have one. Submitted by: jake, scottl Big pointed hat that lands one in the badcommitters box to: jmallett
This commit is contained in:
@@ -198,7 +198,7 @@ kvm_proclist(kd, what, arg, p, bp, maxcnt)
|
|||||||
* not exposed to userland. For compatability, just install
|
* not exposed to userland. For compatability, just install
|
||||||
* an empty signal set.
|
* an empty signal set.
|
||||||
*/
|
*/
|
||||||
SIGEMPTYSET(proc.p_siglist);
|
SIGEMPTYSET(kp->ki_siglist);
|
||||||
if (proc.p_procsig != NULL) {
|
if (proc.p_procsig != NULL) {
|
||||||
if (KREAD(kd, (u_long)proc.p_procsig, &procsig)) {
|
if (KREAD(kd, (u_long)proc.p_procsig, &procsig)) {
|
||||||
_kvm_err(kd, kd->program,
|
_kvm_err(kd, kd->program,
|
||||||
|
|||||||
Reference in New Issue
Block a user