summaryrefslogtreecommitdiffstats
path: root/source4/ntvfs/posix/pvfs_sys.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:ntvfs/posix: correctly reset errno on success in pvfs_sys_mkdir()Stefan Metzmacher2014-04-021-0/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* ntvfs: Fix CID 1107225 Resource leakVolker Lendecke2013-10-211-1/+3
| | | | | | | After the talloc_strdup, we don't need cwd anymore. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4/pvfs: handle non-POSIX compliant Tru64, NetBSD and FreeBSD errno on ↵Björn Jacke2012-06-101-1/+22
| | | | | | O_NOFOLLOW symlink open calls see also f75f1d62339f0accb4e574645b1d265c75a01b5b
* s4-ntvfs: added allow_override check based on use of NT ACLAndrew Tridgell2011-12-011-14/+14
| | | | | | | | This disables the posix permission override if the calculated permissions did not come from a NT ACL. Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Dec 1 05:14:49 CET 2011 on sn-devel-104
* s4-pvfs_sys: build on systems without O_NOFOLLOW or O_DIRECTORYAndrew Tridgell2010-03-051-4/+22
|
* s4-pvfs_sys: talloc_free should be before errno restoreAndrew Tridgell2010-03-051-13/+13
| | | | talloc can potentially change the errno
* s4-pvfs: use O_FOLLOW one level at a time for security overridesAndrew Tridgell2010-03-051-37/+357
| | | | | To prevent symlink attacks we need to use O_NOFOLLOW one level at a time when processing a root security override
* s4-pvfs: new pvfs_sys module Andrew Tridgell2010-03-051-0/+300
The pvfs_sys_*() calls provide wrapper functions for posix file functions which use root privileges to override EACCES failures if PVFS_FLAG_PERM_OVERRIDE is set Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>