summaryrefslogtreecommitdiff
path: root/source4/lib/replace/system
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r25910: Try and fix the Solaris build by adding a missing defineStefan Metzmacher1-0/+5
(from Jerry). Jeremy merge from v3-2-test commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6 (This used to be commit b833dce5e6d6475a04538d9754b9b0bfeb5915e4)
2007-12-21r25892: Keep the tdb code in sync between 3.2.x and 4.0.Jeremy Allison1-0/+4
Add in the alarm fix to allow locks to exit on alarm signal. Sync up the changes in tools. Jeremy. (This used to be commit cb6c663fa8818f49cc36f196bb5f4dea47edd69e)
2007-12-21r25867: libreplace: solaris has different prototypes for getpwent_r and ↵Stefan Metzmacher1-0/+32
getgrent_r metze (This used to be commit 44250ac6f987ba98e1efe8cd81b4e7eaa8017ed0)
2007-12-21r25865: libreplace: check for nss passwd|group get*_r functionsStefan Metzmacher1-0/+2
metze (This used to be commit 98095b34257847b2fbb5efe343c3630a28170692)
2007-12-21r25863: libreplace: we need include <unistd.h> before nss_wrapper.hStefan Metzmacher1-0/+3
metze (This used to be commit a16f0e3cdbb9fb1238e25af8bb911c27b839c89b)
2007-12-21r25838: libreplace: include nss_wrapper.h if NSS_WRAPPER is definedStefan Metzmacher1-0/+7
metze (This used to be commit 17f9189fb4b34dbc08f6aded6b0c81ee8eb07a9f)
2007-12-21r25728: [libreplace] define AI_NUMERICSERV as it's used in getaddrinfo.cStefan Metzmacher1-0/+11
metze (This used to be commit 5648c8a0de7482a28a5b95410c083ac87577d482)
2007-12-21r25724: - include getaddrinfo.h after we have defined struct addrinfoStefan Metzmacher1-4/+5
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch] - define HAVE_<name> macros when we replace functions metze (This used to be commit 57d5cf4b5fe8885b1375059aa143c9c71d2503b4)
2007-12-21r25718: [libreplace] if we replace types define the HAVE_<type> macroStefan Metzmacher1-0/+3
this is needed as heimdal's roken.h also tries to replace the types metze (This used to be commit 8b92b811015d0855efe3cf4c58cd08e3654f8e88)
2007-12-21r25715: [libreplace] move definition of struct addrinfo so that it can use ↵Stefan Metzmacher1-15/+13
socklen_t metze (This used to be commit 12cec014c465a55974aedf44e0e782f5fb841088)
2007-12-21r25714: [libreplace] move define of a constant to near to the othersStefan Metzmacher1-4/+4
metze (This used to be commit 8bd2cf71bee1a08c3d420a330730434edbac5e28)
2007-12-21r25713: [libreplace] include socket_wrapper.h after we have typedef'ed socklen_tStefan Metzmacher1-7/+7
metze (This used to be commit a3657a4e7175e35707e7a00330f6924833774253)
2007-12-21r25687: Move #defined for getaddrinfo into network.h (as otherStefan Metzmacher1-4/+91
defines). Allows RHEL4 compile to work. Jeremy. (cherry picked from commit 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7) (This used to be commit facb811bb3c77a0b98089c283fe0707c5f486c88)
2007-12-21r25685: rename getsmbpass -> rep_getpass and provide the function prototypeStefan Metzmacher1-1/+2
metze (cherry picked from commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e) (This used to be commit cd5069a8ca17a3a14814c0fbf55f113690291165)
2007-12-21r25677: add missing stuff from samba3Stefan Metzmacher1-0/+30
metze (This used to be commit d286c0533dd2726ebc547dcaf99f45169d4a9d2f)
2007-12-21r25602: don't imply "system/network.h" within replace.h,Stefan Metzmacher1-1/+11
as this brings in the socket_wrapper.h in unexpected code and we endup with a missing 'swrap_close' while linking metze (This used to be commit 507d5ca7d994f0771dbb66e61d2d22e391508658)
2007-12-21r25601: replace.h should never imply any "system/*.h"Stefan Metzmacher1-0/+10
(here it's "system/time.h") metze (This used to be commit 00467c25930a527eb9831cfd893bd8e217ca4f74)
2007-10-10r25597: HPUX doesn't have INET_ADDRSTRLEN definedStefan Metzmacher1-0/+4
metze (This used to be commit f9696109cc8f4646599f73b78e1eacd94d1a6c2c)
2007-10-10r25543: Merge libreplace support for inet_pton, inet_ntop, getaddrinfo, ↵Jelmer Vernooij1-0/+4
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. (This used to be commit b6d3fd84a5d7d814035e60d6fa22f19bed9f77da)
2007-10-10r25017: Move MAXHOSTNAMELEN definition to replace.h as it is usually part ofJelmer Vernooij1-8/+0
sys/param.h. (This used to be commit 7016d500287ae587d044744f2a318c402148ebea)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell18-36/+18
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
2007-10-10r23795: more v2->v3 conversionAndrew Tridgell18-18/+18
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
2007-10-10r23237: update lib/replace from ctdbAndrew Tridgell1-0/+4
(This used to be commit 361c5995bcf1dafb89f935ac4183dc295e1d524d)
2007-10-10r22829: system/select.h needs to bring in epoll.h for epoll usage inAndrew Tridgell1-0/+4
lib/events (This used to be commit 2c9d0b57f9cef96ac0878a9761f3c15774fda336)
2007-10-10r22827: Change license to LGPL (discussed with tridge).Jelmer Vernooij18-201/+288
(This used to be commit 1193c759622edd9e6843d9b7f53d9532748ce8a0)
2007-10-10r22217: merge from samba3 21944:Stefan Metzmacher2-1/+6
move acl header checks to the correct place only metze (This used to be commit be84eb68e1f0d3826b9f819fa44d8b399e38cbcd)
2007-10-10r20930: use sigaction() instead of signal()Andrew Tridgell1-0/+4
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 1bb10b6cf7d717ad21834e73a4ca4b22b5fb6f0a)
2007-10-10r20819: - include system/aio.hStefan Metzmacher1-1/+1
- use full prototype for main - use ifdef instead if metze (This used to be commit b3a3c44f42455d6f84ab2f1f282fb177f8b6013c)
2007-10-10r20816: merge from samba3:Stefan Metzmacher1-0/+4
include setjmp.h via system/wait.h metze (This used to be commit 1b10cbb62950693760d4af6ab8691a4ba70908c9)
2007-10-10r20788: - remove epoll configure checks from libreplaceStefan Metzmacher1-9/+0
- 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 d46a5efb03ea1df50567cad00e1589870cdb31fe)
2007-10-10r20665: put in my version of aio.hAndrew Tridgell1-4/+4
sorry about that .... (This used to be commit a91373291422e2f50b91fd7c2317dce5d2a4ab63)
2007-10-10r20659: add missing system/aio.hStefan Metzmacher1-0/+29
tridge: please commit your version and merge it to both samba3 branches metze (This used to be commit ba492e2c3a64dfc5d4743ba568c63cb9a59e2849)
2007-10-10r19598: Ahead of a merge to current lorikeet-heimdal:Andrew Bartlett1-1/+0
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 2b569c42e0fbb596ea82484d0e1cb22e193037b9)
2007-10-10r19442: this real cause of the failures on *BSD came from the missingStefan Metzmacher1-3/+3
ICONV dependency and not from a broken configure test and incorrect ifdef's. metze (This used to be commit 3df2cb1ea82dae7395d3d19ba73f97dad26bb86b)
2007-10-10r19438: try to fix up the build breakages on BSD systems due to incorrectlyAndrew Tridgell1-3/+3
detecting iconv.h (This used to be commit e6baa13e1f9c35f95021512b713cebba680b2a72)
2007-10-10r19122: merge from samba3:Stefan Metzmacher1-4/+17
sync system/iconv.h metze (This used to be commit 9c74964b619fd0754d3b72c21fe2cef4d24e7ad5)
2007-10-10r18957: we need to include unistd.h in system/network.h becauseStefan Metzmacher1-0/+4
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 f37b13cbe65404f27d31b8020afb2f542313f4d3)
2007-10-10r18947: overload listen() and ioctl() in socket_wrapperStefan Metzmacher1-0/+4
metze (This used to be commit dfaccdca1b6954cd61828749d7b000f804f3b066)
2007-10-10r18593: try to get the same socket_wrapper file building in samba3 and samba4Stefan Metzmacher1-0/+2
this is preparation of adding libreplace to samba3 later. metze (This used to be commit 26228e4b2e8debd84caebe84bb34bfbbf2ad405c)
2007-10-10r18400: move MAP_FAILED define to lib/replace/system/shmem.hAndrew Tridgell1-0/+4
(This used to be commit 025b142ff268498cfb36fc0e7e9e25a2c5963d38)
2007-10-10r18160: - pread and pwrite replacements need to be non-staticAndrew Tridgell1-5/+0
- 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_* (This used to be commit 57cd0ca176387d6a3acabf9fedeef4f2a3a3dad7)
2007-10-10r18146: we need signal.h in some placesAndrew Tridgell1-0/+2
(This used to be commit f226645d73c85011fea32a9b6e26eb41dd2c4336)
2007-10-10r18129: moved the system includes into libreplace - this gives much moreAndrew Tridgell19-0/+1121
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) (This used to be commit 77d1a468e06290aba789e2f3affc769fc5159a21)