Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-12-08 | getaddrinfo: remove superfluout indentation, fix incorrect one. | Denis Vlasenko | |
remove one superfluous statement. | |||
2008-12-08 | - fix loop for checking ifaddr on both IPv4 and IPv6 | Bernhard Reutner-Fischer | |
2008-12-06 | resolver: make new name resolutions reread /etc/resolv.conf | Denis Vlasenko | |
if 256+ seconds passed since last read; fix cases where we switch to next search domain instead of switching to new server optimize ip4/ip6 combined cases; rewrite for(;;) loops so that it's clearer what's going on; document buffer usage; add TODOs and FIXMEs (for one, gethostbyname2 does not fill ->h_aliases field in the result AT ALL, and is iffy in general) text data bss dec hex filename - 245898 1403 11904 259205 3f485 libuClibc-0.9.30-svn.so + 245785 1403 11904 259092 3f414 libuClibc-0.9.30-svn.so | |||
2008-12-01 | hostid: improve extremely unreadable parts | Denis Vlasenko | |
*: remove checks of sigaction and sigprocmask results in cases where they clearly can't fail: sigaction(known_good_sig) sigprocmask(known_good_how) text data bss dec hex filename - 393 4 0 397 18d libc/pwd_grp/lckpwdf.o + 382 4 0 386 182 libc/pwd_grp/lckpwdf.o - 56 0 0 56 38 libc/signal/sigblock.o + 44 0 0 44 2c libc/signal/sigblock.o - 211 0 0 211 d3 libc/signal/sigset.o + 202 0 0 202 ca libc/signal/sigset.o - 56 0 0 56 38 libc/signal/sigsetmask.o + 44 0 0 44 2c libc/signal/sigsetmask.o - 309 0 0 309 135 libc/unistd/sleep.o + 256 0 0 256 100 libc/unistd/sleep.o | |||
2008-12-01 | constify more data | Denis Vlasenko | |
text+data text+rodata rwdata bss filename - 2534 2510 24 0 libc/inet/rpc/clnt_udp.o + 2534 2534 0 0 libc/inet/rpc/clnt_udp.o - 1904 1880 24 0 libc/inet/rpc/clnt_tcp.o + 1904 1904 0 0 libc/inet/rpc/clnt_tcp.o - 770 746 24 4 libc/inet/rpc/clnt_raw.o + 770 770 0 4 libc/inet/rpc/clnt_raw.o | |||
2008-12-01 | rpc: constify data, localize unnecessarily static data | Denis Vlasenko | |
text+data text+rodata rwdata bss filename - 2308 2284 24 24 libc/inet/rpc/clnt_unix.o + 2308 2308 0 0 libc/inet/rpc/clnt_unix.o | |||
2008-12-01 | random: use smaller data fields where appropriate | Denis Vlasenko | |
text data bss dec hex filename - 130 156 0 286 11e libc/stdlib/random.o + 130 148 0 278 116 libc/stdlib/random.o - 586 0 0 586 24a libc/stdlib/random_r.o + 570 0 0 570 23a libc/stdlib/random_r.o | |||
2008-12-01 | gethostbyname can use gethostbyname2, saving one nearly 0.5k static buffer | Denis Vlasenko | |
text data bss dec hex filename - 45 0 480 525 20d libc/inet/gethostbyname.o + 18 0 0 18 12 libc/inet/gethostbyname.o | |||
2008-12-01 | rpc: should check against max for int32, not int | Denis Vlasenko | |
2008-12-01 | rpc: ifdef out xdrrec_{get,put}long if int32 == long, | Denis Vlasenko | |
otherwise use xdrrec_{get,put}int32 + trivial transform. eliminate warnings. des: small shrink + eliminate a warning | |||
2008-11-20 | Last portion of libc_hidden_proto removal. | Denis Vlasenko | |
Appears to build fine (several .configs tried) | |||
2008-11-20 | next portion of libc_hidden_proto removal | Denis Vlasenko | |
2008-11-18 | libc_hidden_proto removal, a few more functions | Denis Vlasenko | |
2008-11-18 | libc_hidden_proto removal, just a few functions | Denis Vlasenko | |
2008-11-17 | resolver: use timeout of 5 (glibc uses that). | Denis Vlasenko | |
delete some duplication in constants. | |||
2008-11-17 | resolver: separate gethostent and gethostent_r into two .o files; | Denis Vlasenko | |
delete two stray files which compile to nothing | |||
2008-11-17 | resolver: move large code blocks to arrange related functions closer. | Denis Vlasenko | |
almost no code changes | |||
2008-11-17 | resolver: fix some previous TODOs, add new ones. | Denis Vlasenko | |
2008-11-16 | resolver: improved support for overriding DNS server addresses | Denis Vlasenko | |
in _res structure. Used by busybox's nslookup. | |||
2008-11-16 | resolver: make getaddrinfo actually respect _res.nsaddr_list; | Denis Vlasenko | |
add largish comment explaining what we are doing, and why; fixes to make IPv6-only resolver possible | |||
2008-11-15 | resolver: more locking fixes. | Denis Vlasenko | |
2008-11-14 | fixing resolver part 3: fix completely bogus locking | Denis Vlasenko | |
in __dns_lookup. | |||
2008-11-14 | fixing resolver part 2: make _res structure members | Denis Vlasenko | |
configurable. we don't use most of it anyway. | |||
2008-11-14 | fixing resolver, part 1 | Denis Vlasenko | |
2008-11-13 | - silence shadow warning | Bernhard Reutner-Fischer | |
2008-11-07 | - less verbose make clean | Bernhard Reutner-Fischer | |
2008-11-02 | resolver: reinstate searching if search domains accidentally nuked | Denis Vlasenko | |
in one of recent commits :) | |||
2008-11-01 | __dns_lookup: document and optimize a bit | Denis Vlasenko | |
text data bss dec hex filename - 1545 2 4 1551 60f libc/inet/dnslookup.o + 1528 2 4 1534 5fe libc/inet/dnslookup.o | |||
2008-11-01 | resolver: partially fix bug 660 - | Denis Vlasenko | |
do not treat negative response as error | |||
2008-11-01 | resolver: fix part of bug 1468: | Denis Vlasenko | |
"gethostbyname() fails if DNS server returns more than 23 addresses" | |||
2008-11-01 | resolver: trivial code trasformations for readability. | Denis Vlasenko | |
No logic changes. Code size is the same too. | |||
2008-11-01 | trivial code shrink by making some strings static | Denis Vlasenko | |
text data bss dec hex filename - 259 0 0 259 103 libc/inet/herror.o + 243 0 0 243 f3 libc/inet/herror.o - 720 0 0 720 2d0 libc/inet/ns_name.o + 710 0 0 710 2c6 libc/inet/ns_name.o | |||
2008-10-28 | getaddrinfo.c: improve readability | Denis Vlasenko | |
2008-10-28 | getaddrinfo.c: reformat. no code changes | Denis Vlasenko | |
2008-10-28 | Remove all references to __no_netlink_support as after thurough scrutiny of | Ricard Wanderlof | |
the code it was never used in any useful way. | |||
2008-10-28 | make getaddrinfo to NOT query DNS for IPv6 address if host is in | Denis Vlasenko | |
/etc/hosts and it has IPv4 address there. The most common example is "127.0.0.1 localhost". We don't want "ping localhost" to stall and time out on IPv6 queries to, say, inaccessible DNS server, right? - 655 0 0 655 28f libc/inet/gethostbyname2_r.o + 685 0 0 685 2ad libc/inet/gethostbyname2_r.o | |||
2008-10-27 | - fix typo in r23808 | Bernhard Reutner-Fischer | |
2008-10-27 | libc/inet/getaddrinfo.c: const'ify some data; | Denis Vlasenko | |
avoid using zero-filled constants in bss: text data bss dec hex filename 3182 24 48 3254 cb6 getaddrinfo_old.o 3280 0 0 3280 cd0 getaddrinfo.o | |||
2008-10-22 | - remove superfluous ';'. No objcode changes. | Bernhard Reutner-Fischer | |
2008-10-20 | - need to grab features before looking at eventually requested netlink support | Bernhard Reutner-Fischer | |
Thanks to Peter S. Mazinger for pointing out this (obvious) error. The __ASSUME_NETLINK from ricardw's r22531 references a non-existing variable in certain cases. I don't see how that could possibly work.. | |||
2008-10-19 | - do not include netlink headers if netlink is turned off (Michael Deutschmann) | Bernhard Reutner-Fischer | |
Closes #5544 | |||
2008-10-17 | - des uses ntohl | Bernhard Reutner-Fischer | |
2008-10-06 | - hide relocation (Peter S. Mazinger) | Bernhard Reutner-Fischer | |
2008-10-03 | - use c89-style comments | Bernhard Reutner-Fischer | |
Closes issue #5194 | |||
2008-09-11 | - remove gethostbyname_r relocation | Bernhard Reutner-Fischer | |
2008-08-28 | Move ifaddrs.h from uClibc-internal location libc/inet/ to include/, and make | Ricard Wanderlof | |
it conditionally included among the installed header files depending on UCLIBC_HAS_AI_ADDRCONFIG. | |||
2008-08-27 | Removed redundant includes. | Ricard Wanderlof | |
2008-07-23 | - trim any trailing whitespace | Bernhard Reutner-Fischer | |
2008-07-01 | Simplified check_pf() so it returns a bit vector in an unsigned int, | Ricard Wanderlof | |
instead of modifying the contents of two bools. | |||
2008-06-28 | #include <ifaddrs.h> should be #include "ifaddrs.h" | Denis Vlasenko | |