diff options
| author | Namjae Jeon <[email protected]> | 2021-09-21 05:19:33 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2021-09-23 04:37:38 +0000 |
| commit | 4ea477988c423a57241ea4840b12832de6fabdfd (patch) | |
| tree | 3a22c20d0b7300de5acfb70c1b93c91faf792ef9 /drivers/fpga/ice40-spi.c | |
| parent | ksmbd: check protocol id in ksmbd_verify_smb_message() (diff) | |
| download | kernel-4ea477988c423a57241ea4840b12832de6fabdfd.tar.gz kernel-4ea477988c423a57241ea4840b12832de6fabdfd.zip | |
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 <[email protected]>
Cc: Steve French <[email protected]>
Acked-by: Ronnie Sahlberg <[email protected]>
Signed-off-by: Namjae Jeon <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/fpga/ice40-spi.c')
0 files changed, 0 insertions, 0 deletions
