summaryrefslogtreecommitdiff
path: root/source3/smbwrapper/realcalls.h
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r516: On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernelsAlexander Bokovoy1-0/+13
there is SYS_utimes syscall defined at compile time in glibc-kernheaders but it is available on 2.6 kernels only. Therefore, we can't rely on syscall at compile time but have to check that behaviour during program execution. An easy workaround is to have replacement for utimes() implemented within our wrapper and do not rely on syscall at all. Thus, if REPLACE_UTIME is defined already (by packager), skip these syscall shortcuts. (This used to be commit e278e2e6e095b1c01eab307d55edf2cde48dcba2)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-43/+0
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-06-13Return a #error if no functions could be found to wrap around.Tim Potter1-0/+43
(This used to be commit 36f9ce7993adc5a26e808842233108f28b8fdebf)
1998-10-29some versions of Irix pass the HAVE__ACL test but don't have acl.hHerb Lewis1-1/+1
test for both before including ACL support. (This used to be commit 86743dfda446fddaffff7cbb57ca6b5901948ad5)
1998-10-07fixed fork() on SunOS4Andrew Tridgell1-1/+1
(This used to be commit c506ffa527428897689dfd9ff48719208c47669d)
1998-10-07yet another attempt at making this stuff portable. This time I useAndrew Tridgell1-8/+14
minimal includes in wrapped.c (This used to be commit fd6a59d8ca0932d61a60b74485841001d4f8fd44)
1998-10-07possibly use __sys_llseek()Andrew Tridgell1-0/+2
(This used to be commit ab49ffe37f11b28144a7815ada1d891b14ffbc2d)
1998-10-07more OSF1 changes as well as changes to allow us to use the standardAndrew Tridgell1-0/+3
includes.h in wrapped.c, thus making porting much simpler (This used to be commit 6f2239c935fdecfefa89227c113df01e3957691a)
1998-10-07fixed a bug in real_seekdir()Andrew Tridgell1-1/+1
(This used to be commit 699777a5c149d8608c834034d50b207d6da254b2)
1998-10-06added a wrapper for fork()Andrew Tridgell1-0/+8
in a fork we have to close all server connections otherwise we can end up with two processes writing to the same socket. (This used to be commit b7ecbca3aff34ff06a445e5ee39efba48261b7e8)
1998-10-05- keep IRIX cc -64 happyAndrew Tridgell1-10/+10
- fixed a chdir bug (This used to be commit 80d1c5118abaa99fe0f1c9d2089a81c9953cebad)
1998-10-05got smbwrapper working on IRIX 6.4. Things got a bit tricky,Andrew Tridgell1-0/+9
especially as the headers get the syscall numbers wrong! (This used to be commit a5405f1ab069a3123a819311a87ca84f2c5f0fea)
1998-10-05this gets it compiling under IRIX 6.4. Doesn't work yet though.Andrew Tridgell1-1/+9
(This used to be commit 0c8288a72c6d6f2774dd57a7107ad68c98e0d24a)
1998-10-05handle systems that are missing either SYS_utime or SYS_utimesAndrew Tridgell1-1/+6
(This used to be commit 4379f0fe48a40e1ff6b343bbcff542efbda1f4f8)
1998-10-05ported smbwrapper to SunOS4. It seems to work. pity so many binaries onAndrew Tridgell1-3/+6
my SunOS box are statically linked. (This used to be commit 541f1c421127334817b73388f4ccb9cc0841dd4e)
1998-10-05need to use SYS_open64 not _open64 for solaris 2.6 or stdio doesn'tAndrew Tridgell1-6/+1
work right. (This used to be commit c185585dd917d6c157460e941e983b5e43d69f7a)
1998-10-05- added pread pread64 pwrite pwrite64 and open64Andrew Tridgell1-0/+31
- fixed utime() for null tbuf (This used to be commit 9047bf59b402de40e520bfc2afa1cbfad5508f72)
1998-10-05this gets smbwrapper working under Solaris 2.6. Not tested much yet.Andrew Tridgell1-0/+31
(This used to be commit 6a1b346d98c10688f0995a6ab8fd155a77ead258)
1998-10-04we need to use __readdir() in preference to SYS_readdir for systemsAndrew Tridgell1-2/+2
that use getdents. (This used to be commit c63ad1b69859653d67d4711b700015860680efff)
1998-10-04more solaris 2.5 fixups. It now seems to be working pretty well.Andrew Tridgell1-2/+22
(This used to be commit c4e450817886b40474cebdfc50c0c16fb4646baf)
1998-10-04fixed some stuff for Linux that porting to Solaris brokeAndrew Tridgell1-27/+31
(This used to be commit ee349bb329498e6f5852c1bf21c48563d076dc88)
1998-10-04started basic support for solaris 2.5 in smbwrapper.Andrew Tridgell1-16/+85
(This used to be commit e5c7cabae4826bde819b94a48bc4674dcd69da21)
1998-10-04add support for dup() and dup2()Andrew Tridgell1-2/+2
(This used to be commit c5210cb0fffd406ef1809db8644b299bb661df4d)
1998-10-04refuse symlinks to or from a smb pathAndrew Tridgell1-0/+1
(This used to be commit 83e93d2a4493546cb481f5c8187c64207b5901d1)
1998-10-04simplied the layout of the smbwrapper code. All those 3 line filesAndrew Tridgell1-4/+21
were getting unwieldy (This used to be commit a59d4e93da2cb2bb61a632ce85af0888a87a03e2)
1998-10-03use __XXXdir() instead of __libc_XXXdir()Andrew Tridgell1-6/+5
(This used to be commit e28f55c0a3386cdb0185f5252b54d10d2c2a1710)
1998-10-03drat.Andrew Tridgell1-1/+6
on Linux 2.0 libc detects the lack of getdents in the kernel and used opendir() etc. so we need to implement those ... it would be needed for a port to others OSes anyway I suppose. (This used to be commit e3fd861590dd27cc643c2d8d0cb5a5651c84d9ac)
1998-10-03added fchdir() supportAndrew Tridgell1-1/+1
(This used to be commit a42729dbf5414f54e5d623514533958c62ada5f6)
1998-10-03added mkdir() and rmdir() supportAndrew Tridgell1-0/+2
(This used to be commit ce748e5ea94380147a01de8235b343c7e2852bee)
1998-10-03added lseek() support for directoriesAndrew Tridgell1-0/+1
(This used to be commit 67ca971b0b00b5256b0af2c1c5777c393f9cef0b)
1998-10-03lots of improvements to smbwrapper. It now works with Samba, Win95 andAndrew Tridgell1-0/+1
WinNT servers, and correctly lists share names in /smb/SERVER/ (This used to be commit 1ea349728b8984bfe5cf5df41a87efbe17ff5ccd)
1998-10-02the guts of the smbwrapper code. I may change the layout of this atAndrew Tridgell1-0/+44
some stage. (This used to be commit 3f34a3cac817de19d227c36bc792db8b2c3798f9)