Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libbpf-tools: Allow filelife to run on kernels without CONIFG_SECURITY
security_inode_create does NOT exist if CONIFG_SECURITY is not set. The tool filelife attaches to security_inode_create unconditionally and result in attach error. Fix it by checking symbol existence. Signed-off-by: Hengqi Chen <[email protected]>
- Loading branch information