diff options
author | Namjae Jeon <linkinjeon@kernel.org> | 2021-09-21 14:19:33 +0900 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2021-09-22 23:37:38 -0500 |
commit | 4ea477988c423a57241ea4840b12832de6fabdfd (patch) | |
tree | 3a22c20d0b7300de5acfb70c1b93c91faf792ef9 /fs/seq_file.c | |
parent | 18a015bccf9e8927008d0a255c9f14b8ec15a648 (diff) |
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/seq_file.c')
0 files changed, 0 insertions, 0 deletions