summaryrefslogtreecommitdiffstats
path: root/source3/lib/system.c
Commit message (Collapse)AuthorAgeFilesLines
* s3: Add DAC_OVERRIDE capability supportAbhidnya Joshi2013-12-161-0/+4
| | | | | Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org>
* debug: remove unused sys_adminlogDavid Disseldorp2013-11-201-25/+0
| | | | | | | | | | printing.c was the last user of this syslog wrapper. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org> Autobuild-User(master): Günther Deschner <gd@samba.org> Autobuild-Date(master): Wed Nov 20 10:19:32 CET 2013 on sn-devel-104
* s3:lib/system fix build on AIX 7Christian Ambach2013-08-021-3/+12
| | | | | | | | | | | AIX uses struct stat64 with struct timespec64, so direct assignment does not work any more. Pair-Programmed-With: Volker Lendecke <vl@samba.org> Signed-off-by: Christian Ambach <ambi@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Aug 2 09:47:43 CEST 2013 on sn-devel-104
* Remove dependency on detection of HAVE_DIRFD for use of fdopendir().Jeremy Allison2013-04-121-3/+1
| | | | | | | | Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Apr 12 16:21:10 CEST 2013 on sn-devel-104
* s3: in sys_popen(), add a debug message for failed forkMichael Adam2012-09-041-0/+1
| | | | | Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Tue Sep 4 22:17:30 CEST 2012 on sn-devel-104
* s3: in sys_popen(), add a debug message for failed extract_args()Michael Adam2012-09-041-0/+1
|
* s3: in sys_popen(), untangle function call from result checkMichael Adam2012-09-041-1/+3
|
* s3: in sys_popen(), untangle assigment from check and add a debug message in ↵Michael Adam2012-09-041-1/+4
| | | | failure case
* s3: in sys_popen(), improve call to pipe and report error to debugMichael Adam2012-09-041-1/+5
|
* s3: in sys_popen(), validate input before opening the pipe.Michael Adam2012-09-041-5/+5
|
* s3: in sys_popen(), fix a debug messageMichael Adam2012-09-041-1/+1
|
* s3: add a debug message for failed execv in sys_popen()Michael Adam2012-08-171-1/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-aio: Remove unused VFS functions and moreVolker Lendecke2012-07-181-148/+0
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Make smbd/aio.c not depend on aio.h anymoreVolker Lendecke2012-07-181-0/+4
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* Replace all uses of setXX[ug]id() and setgroups with samba_setXX[ug]id() calls.Jeremy Allison2012-06-281-4/+5
| | | | | | Will allow thread-specific credentials to be added by modifying the central definitions. Deliberately left the setXX[ug]id() call in popt as this is not used in Samba.
* Revert "s3-lib Remove unused sys_fcntl_long()"Stefan Metzmacher2012-06-191-0/+14
| | | | | | | | This reverts commit 846a697e20478798288afb43cdb7a9f389a15c69. This is still used in source3/smbd/oplock_irix.c metze
* 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>