summaryrefslogtreecommitdiff
path: root/source3/modules/onefs_system.c
AgeCommit message (Collapse)AuthorFilesLines
2011-03-30s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner1-0/+1
Guenther
2010-12-15Protect the onefs sendfile from EAGAIN/EWOULDBLOCK.Jeremy Allison1-1/+5
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Dec 15 03:26:43 CET 2010 on sn-devel-104
2009-09-24s3: Add more helpful debugging to some of the streams codeTim Prouty1-1/+1
2009-09-24vfs catia: Fix the double translation that was happening with createfile and ↵Aravind Srinivasan1-5/+20
open. Since the catia translation is implemented for open, it should not also be done in createfile. By removing createfile from catia, translation is now done correctly for the primary open path. In order to support systems that have custom createfile implementations that don't eventually call SMB_VFS_OPEN, SMB_VFS_TRANSLATE_NAME has been expanded to take an additional argument that specifies direction. Signed-off-by: Tim Prouty <tprouty@samba.org>
2009-05-28s3 onefs: update the onefs module to be compliant with stat_exTim Prouty1-0/+94
2009-05-12s3 onefs: Fix ignore sacl parameterTim Prouty1-6/+8
2009-05-12Clean up assignments to iov_base, ensure it's always cast to void *. This ↵Jeremy Allison1-2/+2
should quieten some warnings with picky compilers on the buildfarm. Jeremy.
2009-05-05s3 onefs: Turn up the debug level for non-error casestprouty1-3/+3
2009-03-31s3 onefs: Add missing newlines to debug statements in the onefs moduleTim Prouty1-5/+5
2009-03-18s3 onefs: Correctly error out when the read returns EOFTim Prouty1-5/+9
Also add some more debugging.
2009-03-01s3 OneFS: Refactor config code and cleanup includesTim Prouty1-50/+4
2009-02-25s3 OneFS: Add .snapshot directory configuration handlingTim Prouty1-0/+50
2009-02-24S3: Add in profile counters for new vfs and syscall entries.todd stecher1-0/+18
2009-02-23s3 OneFS: Add a parameter that unconditionally allows execute accessTim Prouty1-0/+24
2009-02-21s3 OneFS: Add an atomic sendfile implementationTim Prouty1-0/+257
2009-02-20s3 OneFS: Add debugging for createfile_flagsZack Kirsch1-12/+15
2009-02-19s3 OneFS: Fixes "inherit permissions" and "nt acl support" for Onefs.Zack Kirsch1-1/+11
2009-02-13s3 OneFS: Add recvfile implementationTim Prouty1-0/+181
2009-02-09s3 OneFS: Add kernel oplocks implementationTim Prouty1-54/+4
A few functions in oplocks_onefs.c need to be accessed from the onefs vfs module. It would be ideal if oplocks were implemented at the vfs layer, but since they aren't yet, a new header is added to source3/include to make these functions available to the onefs vfs module. oplocks_onefs.o doesn't need to be linked into the onefs vfs module explicitly, since it is already linked into smbd by default.
2009-01-23s3: OneFS unmappable sids support.Dan Sledz1-1/+1
Updates the onefs vfs module to add configurable behavior to deal with sids that are unknown to us. The best examples are aces that come from robocopy/xcopy. Adds the following share level options (which are specific to the vfs_onefs module): onefs: ignore unmappable sids (Default = false) If this option is set to true, sids which could not be resolved to a uid/gid are ignored. If an unmappable sid is encountered as the owner or group, the owner/group is converted to BUILTIN\Administrators. onefs: unmappable sids ignore list (Default = empty) Only the sids in the list are ignored. onefs: ignore sacls (Default = false) SACLs are ignored onefs: unmappable sids deny everyone (Default = false) If an unmappable sid is found in a deny ACE, the ACE's identity is changed to Everyone.
2009-01-11s3: General cleanup of the open path in the OneFS vfs moduleTim Prouty1-5/+6
2008-12-09s3: Add the OneFS SMB_VFS_CREATE_FILE implementationTim Prouty1-0/+214
This is the first pass at extending the onefs vfs module to support the CIFS-specific enhancements available on OneFS. Most of this patch is massaging the sama open path to work with ifs_createfile. ifs_createfile is a CIFS-specific syscall for opening/files and directories. It adds support for: - Full in-kernel access checks using a windows access_mask - Cluster-coherent share mode locks - Cluster-coherent oplocks - Streams - Setting security descriptors at create time - Setting dos_attributes at create time This patch does not implement the samba side of the streams support or oplocks support. Tests that expect oplocks to be granted or streams to be supported will fail. This will be remedied in upcoming patches.