Commit 4a0a1e84 authored by Yufen Yu's avatar Yufen Yu Committed by Cheng Jian
Browse files

xfs: add writable tracepoint for xfs file buffer read

hulk inclusion
category: feature
bugzilla: https://gitee.com/openeuler/kernel/issues/I3UHF8


CVE: NA

-------------------------------------------------

This patch adds a new struct xfs_writable_file into file
uapi/include/linux/xfs.h and adds a tracepoint that can modify
struct xfs_writable_file. Then we can set file->f_mode in ebpf
program to control the file.

Signed-off-by: default avatarYufen Yu <yuyufen@huawei.com>
Reviewed-by: default avatarHou Tao <houtao1@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 9ec97a62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment