forked from puppetlabs/puppet
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(puppetlabs#8714) Don't follow symlinks in SELinux FS detection
When detecting the filesystem that a target file lives on, we used to follow symbolic links. This is actually a problem - the SELinux change applies to the link, not the target of the link. This rewrites the code to handle this more cleanly, following the logical tree up to locate the record in the set of mountpoints. Signed-off-by: Daniel Pittman <[email protected]>
- Loading branch information
Daniel Pittman
committed
Aug 31, 2012
1 parent
8fa6575
commit 13cb623
Showing
2 changed files
with
41 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters