tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
lib
/
libc
/
asr
/
at
jcs
24 files
Makefile.inc
for some time now mandoc has not required MLINKS to function correctly - logically complete that now by removing MLINKS from base;
10 years ago
asr.c
Periodic re-check of /etc/resolv.conf was done with stat(), then open(), then parse. This is not a TOCTOU because there is no data dependency problem. However, this is intricately tied into an undocumented secret contract between libc and kernel for pledge("dns"), where a pledge_namei() callback checks which path & system call is doing the operation. I had to add a SYS_stat check rather than relying on just the SYS_open check. I prefer to be reduce the sneakiness. In a year after statically-linked binaries have been replaced everywhere, I can tighten the pledge_namei() check by removing the SYS_stat check. ok dlg guenther florian
9 months ago
asr_debug.c
Implement rfc6840 (AD flag processing) if using trusted name servers
4 years ago
asr_private.h
localhost is either 127.0.0.1 or ::1, nothing else.
2 years ago
asr_run.3
man pages: add missing commas between subordinate and main clauses
4 years ago
asr_utils.c
localhost is either 127.0.0.1 or ::1, nothing else.
2 years ago
getaddrinfo.c
fix conditionals
10 years ago
getaddrinfo_async.c
Do not limit numeric host address conversion by family in resolv.conf
6 months ago
gethostnamadr.c
Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak
10 years ago
gethostnamadr_async.c
typo in comment; saveguard -> safeguard; ok gilles@
2 years ago
getnameinfo.c
spelling fixes; from paul tagliamonte any changes not taken noted on tech, but chiefly here i did not take the cancelation - cancellation changes;
3 years ago
getnameinfo_async.c
Always call endservent_r() after getservbyport_r(). Fix a memory leak when no entry is matched.
5 years ago
getnetnamadr.c
Move to the <limits.h> universe. review by millert, binary checking process with doug, concept with guenther
11 years ago
getnetnamadr_async.c
To allow us to get rid of /etc/networks, make getnetby*(3) wrappers around gethostby*_async(3). If you had anything of importance in /etc/networks, specify it in /etc/hosts instead. Feedback and OK eric@, OK deraadt@
8 years ago
getrrsetbyname.c
Finish wrapping <netdb.h> so that calls go direct and the symbols are all weak
10 years ago
getrrsetbyname_async.c
avoid memcpy(malloc(0), ..., 0), which is not portable. ok florian@
2 years ago
res_debug.c
split asr_resolver.c into different files to overlay the libc/net resolver implementation.
13 years ago
res_init.c
Allow setting of retransmission intervasl via _res.retrans. Ugly API but it's all we got. ok jca@
6 years ago
res_mkquery.c
Implement rfc6840 (AD flag processing) if using trusted name servers
4 years ago
res_query.c
Wrap <resolv.h> so that internal calls go direct
10 years ago
res_search_async.c
Put a common flags field in the query struct, rather than in some elements of the union.
9 years ago
res_send.c
Make the asr API public. Install asr.h to /usr/include.h and manpages. Include tweaks suggested by mpi@
12 years ago
res_send_async.c
Fixup comment
3 years ago
sethostent.c
Minor cleanup, no functional change: Remove unused headers and a comment implying that we might consider reviving these dead horses in the future, which we do not intend to do. OK deraadt@ guenther@
8 years ago