r516: On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernels
commite278e2e6e095b1c01eab307d55edf2cde48dcba2
authorAlexander Bokovoy <ab@samba.org>
Thu, 6 May 2004 14:38:31 +0000 (6 14:38 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:51:26 +0000 (10 10:51 -0500)
tree533a40af6a27c92de34487534f6722ed265b017e
parent5d7ee320cca80558a4b71295ef8b7de02f21554a
r516: On GNU/Linux distributions which allow to use both 2.4 and 2.6 kernels
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.
source/smbwrapper/realcalls.h
source/utils/ntlm_auth.c