aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorGabriel Marcano <[email protected]>2023-09-13 04:50:32 +0000
committerKonstantin Komarov <[email protected]>2023-09-28 12:04:06 +0000
commit85a4780dc96ed9dd643bbadf236552b3320fae26 (patch)
tree2d2d21d82fd6dc606f2db7a776aeb397b92613de /security/selinux/hooks.c
parentfs/ntfs3: Fix possible null-pointer dereference in hdr_find_e() (diff)
downloadkernel-85a4780dc96ed9dd643bbadf236552b3320fae26.tar.gz
kernel-85a4780dc96ed9dd643bbadf236552b3320fae26.zip
fs/ntfs3: Fix directory element type detection
Calling stat() from userspace correctly identified junctions in an NTFS partition as symlinks, but using readdir() and iterating through the directory containing the same junction did not identify the junction as a symlink. When emitting directory contents, check FILE_ATTRIBUTE_REPARSE_POINT attribute to detect junctions and report them as links. Signed-off-by: Gabriel Marcano <[email protected]> Signed-off-by: Konstantin Komarov <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions