fuse3 icon indicating copy to clipboard operation
fuse3 copied to clipboard

`offset` parameter of `lseek` is defined as unsigned

Open kastixx opened this issue 3 years ago • 1 comments

The seek offset may be negative if whence is SEEK_END or SEEK_CUR

kastixx avatar Oct 06 '22 15:10 kastixx

Looks like FUSE forwards lseek to userspace processes only for special whence values like SEEK_DATA and SEEK_HOLE that accept non-negative offsets only, while all normal seek operations are handled internally. Maybe this issue is not that important after all.

kastixx avatar Oct 07 '22 12:10 kastixx