Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot track users attempting to follow symlinks outside of a directory root #2573

Open
dwindsor opened this issue Jun 17, 2024 · 0 comments · May be fixed by #2574
Open

Cannot track users attempting to follow symlinks outside of a directory root #2573

dwindsor opened this issue Jun 17, 2024 · 0 comments · May be fixed by #2574

Comments

@dwindsor
Copy link
Collaborator

In order to track attempts to follow symlinks outside of a directory root, we need to be able to extract the d_name.name member from struct dentry.

The LSM function used to track this behavior is security_inode_follow_link (available since 4.19):

int security_inode_follow_link(struct dentry *dentry, struct inode *inode, bool rcu);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant