mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-11 23:24:22 -04:00
UPSTREAM: ANDROID: fuse-bpf: Avoid reusing uint64_t for file
This moves the backing/fd files to their own space, instead of reusing the userspace provided fds. Bug: 222619123 Test: fuse_test passes, on cuttlefish CtsCameraTestCases passes Signed-off-by: Daniel Rosenberg <drosen@google.com> Change-Id: I5d3b1ea8299f249ef5adc1ce2b7f45404a041208
This commit is contained in:
parent
cbe5f9cd71
commit
66d1fc6d06
6 changed files with 34 additions and 30 deletions
|
|
@ -527,6 +527,12 @@ struct fuse_entry_bpf_out {
|
|||
uint64_t bpf_fd;
|
||||
};
|
||||
|
||||
struct fuse_entry_bpf {
|
||||
struct fuse_entry_bpf_out out;
|
||||
struct file *backing_file;
|
||||
struct file *bpf_file;
|
||||
};
|
||||
|
||||
struct fuse_forget_in {
|
||||
uint64_t nlookup;
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue