https://bugs.kde.org/show_bug.cgi?id=501741

--- Comment #3 from mcer...@redhat.com ---
Created attachment 181321
  --> https://bugs.kde.org/attachment.cgi?id=181321&action=edit
proposed patch

Hi Mark, thank you for your review, makes sense!  I'm attaching an updated
patch here.  Here is how it tests using a LTP-generated reproducer file (using
sudo so that the syscall can actually work):

41$ sudo ./vg-in-place --trace-children=no --trace-syscalls=yes  --tool=none
./cachestat03 |& fgrep sys_cachestat
SYSCALL[2498243,1](451) sys_cachestat ( 4294967295, 0x4841ff0, 0x483ffd8, 0 )
--> [pre-fail] Failure(0x9) 
SYSCALL[2498243,1](451) sys_cachestat ( 3, 0x0, 0x483ffd8, 0 )[sync] -->
Failure(0xe) 
SYSCALL[2498243,1](451) sys_cachestat ( 3, 0x4841ff0, 0x0, 0 )[sync] -->
Failure(0xe) 
SYSCALL[2498243,1](451) sys_cachestat ( 3, 0x4841ff0, 0x483ffd8, 4294967295
)[sync] --> Failure(0x16) 
SYSCALL[2498243,1](451) sys_cachestat ( 4, 0x4841ff0, 0x483ffd8, 0 )[sync] -->
Failure(0x5f) 
41$

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to