Commit Graph

2 Commits

Author SHA1 Message Date
Paul Lawrence
ee77e3bbc9 ANDROID: fuse-bpf: Align data structs for 32-bit kernels
BPF is always 64-bit code, so we need to pad the uapi structs to be the
same on 32-bit as 64-bit

Bug: 285477572
Test: Cuttlefish x86_64, x86 and x86 only all boot and load fuseMedia
Change-Id: Idf5b09b2581b8d097048e7d2ff4039cd1806c082
Signed-off-by: Paul Lawrence <paullawrence@google.com>
(cherry picked from commit 523bfe85392c3996b9c84bb964ee0df3a50a91a3)
2025-07-16 14:15:45 -07:00
Daniel Rosenberg
8be90ef631 ANDROID: fuse-bpf: fuse-bpf v1.2
This is a squash of the cherry-picks of the following commits from
common-android15-6.1 branch

ANDROID: fuse-bpf: Fix flock test compile error
ANDROID: fuse-bpf: Add NULL pointer check in fuse_entry_revalidate
ANDROID: fuse-bpf: Get correct inode in mkdir
ANDROID: fuse-bpf: Use stored bpf for create_open
ANDROID: fuse-bpf: Add bpf to negative fuse_dentry
ANDROID: fuse-bpf: Check inode not null
ANDROID: fuse-bpf: Add partial ioctl support
ANDROID: fuse-bpf: Add partial flock support
ANDROID: fuse-bpf: Add NULL pointer check in fuse_release_in
ANDROID: fuse-bpf: Move FUSE_RELEASE to correct place
ANDROID: fuse-bpf: Ensure bpf field can never be nulled
ANDROID: fuse-bpf: Fix bpf_test_xattr testcase error
ANDROID: fuse-bpf: Simplify and fix setting bpf program
ANDROID: fuse-bpf: Make fuse_test compile and pass
ANDROID: fuse-bpf: Run bpf with migration disabled
ANDROID: fuse-bpf: Do not change bpf program in lookups
ANDROID: fuse-bpf: Correctly put backing files
ANDROID: fuse-bpf: Fix crash from assuming iter is kvec
ANDROID: fuse-bpf: Add /sys/fs flags for fuse-bpf version
ANDROID: fuse-bpf: Make sure to declare functions
ANDROID: fuse-bpf v1.1

Test: Builds, fuse_test does not pass (fixed in followup CL)
Bug: 329877626
Change-Id: Ib94e7c1cdb32df3f852c68e553627aba2b723fd4
Signed-off-by: Paul Lawrence <paullawrence@google.com>
Signed-off-by: Daniel Rosenberg <drosen@google.com>
2025-02-10 15:20:35 -08:00