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

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

 



On Thu, May 29, 2008 at 03:20:05PM -0700, Dave Leskovec wrote:
> 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).

  Sanity test looks fine to me, sure, +1

Daniel

-- 
Red Hat Virtualization group http://redhat.com/virtualization/
Daniel Veillard      | virtualization library  http://libvirt.org/
veillard@xxxxxxxxxx  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine  http://rpmfind.net/

--
Libvir-list mailing list
Libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]