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

28 Commits

Author SHA1 Message Date
Stefan Metzmacher
507d5ca7d9 r25602: don't imply "system/network.h" within replace.h,
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking

metze
2007-12-21 05:42:47 +01:00
Stefan Metzmacher
00467c2593 r25601: replace.h should never imply any "system/*.h"
(here it's "system/time.h")

metze
2007-12-21 05:42:46 +01:00
Stefan Metzmacher
f9696109cc r25597: HPUX doesn't have INET_ADDRSTRLEN defined
metze
2007-10-10 15:08:02 -05:00
Jelmer Vernooij
b6d3fd84a5 r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, getnameinfo
(and friends) from SAMBA_3_2, with some minor tweaks:

- avoid including network headers in replace.h unless absolutely required
- autoconf tests for getaddrinfo() in lib/replace

The heimdal-specific code also no longer looks for these functions anymore.
2007-10-10 15:07:51 -05:00
Jelmer Vernooij
7016d50028 r25017: Move MAXHOSTNAMELEN definition to replace.h as it is usually part of
sys/param.h.
2007-10-10 15:05:37 -05:00
Andrew Tridgell
40c0919aaa r23798: updated old Temple Place FSF addresses to new URL 2007-10-10 14:59:15 -05:00
Andrew Tridgell
84b468b2f8 r23795: more v2->v3 conversion 2007-10-10 14:59:14 -05:00
Andrew Tridgell
361c5995bc r23237: update lib/replace from ctdb 2007-10-10 14:53:05 -05:00
Andrew Tridgell
2c9d0b57f9 r22829: system/select.h needs to bring in epoll.h for epoll usage in
lib/events
2007-10-10 14:52:21 -05:00
Jelmer Vernooij
1193c75962 r22827: Change license to LGPL (discussed with tridge). 2007-10-10 14:52:21 -05:00
Stefan Metzmacher
be84eb68e1 r22217: merge from samba3 21944:
move acl header checks to the correct place only

metze
2007-10-10 14:50:39 -05:00
Andrew Tridgell
1bb10b6cf7 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
2007-10-10 14:43:55 -05:00
Stefan Metzmacher
b3a3c44f42 r20819: - include system/aio.h
- use full prototype for main
- use ifdef instead if

metze
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
1b10cbb629 r20816: merge from samba3:
include setjmp.h via system/wait.h

metze
2007-10-10 14:43:35 -05:00
Stefan Metzmacher
d46a5efb03 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
2007-10-10 14:40:55 -05:00
Andrew Tridgell
a913732914 r20665: put in my version of aio.h
sorry about that ....
2007-10-10 14:37:28 -05:00
Stefan Metzmacher
ba492e2c3a r20659: add missing system/aio.h
tridge: please commit your version and merge it to both samba3 branches

metze
2007-10-10 14:37:27 -05:00
Andrew Bartlett
2b569c42e0 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
2007-10-10 14:25:00 -05:00
Stefan Metzmacher
3df2cb1ea8 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
2007-10-10 14:21:32 -05:00
Andrew Tridgell
e6baa13e1f r19438: try to fix up the build breakages on BSD systems due to incorrectly
detecting iconv.h
2007-10-10 14:21:31 -05:00
Stefan Metzmacher
9c74964b61 r19122: merge from samba3:
sync system/iconv.h

metze
2007-10-10 14:20:37 -05:00
Stefan Metzmacher
f37b13cbe6 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
2007-10-10 14:20:24 -05:00
Stefan Metzmacher
dfaccdca1b r18947: overload listen() and ioctl() in socket_wrapper
metze
2007-10-10 14:20:23 -05:00
Stefan Metzmacher
26228e4b2e r18593: try to get the same socket_wrapper file building in samba3 and samba4
this is preparation of adding libreplace to samba3 later.

metze
2007-10-10 14:18:54 -05:00
Andrew Tridgell
025b142ff2 r18400: move MAP_FAILED define to lib/replace/system/shmem.h 2007-10-10 14:18:23 -05:00
Andrew Tridgell
57cd0ca176 r18160: - pread and pwrite replacements need to be non-static
- replacing rename() is pointless - all platforms have it (and the
  #define of rename breaks some code)

- use system/locale.h in snprintf.c

- fix passwd.h for initgroups

- stdlib is in replace.h, not needed elsewhere

- fix the initgroups replacement

- fix mapping of dl functions to rep_*
2007-10-10 14:17:44 -05:00
Andrew Tridgell
f226645d73 r18146: we need signal.h in some places 2007-10-10 14:17:41 -05:00
Andrew Tridgell
77d1a468e0 r18129: moved the system includes into libreplace - this gives much more
isolation of our portability environment from the main code, and also
simplifies the includes system (no separate #ifdef _SAMBA_BUILD for
tdb. ldb etc now)
2007-10-10 14:17:36 -05:00