summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2012-04-11remove --enable-developer from recursive waf build in autoconf buildAndrew Bartlett1-1/+1
wanting to run make test does not make you a developer in need of ABI checking. Andrew Bartlett
2012-04-11build: Add tevent deps for users of tevent callsAndrew Bartlett1-3/+3
This isn't strictly required - this isn't a build break at the moment, but is a good practice to directly depend on the major libraries we use, and helps us to have more fine-grained rather than global dependencies. Andrew Bartlett
2012-04-11Add a new module, aio_linux which implements Linux kernel aio support. Docs ↵Jeremy Allison5-0/+786
to follow. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Apr 11 02:29:04 CEST 2012 on sn-devel-104
2012-04-10s3: Use talloc_get_size instead of strlenVolker Lendecke1-1/+1
We've just talloc_asprintf'ed the fullpath, so talloc_get_size knows the strlen. Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue Apr 10 13:20:22 CEST 2012 on sn-devel-104
2012-04-10On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵Jeremy Allison2-3/+0
libreplace to make it standalone. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104
2012-04-09Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵Jeremy Allison3-12/+8
platforms that don't have these. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 9 21:40:42 CEST 2012 on sn-devel-104
2012-04-09s3: Fix the pthreadpool build on OS/XVolker Lendecke1-0/+1
OS/X does not have clock_gettime, and without replace.h we do not get the replacement macro
2012-04-09s3: Initialize aio_pending_size from aio_pthreadVolker Lendecke1-0/+19
2012-04-09s3: Initialize aio_pending_size from aio_pthreadVolker Lendecke1-19/+22
2012-04-09s3: Move the aio signal init to the vfs moduleVolker Lendecke3-21/+16
On platforms that don't have an RT signal space, signal initialization fails. aio_fork and aio_pthread don't need the signal, so this would block them from running as well.
2012-04-07s3: Compile fix for dbwrap_file.cVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 7 14:10:35 CEST 2012 on sn-devel-104
2012-04-07Found whilst back-porting the fix for bug 8837 - smbd crashes when deleting ↵Jeremy Allison1-9/+10
directory and veto files are enabled. The delete tokens are unique to each name hash representing a pathname, if we don't correctly return here we'll add duplicate tokens for a given pasname hash. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 7 02:13:58 CEST 2012 on sn-devel-104
2012-04-06Bug found by Herb. blkcnt_t st_ex_blksize is defined as a signed value. When ↵Jeremy Allison3-0/+53
it is on a 32-bit system and defined as a long, then inside vfswrap_get_alloc_size() we cast to a uint64_t. This sign-extends when converting to unsigned, so if the high bit of st_ex_blksize is set we return insane values to clients.
2012-04-06s3-utils: add do_reload_printers command to smbcontolBjörn Baumbach1-0/+14
Add command to force smbd to reload printers by sending MSG_PRINTER_PCAP.
2012-04-06build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett61-367/+364
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
2012-04-05s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett2-3/+3
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 5 07:13:29 CEST 2012 on sn-devel-104
2012-04-05s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett14-175/+5
If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
2012-04-05s3-build: Remove unused configure checks for xattr functionsAndrew Bartlett1-1/+1
2012-04-05s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett14-213/+6
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett13-133/+4
If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
2012-04-05s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett14-193/+2
2012-04-05build: Remove unused GLIBC_HACK_FCNTL64Andrew Bartlett1-13/+0
This is not set from anywhere, and refers to Red Hat 7.0, which is really, really old now. Andrew Bartlett
2012-04-05build: Fix sys_open() removal by including system/filesys.hAndrew Bartlett1-0/+1
2012-04-05build: Remove SMB_F* locking definesAndrew Bartlett6-28/+12
2012-04-05build: Remove SMB_STRUCT_FLOCK defineAndrew Bartlett3-6/+2
2012-04-05build: Remove SMB_STRUCT_DIR defineAndrew Bartlett29-154/+146
2012-04-05build: Remove SMB_STRUCT_DIRENT defineAndrew Bartlett19-59/+51
2012-04-05build: Remove sys_rewinddir wrapperAndrew Bartlett4-11/+2
2012-04-05build: Remove sys_closedir wrapperAndrew Bartlett8-28/+17
2012-04-05build: Remove sys_telldir wrapperAndrew Bartlett4-12/+2
2012-04-05build: Remove sys_seekdir wrapperAndrew Bartlett4-12/+2
2012-04-05build: Remove sys_readdir wrapperAndrew Bartlett8-17/+7
2012-04-05build: Remove sys_opendir wrapperAndrew Bartlett8-19/+9
2012-04-05build: Remove sys_fopen wrapperAndrew Bartlett6-17/+6
2012-04-05build: Remove sys_open wrapperAndrew Bartlett15-33/+23
2012-04-05build: Remove sys_creat wrapperAndrew Bartlett3-12/+2
2012-04-05build: Remove fallback call to sys_open as HAVE_CREAT is not actually ↵Andrew Bartlett1-8/+0
checked for
2012-04-05build: Remove sys_ftell wrapperAndrew Bartlett3-11/+1
2012-04-05build: Remove sys_lseek wrapperAndrew Bartlett9-21/+11
2012-04-05build: Remove sys_ftruncate wrapperAndrew Bartlett5-17/+7
2012-04-05build: combine off_t 64 bit and largefile testAndrew Bartlett1-24/+10
2012-04-05build: #ifdef LARGE_SMB_OFF_T as off_t is now always 64 bitsAndrew Bartlett5-113/+2
2012-04-05Remove off64_t declarationsAndrew Bartlett2-2/+2
2012-04-05build: Fix configure test that was declaring an off64_tAndrew Bartlett1-1/+0
2012-04-05build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any moreAndrew Bartlett4-206/+48
2012-04-05build: Remove configure tests for *64 functions and typesAndrew Bartlett2-486/+38
We now use the standard types only. Andrew Bartlett
2012-04-05build: Require 64-bit files support and do not define ↵Andrew Bartlett2-19/+7
HAVE_EXPLICIT_LARGEFILE_SUPPORT
2012-04-05build: use only standard _FILE_OFFSET_BITS=64 macro for large filesAndrew Bartlett1-145/+7
(We also already use any other macro as set by getconf LFS_CFLAGS, and the standard AC_SYS_LARGEFILE macro in libreplace). This is instead of using the transitional *64 posix largefile API Andrew Bartlett
2012-04-05Third part of fix for bug #8837 - smbd crashes when deleting directory and ↵Jeremy Allison1-1/+1
veto files are enabled. Use correct check to see if veto files has been enabled. Even if not set lp_veto_files() returns a valid string address (to a '\0' character). Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 5 01:36:04 CEST 2012 on sn-devel-104
2012-04-04Second part of bugfix for bug #8837 - smbd crashes when deleting directory ↵Jeremy Allison6-20/+74
and veto files are enabled. Store the 'struct security_token' as well as the 'struct security_unix_token' inside the locking db when setting a delete on close.