]> git.ipfire.org Git - thirdparty/samba.git/commit
s4-pvfs: use O_FOLLOW one level at a time for security overrides
authorAndrew Tridgell <tridge@samba.org>
Fri, 5 Mar 2010 11:46:44 +0000 (22:46 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 5 Mar 2010 12:07:32 +0000 (23:07 +1100)
commitf7c97c8597a2ac375983909c26027abde060edb4
treecc65009035a96703757930af2d3aeb324b94dd20
parentf3c738f8193665a80835471f6754a66b20725afa
s4-pvfs: use O_FOLLOW one level at a time for security overrides

To prevent symlink attacks we need to use O_NOFOLLOW one level at a
time when processing a root security override
source4/ntvfs/posix/pvfs_sys.c