-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ANDROID: fuse-bpf: Add /sys/fs flags for fuse-bpf version
Note that this is specific for the non-upstreamed version Bug: 202785178 Test: cat /sys/fs/fuse/fuse_bpf_major_version Change-Id: I68f9ca56778874975428839dfc1fd8f48b11bd75 Signed-off-by: Paul Lawrence <[email protected]>
- Loading branch information
1 parent
9d94dd4
commit 2a83701
Showing
2 changed files
with
53 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
What: /sys/fs/fuse/features/fuse_bpf | ||
Date: December 2022 | ||
Contact: Paul Lawrence <[email protected]> | ||
Description: | ||
Read-only file that contains the word 'supported' if fuse-bpf is | ||
supported, does not exist otherwise | ||
|
||
What: /sys/fs/fuse/bpf_prog_type_fuse | ||
Date: December 2022 | ||
Contact: Paul Lawrence <[email protected]> | ||
Description: | ||
bpf_prog_type_fuse defines the program type of bpf programs that | ||
may be passed to fuse-bpf. For upstream bpf program types, this | ||
is a constant defined in a contiguous array of constants. | ||
bpf_prog_type_fuse is appended to the end of the list, so it may | ||
change and therefore its value must be read from this file. | ||
|
||
Contents is ASCII decimal representation of bpf_prog_type_fuse | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters