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
tree: 69c046ea5611644688216b8e9fcec9ec0c5226ce
  1. test/
  2. Android.bp
  3. fuse_media.c
  4. LICENSE
  5. METADATA
  6. OWNERS
  7. PREUPLOAD.cfg
  8. time_in_state.c
  9. time_in_state_test.cpp