]> git.ipfire.org Git - thirdparty/libvirt.git/commit
pidfile: Make checking binary path in virPidFileRead optional
authorPeter Krempa <pkrempa@redhat.com>
Thu, 26 Jan 2012 15:25:38 +0000 (16:25 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Mon, 27 Feb 2012 14:05:16 +0000 (15:05 +0100)
commit3e0623ebc86a4e173dd98e4cd5256bb5bb5cbdea
treea418f375717bca109df510a4fa56f3a6e1dae644
parent9bf1bcc59db4ba2a41be6ea7015bca5daf94c83f
pidfile: Make checking binary path in virPidFileRead optional

This patch changes behavior of virPidFileRead to enable passing NULL as
path to the binary the pid file should be checked against to skip this
check. This enables using this function for reading files that have same
semantics as pid files, but belong to unknown processes.
src/util/virpidfile.c