diff options
author | Ralph Boehme <slow@samba.org> | 2017-06-09 13:02:49 +0200 |
---|---|---|
committer | Ralph Boehme <slow@samba.org> | 2017-07-03 19:59:08 +0200 |
commit | 60e3e10e84983da073fcc539378ec50f88e9f41c (patch) | |
tree | feddaac92c4b7d1e2d663cc1211009f191d264ab /source3/smbd/globals.h | |
parent | 697d8e9e2a48643fe771723beaf1c33f625921f6 (diff) | |
download | samba-60e3e10e84983da073fcc539378ec50f88e9f41c.tar.gz |
s3/smbd: remove flags2 FLAGS2_READ_PERMIT_EXECUTE hack in the SMB2 code
By adding a SMB2 specific CHECK_READ_SMB2 macro called that always
grants read access if execute was granted, we can get rid of the flags2
hack.
All callers in the SMB2 code are converted to use the CHECK_READ_SMB2
macro.
Amongs other things, this later allows moving the handle checks in
copychunk_check_handles() down into the VFS layer where we don't have
access to the smbreq.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/smbd/globals.h')
0 files changed, 0 insertions, 0 deletions