[LTP] [PATCH 4/4] syscalls/fanotify15: verify fid for dirent events

Cyril Hrubis chrubis@suse.cz
Thu Apr 18 20:58:33 CEST 2019


Hi!
> Is anybody else seeing these errors with all_filesystems?
> 
> tst_test.c:1157: INFO: Testing on xfs
> tst_mkfs.c:90: INFO: Formatting /dev/loop0 with xfs opts='' extra opts=''
> mkfs.xfs: Use the -f option to force overwrite.
> tst_mkfs.c:101: BROK: mkfs.xfs:1: tst_test.c failed with 751

That looks strange. If I'm looking at this correctly the 751 is returned
from tst_run_cmd() which basically returns the value from waitpid() but
we call WEXITSTATUS() there before we return the number, which should
return only least significant 8 bits.

So as far as I can tell this output is impossible.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list