Commit Graph

1725 Commits

Author SHA1 Message Date
Love Hornquist Astrand
1e9ec73bbc [HEIMDAL-646] aix
AIX qsort() is unstable and might change the order of the elements
if they are equal, libwind require them to be in the same order as they were
on the input, pull in FreeBSD qsort and use that instead of AIX version.
2009-10-11 15:08:58 -07:00
Love Hornquist Astrand
f7bde058ee Include dirfd for AIX too
From Anton Lundin
2009-09-29 08:56:07 -07:00
Love Hornquist Astrand
ff5bd1f6c6 use socket_set_ipv6only to bind only to the local v6 socket
This is since we probably will get a v4 adresses a tiny bit later, and
that will fail binding.
2009-09-21 07:59:18 -07:00
Love Hornquist Astrand
a5b819e474 remove ROKEN_VERSION 2009-09-20 01:36:29 -07:00
Love Hornquist Astrand
d55ee89437 use PACKAGE_VERSION instead 2009-09-20 01:36:09 -07:00
Love Hornquist Astrand
3e2a2de537 Maybe include <ws2tcpip.h>. 2009-09-19 17:55:04 -07:00
Love Hornquist Astrand
a64366ba7f fix depenecies for make-roken 2009-09-19 17:25:54 -07:00
Love Hornquist Astrand
7005f1f3f9 process roken.h.in with a perlscript when cross compiling 2009-09-19 16:43:35 -07:00
Love Hornquist Astrand
7b83dfbe72 Fix #if _DECL_ definitions 2009-09-19 16:32:23 -07:00
Love Hornquist Astrand
fb63b6d6f0 Don't care about the result from write() in SIGSEGV handler 2009-09-19 14:34:58 -07:00
Love Hornquist Astrand
b59d869489 have HAVE_DECL_ if special and is set to 0 on failure 2009-09-19 10:48:49 -07:00
Love Hornquist Astrand
ac8444c77f More #if -> #ifdef 2009-09-16 20:21:08 -07:00
Love Hornquist Astrand
9da5a02331 More #if -> #ifdef 2009-09-16 20:18:56 -07:00
Love Hornquist Astrand
082b2ecb08 use #ifdef 2009-09-16 16:39:37 -07:00
Love Hornquist Astrand
da642095a7 SUN4 dead, sorry 2009-09-16 16:37:45 -07:00
Love Hornquist Astrand
dec4371492 use !defined instead of ! 2009-09-16 16:30:51 -07:00
Love Hornquist Astrand
52f94f5d42 Remove $Id$ 2009-09-16 15:11:00 -07:00
Love Hornquist Astrand
84b191349c remove more 2009-09-16 15:10:48 -07:00
Love Hornquist Astrand
53c878d313 Remove #if 0 for unused code 2009-09-16 14:55:16 -07:00
Love Hornquist Astrand
c5264d42f4 drop rcsid 2009-09-07 21:24:36 -07:00
Love Hornquist Astrand
ba4909eba5 Link libroken with libcrypt since roken uses crypt() in unix_verify_password
Found by Guillaume Rousse
2009-08-26 15:20:51 -07:00
Anton Lundin
76afc31e9b Try both v4 and v6 socket types
The libroken-getifaddrs fails to retrive the ipv6-address in
solaris-zones but it might connect over ipv6 anyway, and then the kdc
refuses to give a ticket with the cryptic message:

kinit: krb5_get_init_creds: No ENC-TS found

A saner message ends up in the kdc's logfile.

because of a ENXIO when looking for a ipv6-address on the
ipv4-interface, the whole getlifaddrs2 fails and getifaddrs2 is run
instead and it just discovers the ipv4-address.

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-20 07:51:56 -07:00
Love Hornquist Astrand
599a7e2e50 add ct_memcmp as an exported symbol 2009-08-20 04:34:26 -07:00
Love Hornquist Astrand
5e1ceeddce Include "roken.h" for prototypes 2009-08-19 04:04:16 -07:00
Love Hornquist Astrand
9c95cd27f9 doxygen, make constant time for real. 2009-08-18 13:10:23 +02:00
Love Hornquist Astrand
b9018774d1 basic description of roken 2009-08-18 13:06:05 +02:00
Love Hornquist Astrand
aab1f34689 add doxygen.c 2009-08-18 13:05:36 +02:00
Love Hornquist Astrand
b657b2e680 Add constant time version of memcmp 2009-08-15 13:24:52 +02:00
Love Hornquist Astrand
076f3b9b8c Provide glue function for dirfd() for Solaris 2009-08-14 11:02:08 +02:00
Love Hornquist Astrand
f1207346f0 Fix printf argument error to errx() 2009-08-14 10:45:17 +02:00
Love Hornquist Astrand
21ff5b84a5 Fix symbols renaming for flock 2009-08-14 05:17:51 +02:00
Love Hornquist Astrand
833ac10aab Use unsigned char instead of u_int32_t 2009-08-14 03:59:24 +02:00
Love Hornquist Astrand
57393f7b86 Add <limits.h> for INT_MAX, needed on Solaris 2009-08-14 03:05:18 +02:00
Love Hornquist Astrand
da61635b75 Quest Software, Inc. and its contributors waive all copyright claims on
the attached getifaddrs test code and dedicate it to the public domain.

Changed to looked to the other heimdal test apps by me
2009-08-07 20:00:09 +02:00
Love Hornquist Astrand
3ae9834b37 As part of distdir don't build vis.h for platforms that doesn't need it 2009-08-05 15:42:55 +02:00
Love Hornquist Astrand
80a62da8de make depend on config.h, so that we can't avoid symbol renaming 2009-08-05 12:47:11 +02:00
Ted Percival
1cbb0e766d Fix crash in rk_freeifaddrs due to freeing an invalid pointer
Crash occurs on Linux systems that support AF_NETLINK but do not have
getifaddrs() in libc (eg. SuSE 8.1).

Signed-off-by: Love Hornquist Astrand <lha@h5l.org>
2009-08-05 12:29:26 +02:00
Love Hornquist Astrand
abd2f29c44 Pull in roken and use ROKEN_CPP_BEGIN/ROKEN_CPP_END instead of cdecl 2009-08-04 20:19:44 +02:00
Love Hornquist Astrand
7d8d09f3c0 make compile 2009-07-30 12:56:54 +02:00
Love Hornquist Astrand
c8b05eef61 (base64_encode): bound input length to /4 of max int and positive 2009-07-30 10:36:39 +02:00
Love Hornquist Astrand
1bdf51f26f (strpoolcollect): allow p == NULL, return the empty string (allocated) 2009-07-30 10:08:48 +02:00
Love Hornquist Astrand
0da57a49d7 Make cgetstr() not return allocated memory on failure [CID-170] 2009-07-30 10:04:44 +02:00
Love Hörnquist Åstrand
55cfca74d5 Maybe include <libutil.h>. Needed for FreeBSD.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25279 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-06-08 20:33:43 +00:00
Love Hörnquist Åstrand
1ab1b93b28 more const-ification
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25210 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:53 +00:00
Love Hörnquist Åstrand
a50b14f32b more const-ification
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25209 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:43 +00:00
Love Hörnquist Åstrand
072bd861e9 Pull out address and compare, from Ake Holmlund, otherwise it wont work for IPv6 on Solaris10.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25208 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-05-09 14:22:26 +00:00
Love Hörnquist Åstrand
f4b101544a buildfix on irix, from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 15:01:23 +00:00
Love Hörnquist Åstrand
b347f67b02 use res_ for platforms w/o dns_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 14:55:46 +00:00
Love Hörnquist Åstrand
736d3d7e03 argc not use, don't increment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:10 +00:00
Love Hörnquist Åstrand
b7db794723 provide glue for classes too
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:26 +00:00