Hold MP lock for getppid(). As noted by Dillon getppid() is not MP safe.
authorDavid Rhodus <drhodus@dragonflybsd.org>
Thu, 23 Mar 2006 20:55:07 +0000 (20:55 +0000)
committerDavid Rhodus <drhodus@dragonflybsd.org>
Thu, 23 Mar 2006 20:55:07 +0000 (20:55 +0000)
commit07c865ae172b1ca4bafa42e510b7cb72e92dab6e
tree3e7aa7d5ac2c696e641739cd92b731e8176a7e2c
parent2087b41a8cc9712f447a8e62d0c751af8143022b
Hold MP lock for getppid().  As noted by Dillon getppid() is not MP safe.
This need sthe MP lock for cases such as a parent dying and becoming
inherited by init.
sys/kern/kern_prot.c
sys/kern/syscalls.master