Re: [PATCH v3 3/3] qemu: gpu: Get pid without binary validation

2022-02-03 Thread Michal Prívozník
On 2/2/22 17:28, Vasiliy Ulyanov wrote: > The binary validation in virPidFileReadPathIfAlive may fail with EACCES > if the calling process does not have CAP_SYS_PTRACE capability. > Therefore instead do only the check that the pidfile is locked by the > correct process. > > Fixes the same issue

[PATCH v3 3/3] qemu: gpu: Get pid without binary validation

2022-02-02 Thread Vasiliy Ulyanov
The binary validation in virPidFileReadPathIfAlive may fail with EACCES if the calling process does not have CAP_SYS_PTRACE capability. Therefore instead do only the check that the pidfile is locked by the correct process. Fixes the same issue as with swtpm. Signed-off-by: Vasiliy Ulyanov ---