opnsense-src/tests/sys/fs/fusefs
Alan Somers 18b19f8c6e fusefs: correctly set lock owner during FUSE_SETLK
During FUSE_SETLK, the owner field should uniquely identify the calling
process.  The fusefs module now sets it to the process's pid.
Previously, it expected the calling process to set it directly, which
was wrong.

libfuse also apparently expects the owner field to be set during
FUSE_GETLK, though I'm not sure why.

PR:		256005
Reported by:	Agata <chogata@moosefs.pro>
MFC after:	2 weeks
Reviewed by:	pfg
Differential Revision: https://reviews.freebsd.org/D30622
2021-06-25 20:40:08 -06:00
..
access.cc Fix issues with FUSE_ACCESS when default_permissions is disabled 2020-05-22 18:11:17 +00:00
allow_other.cc fusefs tests: quell Coverity "Argument cannot be negative" warnings 2020-10-02 17:06:05 +00:00
bmap.cc fusefs: fix the tests for a wider range of maxphys 2020-12-28 18:56:17 +00:00
cache.cc fusefs: avoid cache corruption with buggy fuse servers 2020-03-11 04:29:45 +00:00
copy_file_range.cc fusefs: implement FUSE_COPY_FILE_RANGE. 2021-01-01 10:18:23 -07:00
create.cc fusefs tests: quell Coverity "Argument cannot be negative" warnings 2020-10-02 17:06:05 +00:00
default_permissions.cc fusefs: implement FUSE_COPY_FILE_RANGE. 2021-01-01 10:18:23 -07:00
default_permissions_privileged.cc fusefs: fix two small bugs in the tests' expectations 2020-05-08 23:00:02 +00:00
destroy.cc fusefs: add SVN Keywords to the test files 2019-08-13 15:49:40 +00:00
dev_fuse_poll.cc fusefs: coverity cleanup in the tests 2019-09-06 19:50:45 +00:00
fifo.cc fusefs: coverity cleanup in the tests 2019-09-06 19:50:45 +00:00
flush.cc fusefs: fix two bugs regarding fcntl file locks 2021-03-18 17:09:10 -06:00
forget.cc fusefs: fix the FUSE_FORGET unit test after r364064 2020-08-11 01:09:06 +00:00
fsync.cc fusefs: fix fsync for files with multiple open handles 2020-03-09 01:57:21 +00:00
fsyncdir.cc fusefs: skip some tests when unsafe aio is disabled 2019-08-13 15:52:28 +00:00
getattr.cc fusefs: fix intermittency in some ENOENT tests 2020-05-18 18:36:32 +00:00
interrupt.cc fusefs: coverity cleanup in the tests 2019-09-06 19:50:45 +00:00
io.cc fusefs: avoid cache corruption with buggy fuse servers 2020-03-11 04:29:45 +00:00
link.cc fusefs: add SVN Keywords to the test files 2019-08-13 15:49:40 +00:00
locks.cc fusefs: correctly set lock owner during FUSE_SETLK 2021-06-25 20:40:08 -06:00
lookup.cc fusefs: add SVN Keywords to the test files 2019-08-13 15:49:40 +00:00
lseek.cc fusefs: update FUSE protocol to 7.24 and implement FUSE_LSEEK 2020-12-31 08:51:47 -07:00
Makefile fusefs: set d_off during VOP_READDIR 2021-02-12 21:50:52 -07:00
mkdir.cc fusefs: add SVN Keywords to the test files 2019-08-13 15:49:40 +00:00
mknod.cc fusefs: initialize C++ classes the Coverity way 2019-09-16 15:56:21 +00:00
mockfs.cc fusefs: ensure that FUSE ops' headers' unique values are actually unique 2021-06-19 14:45:29 -06:00
mockfs.hh fusefs: ensure that FUSE ops' headers' unique values are actually unique 2021-06-19 14:45:29 -06:00
mount.cc fusefs: add SVN Keywords to the test files 2019-08-13 15:49:40 +00:00
nfs.cc fusefs: add SVN Keywords to the test files 2019-08-13 15:49:40 +00:00
notify.cc [skip ci] fix typo in comment in the fusefs tests 2020-03-09 00:14:09 +00:00
open.cc fusefs tests: quell Coverity "Argument cannot be negative" warnings 2020-10-02 17:06:05 +00:00
opendir.cc fusefs tests: quell Coverity "Argument cannot be negative" warnings 2020-10-02 17:06:05 +00:00
read.cc fusefs: fix some memory leaks in the tests. 2020-02-12 18:11:07 +00:00
readdir.cc fusefs: set d_off during VOP_READDIR 2021-02-12 21:50:52 -07:00
readlink.cc fusefs: add SVN Keywords to the test files 2019-08-13 15:49:40 +00:00
release.cc fusefs: fix two bugs regarding fcntl file locks 2021-03-18 17:09:10 -06:00
releasedir.cc fusefs tests: quell Coverity "Argument cannot be negative" warnings 2020-10-02 17:06:05 +00:00
rename.cc Fix issues with FUSE_ACCESS when default_permissions is disabled 2020-05-22 18:11:17 +00:00
rmdir.cc Fix issues with FUSE_ACCESS when default_permissions is disabled 2020-05-22 18:11:17 +00:00
setattr.cc tests: fusefs: silence remaining unsigned/signed comparison warnings 2020-01-10 21:51:27 +00:00
statfs.cc fusefs: add SVN Keywords to the test files 2019-08-13 15:49:40 +00:00
symlink.cc fusefs: add SVN Keywords to the test files 2019-08-13 15:49:40 +00:00
unlink.cc Fix issues with FUSE_ACCESS when default_permissions is disabled 2020-05-22 18:11:17 +00:00
utils.cc fusefs: fix an expectation in one of the tests 2021-01-01 10:18:22 -07:00
utils.hh fusefs: fix the tests for a wider range of maxphys 2020-12-28 18:56:17 +00:00
write.cc fusefs: reenable the WriteCluster.cluster_write_err test 2021-05-30 16:51:56 -06:00
xattr.cc Fix issues with FUSE_ACCESS when default_permissions is disabled 2020-05-22 18:11:17 +00:00