我正在编写自己的内核模块,它捕获vfs_mkdir(struct inode *, struct dentry *, int)内核函数调用并尝试记录发生此调用的磁盘上的路径名.
vfs_mkdir(struct inode *, struct dentry *, int)
我想使用dentry_path内核函数转换struct dentry *为路径名.当我插入模块时,我发现了一个错误
dentry_path
struct dentry *
未知的符号dentry_path
我的内核版本是2.6.32,它应该被导出.我无法弄清楚原因.还有其他选择吗?
linux filesystems linux-kernel
filesystems ×1
linux ×1
linux-kernel ×1