Commit 7a71ed71 authored by Paul Lawrence's avatar Paul Lawrence Committed by Treehugger Robot
Browse files

ANDROID: fuse-bpf: Fix the issue of abnormal lseek system calls



fuse_lseek_backing was returning the offset as an int, which would then
be treated as an ERR if in the range 4G-4096 and 4G.

Although the call would appear to work correctly, the file position
would be incorrect according to a subsequent fseek with SEEK_CUR.

Based on a change by chenyuwen <chenyuwen1@meizu.com> who found and
fixed this issue.

Bug: 319219307
Change-Id: I3aef5fb22751a72ce2bd7674ee081956a89fc752
Signed-off-by: default avatarchenyuwen <chenyuwen1@meizu.com>
Signed-off-by: default avatarPaul Lawrence <paullawrence@google.com>
parent da99db44
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment