summaryrefslogtreecommitdiff
path: root/testsuite/smbd/se_access_check.exp
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-05-30 13:28:03 -0700
committerJeremy Allison <jra@samba.org>2009-05-30 13:28:03 -0700
commitff736dfcadbac8dd7e220eb1f10aa2dfeb1cf7e7 (patch)
tree2886d66147302e241fbd6feedb2d0a75e8a54205 /testsuite/smbd/se_access_check.exp
parent68e3442922ff222a5753533561352dd3a11ac0d2 (diff)
downloadsamba-ff736dfcadbac8dd7e220eb1f10aa2dfeb1cf7e7.tar.gz
samba-ff736dfcadbac8dd7e220eb1f10aa2dfeb1cf7e7.tar.bz2
samba-ff736dfcadbac8dd7e220eb1f10aa2dfeb1cf7e7.zip
Fix bug #6421 - POSIX read-only open fails on read-only shares.
The change to smbd/trans2.c opens up SETFILEINFO calls to POSIX_OPEN only. The change to first smbd/open.c closes 2 holes that would have been exposed by allowing POSIX_OPENS on readonly shares, and their ability to set arbitrary flags permutations. The O_CREAT -> O_CREAT|O_EXCL change removes an illegal combination (O_EXCL without O_CREAT) that previously was being passed down to the open syscall. Jeremy.
Diffstat (limited to 'testsuite/smbd/se_access_check.exp')
0 files changed, 0 insertions, 0 deletions