[libvirt] [PATCH 1/4] lxc: validate tty pid before kill()

Dave Leskovec dlesko at linux.vnet.ibm.com
Thu May 29 22:20:05 UTC 2008


This patch adds a check of the tty forwarding process pid before kill()'ing it
when destroying a domain.  If the pid value stored in the the vm structure is
invalid, sending a SIGKILL may be very bad if the value in question is something
like -1 (which just happens to be it's initial value).

-- 
Best Regards,
Dave Leskovec
IBM Linux Technology Center
Open Virtualization

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bad_tty_pid.patch
Type: text/x-patch
Size: 579 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20080529/6ec5988c/attachment-0001.bin>


More information about the libvir-list mailing list