summaryrefslogtreecommitdiff
path: root/fs/ksmbd/misc.h
diff options
context:
space:
mode:
authorNamjae Jeon <linkinjeon@kernel.org>2021-09-21 08:19:33 +0300
committerSteve French <stfrench@microsoft.com>2021-09-23 07:37:38 +0300
commit4ea477988c423a57241ea4840b12832de6fabdfd (patch)
tree3a22c20d0b7300de5acfb70c1b93c91faf792ef9 /fs/ksmbd/misc.h
parent18a015bccf9e8927008d0a255c9f14b8ec15a648 (diff)
downloadlinux-4ea477988c423a57241ea4840b12832de6fabdfd.tar.xz
ksmbd: remove follow symlinks support
Use LOOKUP_NO_SYMLINKS flags for default lookup to prohibit the middle of symlink component lookup and remove follow symlinks parameter support. We re-implement it as reparse point later. Test result: smbclient -Ulinkinjeon%1234 //172.30.1.42/share -c "get hacked/passwd passwd" NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file \hacked\passwd Cc: Ralph Böhme <slow@samba.org> Cc: Steve French <smfrench@gmail.com> Acked-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/ksmbd/misc.h')
0 files changed, 0 insertions, 0 deletions