Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-05 | build: Remove sys_lseek wrapper | Andrew Bartlett | 1 | -9/+0 | |
2012-04-05 | build: Remove sys_ftruncate wrapper | Andrew Bartlett | 1 | -9/+0 | |
2012-04-05 | build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any more | Andrew Bartlett | 1 | -143/+44 | |
2012-03-24 | use usleep rather than sys_usleep in various places, in anticipation of ↵ | Jelmer Vernooij | 1 | -34/+0 | |
usleep moving to libreplace. | |||||
2012-03-24 | lib/util: Remove obsolete sys_getpid() and sys_fork(). | Jelmer Vernooij | 1 | -1/+1 | |
The performance of these is minimal (these days) and they can return invalid results when used as part of applications that do not use sys_fork(). Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 24 21:55:41 CET 2012 on sn-devel-104 | |||||
2012-02-17 | lib/util: Remove unused sys_sendto() | Andrew Bartlett | 1 | -18/+0 | |
Found by callcatcher. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Feb 17 13:48:05 CET 2012 on sn-devel-104 | |||||
2012-02-17 | lib/util: Remove unused sys_recv() | Andrew Bartlett | 1 | -18/+0 | |
Found by callcatcher. Andrew Bartlett | |||||
2012-02-17 | s3-lib Remove unused sys_fcntl_long() | Andrew Bartlett | 1 | -14/+0 | |
2012-02-17 | s3-lib Remove unused sys_fseek() | Andrew Bartlett | 1 | -17/+0 | |
2012-02-02 | s3: Use ARRAY_SIZE in bsd_attr_list | Volker Lendecke | 1 | -1/+1 | |
2012-01-06 | Comment out sys_get_number_of_cores() as we're no longer using this. | Jeremy Allison | 1 | -0/+2 | |
2012-01-06 | Add a sys_get_number_of_cores() function that calls sysconf or sysctl | Jeremy Allison | 1 | -0/+49 | |
and tunes the aio threads. | |||||
2011-10-27 | Include uid_wrapper correctly. | Andreas Schneider | 1 | -1/+0 | |
2011-10-14 | Fix sys_fseek wrapper | Brad Smith | 1 | -0/+2 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-10-06 | s3: Use the uid_wrapper | Volker Lendecke | 1 | -0/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2011-06-10 | Export init_stat_ex_from_stat for use in VFS modules. | Richard Sharpe | 1 | -6/+6 | |
Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jun 10 13:23:37 CEST 2011 on sn-devel-104 | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-06-01 | Change sys_getcd() to take no arguments and always return malloc'ed memory ↵ | Jeremy Allison | 1 | -7/+34 | |
(or NULL). Part of the efforts to remove PATH_MAX on modern systems. | |||||
2011-05-31 | lib/util Move sys_memalign into lib/util/system.c | Andrew Bartlett | 1 | -36/+0 | |
2011-05-04 | Fold null terminator into listlen length, change to strlcpy. | Jeremy Allison | 1 | -6/+4 | |
2011-05-03 | s3-system: move LOCK_ defines to lib/system.c | Günther Deschner | 1 | -0/+9 | |
Guenther | |||||
2011-05-03 | lib/util Move more network utility functions from source3 into lib/util | Andrew Bartlett | 1 | -71/+0 | |
This will help with the merge of the interfaces layer. Andrew Bartlett | |||||
2011-03-30 | s3-includes: only include system/filesys.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/passwd.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/capability.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/syslog.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | lib/util/util_pw: share sys_get{pw,gr} group of calls. | Günther Deschner | 1 | -44/+0 | |
Guenther | |||||
2011-02-26 | dirfd doesn't exist in some platforms. | Jeremy Allison | 1 | -2/+4 | |
Hack that should get the buildfarm back to green. Ensure dirfd() needs to be defined before we properly return fdopendir. This will do until we get a proper dirfd() defined in libreplace. From http://www.gnu.org/software/hello/manual/gnulib/dirfd.html This function is missing on some platforms: AIX 7.1, HP-UX 11, OSF/1 5.1, Solaris 10, mingw. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Feb 26 04:19:55 CET 2011 on sn-devel-104 | |||||
2011-02-14 | s3: move some defines to a better place. | Günther Deschner | 1 | -0/+11 | |
Guenther | |||||
2011-02-10 | s3-system: fix malloc/talloc mismatch in sys_popen(). | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-02-09 | Fix up some buildfarm warnings. | Jeremy Allison | 1 | -1/+1 | |
2011-02-08 | Add fdopendir(). | Jeremy Allison | 1 | -0/+16 | |
2010-12-21 | Added call out to a Linux-compatible fallocate() when we need to extend a file | Jeremy Allison | 1 | -0/+35 | |
allocation extent without changing end-of-file size. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Dec 21 02:41:24 CET 2010 on sn-devel-104 | |||||
2010-12-19 | s3: FreeBSD has getpeereid(), use it | Volker Lendecke | 1 | -0/+4 | |
2010-12-15 | Fix read/write calls over sockets to cope with EAGAIN/EWOULDBLOCK for ↵ | Jeremy Allison | 1 | -10/+38 | |
non-blocking sockets. | |||||
2010-08-01 | s3: Fix a C++ warning | Volker Lendecke | 1 | -1/+1 | |
2010-06-09 | s3: fix calculation of st_blocks in init_stat_ex_from_stat | Björn Jacke | 1 | -1/+1 | |
this is just relevant for the very rare systems that don't have the st_blocks struct member. This is a fixup of the fix for bug 7474. Thanks to Joachim Schmitz for spotting this! | |||||
2010-06-07 | s3: fix build on platforms without st_blocks and st_blksize stat struct members | Björn Jacke | 1 | -0/+9 | |
This fixes bug 7474. | |||||
2010-03-08 | Revert "Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail ↵ | Karolin Seeger | 1 | -61/+4 | |
to respond to a read or write." This reverts commit a6ae7a552f851a399991262377cc0e062e40ac20. This fixes bug #7222 (All users have full rigths on all shares) (CVE-2010-0728). (cherry picked from commit 1c9494c76cc9686c61e0966f38528d3318f3176f) | |||||
2010-02-18 | s3: optimize strict allocate for XFS on IRIX | Björn Jacke | 1 | -0/+25 | |
2010-01-26 | Fix bug #7067 - Linux asynchronous IO (aio) can cause smbd to fail to ↵ | Jeremy Allison | 1 | -4/+61 | |
respond to a read or write. Only works on Linux kernels 2.6.26 and above. Grants CAP_KILL capability to allow Linux threads under different euids to send signals to each other. Jeremy. | |||||
2009-12-08 | s3: make sys_posix_fallocate more generic | Björn Jacke | 1 | -4/+4 | |
this is in preparation for other preallocation methods to be introduced. | |||||
2009-12-05 | s3: Fix explicit stat64 support | Volker Lendecke | 1 | -3/+12 | |
2009-12-04 | s3: check if glibc has broken posix_fallocate | Björn Jacke | 1 | -1/+1 | |
2009-12-02 | s3: prefer posix_fallocate for doing "strict allocate" | Björn Jacke | 1 | -0/+14 | |
posix_fallocate is more efficient than manual zero'ing the file. When preallocation in kernel space is supported it's extremely fast. Support for preallocation at fs layer via posix_fallocate and fallocate at kernel site can be found in Linux kernel 2.6.23/glibc 2.10 with ext4, XFS and OCFS2. Other systems that I know of which support fast preallocation in kernel space are AIX 6.1 with JFS2 and recent Solaris versions with ZFS maybe UFS2, too. People who have a system with preallocation in kernel space might want to set "strict allocate = yes". This reduces file fragentation and it's also safer for setups with quota being turned on. As of today most systems still don't have preallocation in kernel space, and that's why "strict allocate = no" will stay the default for now. | |||||
2009-11-29 | s3: Pass the "fake dir create times" parameter to sys_*stat | Volker Lendecke | 1 | -10/+14 | |
Step 0 to restore it as a per-share paramter | |||||
2009-11-17 | Remove "store create time" code, cause create time to be stored | Jeremy Allison | 1 | -0/+7 | |
in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy. | |||||
2009-11-15 | s3: Fix a memleak in sys_popen | Volker Lendecke | 1 | -0/+1 | |
Found with "dfree command" set | |||||
2009-10-06 | s3: Add access_mask to the flock VFS call | Abhidnya P Chirmule | 1 | -1/+1 | |
2009-08-10 | Refactor the use of create_time and change time to go | Jeremy Allison | 1 | -2/+2 | |
through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy. |