1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-23 00:23:53 +03:00
Commit Graph

305 Commits

Author SHA1 Message Date
Andrew Tridgell
cf8eef4ad8 r20930: use sigaction() instead of signal()
add support for sa_flags argument to event_add_signal(). These are
passed to sigaction(). Special handling is provided for SA_RESETHAND
(which tells the event system to remove the handler after the signal)
and SA_SIGINFO which allows the siginfo structure to be received per
signal
(This used to be commit 1bb10b6cf7)
2007-10-10 14:43:55 -05:00
Stefan Metzmacher
0ce02a2c0e r20819: - include system/aio.h
- use full prototype for main
- use ifdef instead if

metze
(This used to be commit b3a3c44f42)
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
71f6a4d05b r20816: merge from samba3:
include setjmp.h via system/wait.h

metze
(This used to be commit 1b10cbb629)
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
28438101bd r20815: merge from samba3
metze
(This used to be commit 5b8387969d)
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
8c75df8b2c r20810: unlink the test file when the test is done
metze
(This used to be commit d3e10679af)
2007-10-10 14:43:34 -05:00
Stefan Metzmacher
274df78541 r20788: - remove epoll configure checks from libreplace
- fix epoll configure checks for the epoll and aio
  events backends
- we should only activate the epoll backend if sys/epoll.h
  and epoll_create() are found
- we should only activate the aio backend if sys/epoll.h, epoll_create(),
  libaio.h and io_getevents() are found

hopefully fix the build on 'bnhtest' in the build farm...

metze
(This used to be commit d46a5efb03)
2007-10-10 14:40:55 -05:00
Andrew Tridgell
4056528f72 r20665: put in my version of aio.h
sorry about that ....
(This used to be commit a913732914)
2007-10-10 14:37:28 -05:00
Stefan Metzmacher
4a1ac217f4 r20659: add missing system/aio.h
tridge: please commit your version and merge it to both samba3 branches

metze
(This used to be commit ba492e2c3a)
2007-10-10 14:37:27 -05:00
Stefan Metzmacher
022658ae50 r20383: only try to find dlfcn.h if the dlopen symbol was found,
it hopefully fixes systems where dlfcn.h but no library with dlopen

metze
(This used to be commit 4aa31c8862)
2007-10-10 14:30:21 -05:00
Paul Green
0c1218cbac r19952: Fix socketpair() test case to write to fd(1) and read from fd(0) because
when pipe files are substituting for unix domain sockets, pipes provide
only uni-directional i/o capabilities.
(This used to be commit d0a376732e)
2007-10-10 14:28:39 -05:00
Stefan Metzmacher
22a155af05 r19609: fix uninitialized perl variabel, we need AC_SUBST() for all configure vars
we want to use in perl...

metze
(This used to be commit 2b021e2d8c)
2007-10-10 14:25:04 -05:00
Andrew Bartlett
13dbee3ffe r19598: Ahead of a merge to current lorikeet-heimdal:
Break up auth/auth.h not to include the world.

Add credentials_krb5.h with the kerberos dependent prototypes.

Andrew Bartlett
(This used to be commit 2b569c42e0)
2007-10-10 14:25:00 -05:00
Stefan Metzmacher
a74de9886c r19496: remove unused file
metze
(This used to be commit fe733f6307)
2007-10-10 14:24:39 -05:00
Jelmer Vernooij
bc596cf917 r19495: Stop linking binaries twice (once before installation, once during build).
Make TORTURE-TALLOC and TORTURE-REPLACE builtin again rather than
separate binaries.
(This used to be commit 8913d60c72)
2007-10-10 14:24:39 -05:00
Stefan Metzmacher
2e468ee5df r19442: this real cause of the failures on *BSD came from the missing
ICONV dependency and not from a broken configure test
and incorrect ifdef's.

metze
(This used to be commit 3df2cb1ea8)
2007-10-10 14:21:32 -05:00
Andrew Tridgell
9044f4aa90 r19440: merged from samba3
(This used to be commit c22fb04023)
2007-10-10 14:21:32 -05:00
Andrew Tridgell
5a4b133d1c r19438: try to fix up the build breakages on BSD systems due to incorrectly
detecting iconv.h
(This used to be commit e6baa13e1f)
2007-10-10 14:21:31 -05:00
Andrew Tridgell
c3e4b2d278 r19411: sigh - we can't call close here as its mapped to swrap_close() in the
build farm
(This used to be commit be43b8c569)
2007-10-10 14:21:28 -05:00
Andrew Tridgell
21948f18a7 r19410: - fixed checker error
- close the sockets after the socketpair test
(This used to be commit e679163ac2)
2007-10-10 14:21:28 -05:00
Andrew Tridgell
0ec080d505 r19408: I think tm_mon is ending up as -1 on some platforms
(This used to be commit d01bdf1f2d)
2007-10-10 14:21:27 -05:00
Andrew Tridgell
d04efb30a0 r19403: try to fix the crashes in the buildfarm related to timegm
(This used to be commit c4e1d2c5ae)
2007-10-10 14:21:26 -05:00
Jelmer Vernooij
3a479ae550 r19395: Fix replacement function compilation.
(This used to be commit b79303f251)
2007-10-10 14:21:24 -05:00
Jelmer Vernooij
f9a0ada725 r19393: Add replacement function for socketpair()
(This used to be commit 448a3ecc01)
2007-10-10 14:21:24 -05:00
Jelmer Vernooij
8acb0575c7 r19373: Merge changes from subunit branch: Convert libreplace testsuite to a
standalone program that speaks subunit.
(This used to be commit 48d316e759)
2007-10-10 14:21:19 -05:00
Jelmer Vernooij
c2d6fad69b r19347: Add socketpair()
(This used to be commit 8a8e974d21)
2007-10-10 14:21:14 -05:00
Stefan Metzmacher
2bdaccaa9c r19245: mrege from samba3:
add AC_REMOVE_INCLUDE(), AC_REMOVE_DEFINE() macros

metze
(This used to be commit dc65a66252)
2007-10-10 14:20:57 -05:00
Stefan Metzmacher
b6582987fe r19242: merge from samba3:
handle NO_CONFIG_H in libreplace

metze
(This used to be commit 909d736a4b)
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
5916c6c469 r19234: fix configure test for net/if.h for some platforms
AC_LANG_SOURCE() causes to have the content of confdefs.h
in front of the file that will be compiled

metze
(This used to be commit cd03738e7c)
2007-10-10 14:20:56 -05:00
Stefan Metzmacher
d067ee2105 r19227: - add a AC_CACHE_CHECK() around the net/if.h test
to see (we now get some output that this test happens at all...).

- make use of AC_INCLUDES_DEFAULT

metze
(This used to be commit 7e399e607c)
2007-10-10 14:20:55 -05:00
Stefan Metzmacher
0019163d85 r19198: fix typo...
metze
(This used to be commit 70bab6edfc)
2007-10-10 14:20:52 -05:00
Stefan Metzmacher
d66e80c650 r19195: this should fix should workaround the broken
HPUX 11.23 <machine/sys/getppdp.h> on host hpisgr8
in the build-farm.

metze
(This used to be commit 88adbd7443)
2007-10-10 14:20:51 -05:00
Stefan Metzmacher
fd2e67dadf r19186: that doesn't help...
metze
(This used to be commit 59c6d51ab3)
2007-10-10 14:20:50 -05:00
Stefan Metzmacher
2e059dec54 r19173: see if HPUX 11.23 needs the same workaround as 11.11
metze
(This used to be commit 896326d508)
2007-10-10 14:20:49 -05:00
Stefan Metzmacher
ff4e832130 r19131: merge from samba3:
fix the logic for the AC_PROG_CC_C99 test

metze
(This used to be commit 5ccc020639)
2007-10-10 14:20:38 -05:00
Stefan Metzmacher
2210d51e4e r19122: merge from samba3:
sync system/iconv.h

metze
(This used to be commit 9c74964b61)
2007-10-10 14:20:37 -05:00
Andrew Tridgell
5efcccb259 r19120: silence a warning about a test function
(This used to be commit 59915150f0)
2007-10-10 14:20:37 -05:00
Andrew Tridgell
8f3c1e9fdb r19117: I've changed the checker wrapper on snab to allow for a
.checker_innocent file, similar to our .valgrind_suppressions file.
(This used to be commit 8228efdb93)
2007-10-10 14:20:36 -05:00
Andrew Tridgell
0f60472cb2 r19116: fixed a checker warning
(This used to be commit 48243721df)
2007-10-10 14:20:36 -05:00
Stefan Metzmacher
6ddc797e3a r19033: prepare to use the libreplace testsuite as LOCAL-REPLACE in smbtorture
metze
(This used to be commit 71fc73e11c)
2007-10-10 14:20:30 -05:00
Stefan Metzmacher
03cb0224d4 r19032: let the getdents replacement fail and see what the build-farm says.
metze
(This used to be commit 4ed53dfafc)
2007-10-10 14:20:30 -05:00
Stefan Metzmacher
37806f79cd r19029: test if opendir() on a file sets errno = ENOTDIR
metze
(This used to be commit 6b5f06b059)
2007-10-10 14:20:30 -05:00
Stefan Metzmacher
c4f106c414 r19023: lets see what the build-farm says about trying the
getdirentries() based readdir() replacement first.

metze
(This used to be commit 268c8bc7ef)
2007-10-10 14:20:29 -05:00
Volker Lendecke
127c96f499 r19017: Merge from Samba3:
Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir
returning ENOTDIR when the file opened is not a directory. Can we merge this
back into Samba4?

This includes the tabs->spaces fix requested by Stefan.

Volker
(This used to be commit 7b9ee1171d)
2007-10-10 14:20:28 -05:00
Stefan Metzmacher
e8a005acfe r18999: merge from samba3:
- make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format'

metze
(This used to be commit cdcd4232d2)
2007-10-10 14:20:28 -05:00
Volker Lendecke
9f98bcf6a8 r18991: Fix bug 4133 -- Thanks to Olaf Flebbe
(This used to be commit d8bea42bb7)
2007-10-10 14:20:27 -05:00
Andrew Tridgell
2550f5ae12 r18970: avoid strndup and strnlen on AIX. They are quite broken. See
http://lists.samba.org/archive/samba-technical/2004-August/036915.html
(This used to be commit c178c84f01)
2007-10-10 14:20:25 -05:00
Stefan Metzmacher
3f96df61da r18960: fix caching of some configure tests AC_CACHE_CHECK()
*needs* '_cv_' in the shell var to do caching...

metze
(This used to be commit cb334632fa)
2007-10-10 14:20:24 -05:00
Stefan Metzmacher
c0c135c774 r18957: we need to include unistd.h in system/network.h because
it contains the ioctl() prototype on some systems
and we need to make sure it gets included before socket_wrapper
defines ioctl swrap_ioctl

metze
(This used to be commit f37b13cbe6)
2007-10-10 14:20:24 -05:00
Stefan Metzmacher
174742a74c r18947: overload listen() and ioctl() in socket_wrapper
metze
(This used to be commit dfaccdca1b)
2007-10-10 14:20:23 -05:00
Andrew Tridgell
410256e75a r18914: this bug fix needs to be for just hpux 11.11
(This used to be commit 2cccede13d)
2007-10-10 14:20:20 -05:00