summaryrefslogtreecommitdiffstats
path: root/source3/lib/system.c
Commit message (Collapse)AuthorAgeFilesLines
* r21725: Fix for memalign used without test guards. WasJeremy Allison2007-10-101-7/+22
| | | | | | breaking the build on *BSD's. Tested by Herb. Jeremy. (This used to be commit 4816af5ce9070385b292f666779a24057b39e457)
* r21526: Fix stray character in sys_memalign() that is onlyGerald Carter2007-10-101-1/+1
| | | | | is the case where we don't have memalign() or posix_memalign(). (This used to be commit 1635bac80011d15e3ed30b6d43b6e22b2ce2a000)
* r21525: Go ahead and checkin the mlock() & memalign() fixes soGerald Carter2007-10-101-0/+21
| | | | | | | | | others don't get stuck with the winbindd hang. Still waiting on additional confirmation from Guenther that this fixes thes issues he was observing as well. But it's been running in my local tree for a day without problems. (This used to be commit 0d2b80c6c4a744b05a0efdec352cddccc430e0c4)
* r19647: Add some GPFS support in a vfs mod. Also adds the kernel flock op toJim McDonough2007-10-101-0/+25
| | | | | | the vfs layer, since gpfs supports it. Thanks to Volker, Christian, Mathias, Chetan, and Peter. (This used to be commit 0620658890fa9c68a9848538728023192319c81a)
* r19241: compile xattr wrappers on mac os 10Stefan Metzmacher2007-10-101-0/+52
| | | | | | | patch from Bjoern Jacke and it fixes bug 3698 metze (This used to be commit e54302b9163cfe726c30a8efdc779250e076d493)
* r19102: fix typo, thanks derrell!Stefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 0a516c3026114a32092f4a62fcbbfc4c410c0dea)
* r19101: add sys_recv() wrapperStefan Metzmacher2007-10-101-1/+14
| | | | | metze (This used to be commit 2f146ec68344c4bc11e1a9d174bdf548e1a22d5a)
* r17630: Looks like getpeerid() is a system function onJeremy Allison2007-10-101-1/+1
| | | | | | | FreeBSD. Change to sys_getpeerid(). Thanks to vl for pointing this out. Jeremy. (This used to be commit dd0069cfcabb25dc7dc0d336696a5f2580abb5a1)
* r17610: Added the ability for firefox to drive the winbinddJeremy Allison2007-10-101-0/+25
| | | | | | | | | | | | ntlm_auth module to allow it to use winbindd cached credentials.The credentials are currently only stored in a krb5 MIT environment - we need to add an option to winbindd to allow passwords to be stored even in an NTLM-only environment. Patch from Robert O'Callahan, modified with some fixes by me. Jeremy. (This used to be commit ae7cc298a113d8984557684bd6ad216cbb27cff3)
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-0/+78
| | | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy. (This used to be commit 9dafb7f48ca3e7af956b0a7d1720c2546fc4cfb8)
* r14668: Set the FILE_STATUS_OFFLINE bit by observing the events a DMAPI-basedJames Peach2007-10-101-0/+30
| | | | | HSM is interested in. Tested on both IRIX and SLES9. (This used to be commit 514a767c57f8194547e5b708ad2573ab9a0719c6)
* r14600: Refactor capability interface from being IRIX-specific to using onlyJames Peach2007-10-101-54/+68
| | | | | | the POSIX interface. Note that this removes support for inherited capabilities. This wasn't used, and probably should not be. (This used to be commit 763f4c01488a96aec000c18bca313da37ed1df1b)
* r13566: Fix EA support for AIX.Günther Deschner2007-10-101-0/+24
| | | | | | | Patch from Bjoern Jacke <bjacke-at-sernet-dot-de>. Guenther (This used to be commit 69fb189a6b9947069afebb15d6ee6f2f20d15171)
* r11845: Removed error code list as it isn't correct for Linux.Jeremy Allison2007-10-101-8/+0
| | | | | Jeremy. (This used to be commit bea6fa293e2c1ee85ae72dcee00db13cb1fe5bb1)
* r11841: Fix #3262 from Timur Bakeyev to improve reporting on FreeBSD DOSJeremy Allison2007-10-101-33/+41
| | | | | | attribute errors. Jeremy. (This used to be commit 8f2e472fa35098b1be16083ce9b5c06fdf5dbcd1)
* r11732: Remember to return early if -1 returned from *BSD EA call.Jeremy Allison2007-10-101-0/+12
| | | | | | Pointed out by timur@com.bat.ru. Jeremy. (This used to be commit 081e458801b626d6f9e58ba16a25c1b99b83eb55)
* r11383: Patch from Alex Masterov <alex@infobit.ru> to fixJeremy Allison2007-10-101-3/+83
| | | | | | XATTR calls on *BSD systems (bug #3218). Jeremy. (This used to be commit 3d8faf42e854a720aca5c2e0a4682c85a3dfd365)
* r9545: (Hopefully the last) fixes for DIR -> SMB_STRUCT_DIR.Jeremy Allison2007-10-101-2/+2
| | | | | Jeremy. (This used to be commit b242f278601e1a23c9116009482e802326d418f7)
* r9483: Changed DIR to SMB_STRUCT_DIR because of the amazing stupidity of a ↵Jeremy Allison2007-10-101-6/+6
| | | | | | | | UNIX vendor not understanding abstract data types :-(. Jeremy. (This used to be commit be5b4e2fa3ed30b0ff01b47d2354e5f782a12e25)
* r8704: Patch from Timur Bakeyev <timur@com.bat.ru> to fix typoJeremy Allison2007-10-101-1/+1
| | | | | | calling wrong aio_fsync function. Bugid #2909. Jeremy. (This used to be commit 6ea3aadd6630a62d52a9a6e09995b57f55e60d41)
* r7963: Add aio support to 3.0.Jeremy Allison2007-10-101-0/+158
| | | | | Jeremy. (This used to be commit 1de27da47051af08790317f5b48b02719d6b9934)
* r6681: updating copyrights (see bug 2546)Gerald Carter2007-10-101-1/+2
| | | | (This used to be commit 39288aa5660893b69af5e720d57aa104f3db4490)
* r6253: Add FreeBSD EA API support. Bug #2576 - patch donated by Timur ↵Jeremy Allison2007-10-101-9/+183
| | | | | | | Bakeyev <timur@com.bat.ru> Jeremy. (This used to be commit 059a2e30c94f7bbcf01c1f4c5539f0b0f5ab0e09)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-2/+2
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* r3642: Extend vfs to add seekdir/telldir/rewinddir. Yes I know I have toJeremy Allison2007-10-101-0/+65
| | | | | | | fix the modules too... First step in fixing out large directories problem. Jeremy. (This used to be commit 344e9dd33a936b429fefb67cd748ac009a1bab10)
* r2651: Added 'stat' command to smbclient to exercise the UNIX_FILE_BASICJeremy Allison2007-10-101-0/+26
| | | | | | | | | info level. Outputs data on the file in the same format the the stat command in Linux. Should be useful to people wanting to learn how to parse the UNIX extension output. Yes I will add the docs later :-). Jeremy. (This used to be commit b25cc596417d29815814c3968ac2627bf59ffc0b)
* * Fix sys_chown() when no chown() is presendStefan Metzmacher2004-01-151-0/+2
| | | | | metze (This used to be commit b0c0d736919079afc4f9bf5a406000048d26fe71)
* Patch based on work from James Peach <jpeach@sgi.com> to convert over toJeremy Allison2004-01-061-0/+41
| | | | | | | using pread/pwrite. Modified a little to ensure fsp->pos is correct. Fix for #889. Jeremy. (This used to be commit 019aaaf0df091c3f67048f591e70d4353a02bb9b)
* Fix from James Flemer <jflemer@uvm.edu> to make HAVE_ATTR_LIST linked toJeremy Allison2004-01-051-3/+3
| | | | | | HAVE_SYS_ATTRIBUTES_H to fix AIX compile. Jeremy. (This used to be commit 1b1c216122e4dcf40e4ccaea528a7775521fa618)
* wrap internals of sys_setgroups() so the sys_XX() call can be done ↵Gerald Carter2003-10-011-3/+5
| | | | | | unconditionally; bug 550 (This used to be commit 9df3f53e6ae751d522c7ac21deb785f1fa05f225)
* add IRIX EA supportHerb Lewis2003-08-151-1/+158
| | | | (This used to be commit 589e94f4ffa325acfd6562a84906639e19fd5d33)
* Use filedes as first argument to fsetxattr, not the undefined variable ↵Jelmer Vernooij2003-06-061-1/+1
| | | | | | 'path' :-) (This used to be commit d3c02b40c48921f842c92fa1beed1924897ce160)
* Get ready for EA code... Add Linux interface.Jeremy Allison2003-06-051-0/+125
| | | | | Jeremy. (This used to be commit 48853140749b74053f1a7857a983397b6e9a0234)
* dlysym takes a const char *.Jeremy Allison2003-03-031-1/+1
| | | | | Jeremy. (This used to be commit 54e5413a9267b7279cbde0ec129478a5a9c3116c)
* Merge from HEAD - add PRINTF_ATTRIBUTE to a few more functions.Andrew Bartlett2003-01-031-1/+1
| | | | (This used to be commit 9e5297131cc53d7161aa74566f147b98e1c27aaa)
* sync'ing up for 3.0alpha20 releaseGerald Carter2002-09-251-9/+6
| | | | (This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
* sync 3.0 branch with headJelmer Vernooij2002-08-171-0/+10
| | | | (This used to be commit 3928578b52cfc949be5e0ef444fce1558d75f290)
* updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell2002-07-151-101/+115
| | | | (This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
* Added sys_adminlog() system for info the appliance admins reallyJeremy Allison2002-03-271-0/+28
| | | | | | need to know about. Different from the DEBUG system. Jeremy. (This used to be commit 74eac41c681f92a6da0ae2167f031e021862e0d8)
* Removed HAVE_LIBDL from most places (except system.c). Added checks forJeremy Allison2002-03-271-4/+4
| | | | | | | dlopen & friends into configure.in. This should help building on *BSD where dl*** calls are in libc. Jeremy (This used to be commit ac1baba35d7a399bf800ced49a4384e39955e3eb)
* Sync up vfs changes from 2.2.x.Jeremy Allison2002-03-191-0/+15
| | | | | Jeremy. (This used to be commit ad1e858d8e72adf924ff435eab8da3e60842e2e6)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Getting ready to add UNIX extensions in HEAD also.Jeremy Allison2002-01-101-184/+392
| | | | | Jeremy (This used to be commit 6210d4aa196c944e47076e316980f76ac9c6b02d)
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-021-2/+0
| | | | (This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
* move to SAFE_FREE()Simo Sorce2001-09-171-10/+8
| | | | (This used to be commit 60e907b7e8e1c008463a88ed2b076344278986ef)
* Wrapped dlerror() in the same way as the other dlxxx() calls.Jeremy Allison2001-07-061-0/+9
| | | | | Jeremy. (This used to be commit ed5a1f70c6d155788b62e9e6e8c5d97a5ca0858d)
* strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell2001-07-041-2/+2
| | | | | | can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
* The big character set handling changeover!Andrew Tridgell2001-07-041-170/+0
| | | | | | | | This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
* Ensured all the system calls in msdfs.c go through the vfs layer.Jeremy Allison2001-06-291-0/+28
| | | | | | | Added vfs calls to symlink() and readlink() with appropriate configure checks. Jeremy. (This used to be commit c24e6b41ea60ab4bac2fcd19da947851d6df3c7c)
* Fixed password entry caching bug pointed out by Elrond.Jeremy Allison2001-04-301-14/+25
| | | | | Jeremy. (This used to be commit dc31b47deda188cb88288a8f33dc09faed9b2c41)