summaryrefslogtreecommitdiffstats
path: root/source3/lib/system.c
Commit message (Collapse)AuthorAgeFilesLines
* build: Rationalise AIO support in configure, ensure on by defaultAndrew Bartlett2012-06-061-3/+3
| | | | | | | | | With this change, the define to check for AIO is HAVE_AIO, consistant with other subsystems. It is now also on by default in the autoconf build, as it has been for waf. Andrew Bartlett
* lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.cAndrew Bartlett2012-06-021-678/+0
| | | | | | | This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett
* build: Remove SMB_OFF_T, replace with off_tAndrew Bartlett2012-04-061-5/+5
| | | | | | | | | 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
* s3-vfs: Remove unused lremovexattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-37/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to removexattr. Andrew Bartlett
* s3-vfs: Remove unused lsetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-64/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused llistxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-29/+0
| | | | | | | If this is ever needed again, it would be more appropriate as an options argument to listxattr. Andrew Bartlett
* s3-vfs: Remove unused lgetxattr call from VFS modules, system.c and configureAndrew Bartlett2012-04-051-51/+0
|
* build: Remove SMB_STRUCT_DIR defineAndrew Bartlett2012-04-051-1/+1
|
* build: Remove sys_rewinddir wrapperAndrew Bartlett2012-04-051-8/+0
|
* build: Remove sys_closedir wrapperAndrew Bartlett2012-04-051-10/+0
|
* build: Remove sys_telldir wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove sys_seekdir wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove sys_readdir wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove sys_opendir wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove sys_fopen wrapperAndrew Bartlett2012-04-051-10/+0
|
* build: Remove sys_open wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove sys_creat wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove fallback call to sys_open as HAVE_CREAT is not actually ↵Andrew Bartlett2012-04-051-8/+0
| | | | checked for
* build: Remove sys_ftell wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove sys_lseek wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: Remove sys_ftruncate wrapperAndrew Bartlett2012-04-051-9/+0
|
* build: do not use HAVE_EXPLICIT_LARGEFILE_SUPPORT and *64() fucntions any moreAndrew Bartlett2012-04-051-143/+44
|
* use usleep rather than sys_usleep in various places, in anticipation of ↵Jelmer Vernooij2012-03-241-34/+0
| | | | usleep moving to libreplace.
* lib/util: Remove obsolete sys_getpid() and sys_fork().Jelmer Vernooij2012-03-241-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
* lib/util: Remove unused sys_sendto()Andrew Bartlett2012-02-171-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
* lib/util: Remove unused sys_recv()Andrew Bartlett2012-02-171-18/+0
| | | | | | Found by callcatcher. Andrew Bartlett
* s3-lib Remove unused sys_fcntl_long()Andrew Bartlett2012-02-171-14/+0
|
* s3-lib Remove unused sys_fseek()Andrew Bartlett2012-02-171-17/+0
|
* s3: Use ARRAY_SIZE in bsd_attr_listVolker Lendecke2012-02-021-1/+1
|
* Comment out sys_get_number_of_cores() as we're no longer using this.Jeremy Allison2012-01-061-0/+2
|
* Add a sys_get_number_of_cores() function that calls sysconf or sysctlJeremy Allison2012-01-061-0/+49
| | | | and tunes the aio threads.
* Include uid_wrapper correctly.Andreas Schneider2011-10-271-1/+0
|
* Fix sys_fseek wrapperBrad Smith2011-10-141-0/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3: Use the uid_wrapperVolker Lendecke2011-10-061-0/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Andreas Schneider <asn@samba.org>
* Export init_stat_ex_from_stat for use in VFS modules.Richard Sharpe2011-06-101-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
* s3-talloc Change TALLOC_ARRAY() to talloc_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc.
* Change sys_getcd() to take no arguments and always return malloc'ed memory ↵Jeremy Allison2011-06-011-7/+34
| | | | | | (or NULL). Part of the efforts to remove PATH_MAX on modern systems.
* lib/util Move sys_memalign into lib/util/system.cAndrew Bartlett2011-05-311-36/+0
|
* Fold null terminator into listlen length, change to strlcpy.Jeremy Allison2011-05-041-6/+4
|
* s3-system: move LOCK_ defines to lib/system.cGünther Deschner2011-05-031-0/+9
| | | | Guenther
* lib/util Move more network utility functions from source3 into lib/utilAndrew Bartlett2011-05-031-71/+0
| | | | | | This will help with the merge of the interfaces layer. Andrew Bartlett
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/passwd.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/capability.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3-includes: only include system/syslog.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* lib/util/util_pw: share sys_get{pw,gr} group of calls.Günther Deschner2011-03-301-44/+0
| | | | Guenther
* dirfd doesn't exist in some platforms.Jeremy Allison2011-02-261-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
* s3: move some defines to a better place.Günther Deschner2011-02-141-0/+11
| | | | Guenther
* s3-system: fix malloc/talloc mismatch in sys_popen().Günther Deschner2011-02-101-1/+1
| | | | Guenther
* Fix up some buildfarm warnings.Jeremy Allison2011-02-091-1/+1
|