Catch CANONICAL_PATH in prefilter
FUSE_CANONICAL_PATH is an opcode specific for Android, and as such was
missed in the first implementation.
Fix by introducing this special case, which prints the only argument
sent to the daemon: the nodeid for the requested path.
Test: \
adb root
adb shell "mount -t debugfs none /sys/kernel/debug/"
adb shell "echo 1 > /sys/kernel/tracing/tracing_on"
adb shell cat /sys/kernel/tracing/trace_pipe | grep CanonicalPath
adb shell echo "hello" > /storage/emulated/0/Android/data/deleteme
Bug: 202785178
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I0c370addfb79d6312e135302e79067127be967a8
1 file changed