Andrew Bartlett
d5e6a47f06
s3-talloc Change TALLOC_P() to talloc()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_P isn't standard talloc.
2011-06-09 12:40:08 +02:00
Andrew Bartlett
3d15137653
s3-talloc Change TALLOC_ARRAY() to talloc_array()
...
Using the standard macro makes it easier to move code into common, as
TALLOC_ARRAY isn't standard talloc.
2011-06-09 12:40:08 +02:00
Jeremy Allison
bb00bdbe8f
Fixup use of const.
2011-05-06 01:44:07 +02:00
Jeremy Allison
76f5a39c7f
Change the char * pointers in the struct to const char * (which is how they're treated).
2011-05-06 01:44:07 +02:00
Günther Deschner
c7073f8b54
s3-vfs: rename open function to open_fn.
...
This should finally fix the AIX build and allow to remove AIX specific ifdefs.
Guenther
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
2011-04-21 02:01:20 +02:00
Günther Deschner
45364f5e69
s3-vfs: include smbd/smbd.h in vfs modules.
...
Guenther
2011-03-30 01:13:08 +02:00
Günther Deschner
0e771263ee
s3-includes: only include system/filesys.h when needed.
...
Guenther
2011-03-30 01:13:07 +02:00
Jeremy Allison
a674a56a97
Add fdopendir to the VFS. We will use this to reuse a directory fd already open by NtCreateX.
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed Feb 9 00:55:22 CET 2011 on sn-devel-104
2011-02-09 00:55:22 +01:00
olivier
817ee96277
switch from mtime to ctime which is more reliable if files can be accessed outside samba as well
...
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Sat Nov 20 03:07:04 CET 2010 on sn-devel-104
2010-11-20 03:07:03 +01:00
Björn Jacke
ec643df212
s3/vfs_scannedonly: use smb_msleep instead of nanosleep
...
Thanks to Joachim Schmitz. This fixes bug #7478
2010-09-16 21:38:19 +02:00
olivier
72cd5bcd58
make scannedonly notify the scanner if no .scanned: file was found during rename
2010-08-03 17:07:56 +02:00
Andreas Schneider
d11e184ed2
s3-vfs: Make sure that retval isn't used uninitialized.
...
Found by clang-analyzer.
2010-06-28 12:56:13 +02:00
Jeremy Allison
d899032636
Fix bug 7075 - bug in vfs_scannedonly rmdir implementation.
...
Check for NULL on opendir, correctly call next rmdir.
Jeremy.
2010-02-04 16:23:32 -08:00
Björn Jacke
ae95e8028c
s3:vfs_scannedonly: fix build on HP-UX
2010-02-04 10:37:17 +01:00
olivier
e95e3270d1
AIX doesn't have MSG_DONTWAIT
2010-01-29 15:26:36 +01:00
Olivier Sessink
3c42e11ff3
Part 4 of bug #7028 - include scannedonly VFS module
...
Fix some issues with handling names ending in '/'.
2010-01-14 12:13:14 -08:00
Jeremy Allison
ed457e07b9
Fix two uses of strncat -> strlcat. Ensure proper use of strncpy when setting socket name.
...
Jeremy.
2010-01-12 21:18:36 -08:00
Volker Lendecke
2d4dda0688
s3: Lift the version of the scannedonly VFS module
2010-01-12 22:58:51 +01:00
Olivier Sessink
31e142854b
s3: Add the "scannedonly" vfs virus scanner interface module
2010-01-12 22:57:18 +01:00