| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
remove unused variable.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
directly into getaddrinfo_async_run. Simplifies everything by
a great deal.
|
|
|
|
| |
YP is now supported on all relevant resolver functions.
|
|
|
|
|
|
| |
round of a getaddrinfo_async() simplification. The goal is to make YP
support easier to add, and eventually remove the whole hostaddr_async
subquery.
|
| |
|
|
|
|
| |
ok kettenis
|
|
|
|
| |
by using the blocking YP API internally.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
handle rlim_cur set to RLIM_INFINITY or values greater than LONG_MAX,
as unlikely as those are to happen. Further limit _SC_STREAM_MAX to
at most SHRT_MAX, because struct __sFILE uses a short int for storing
the file descriptor.
While here, also remove a dead label that Clang complains about.
From FreeBSD via Brad.
|
| |
|
|
|
|
|
|
| |
too early to assume that everyone has updated their compiler
toolchains, and it seems to cause problems at least on armish when an
out-of-date binutils is used.
|
| |
|
| |
|
|
|
|
|
|
| |
profiling does not work well along with PIE.
ok deraadt@ guenther@
|
| |
|
| |
|
|
|
|
|
|
|
| |
invocations. This allows us to use the compiler builtin define __PIC__ to check
for PIC/PIEness rather than passing -DPIC. Simplifies PIE work a lot.
ok matthew@, conceptually ok kurt@
|
|
|
|
|
|
|
|
|
|
| |
initializing their __guard values. For the time being, we're leaving
libc's constructor method as a backup to make sure __guard actually
gets initialized and to emit syslog warnings when it's not.
Not really an ABI change, so no shlib bump... "hold on to your butts"
ok deraadt, kettenis
|
|
|
|
|
| |
- update rfc references
- make the Rs/Re blocks more consistent
|
|
|
|
| |
ok deraadt@ kettenis@
|
|
|
|
| |
rfc 5321 replaces 974 and 2821;
|
| |
|
|
|
|
|
| |
broken way. Make it almost trivial to implement gethostby*_r() family
of functions when needed.
|
|
|
|
|
|
| |
hold both the structure and the data. The freehostent() and freenetent() API
functions are not needed anymore. While there, ensure that the constructed
addr and alias lists are really NULL terminated.
|
| |
|
|
|
|
|
|
| |
5322 obsoletes 2822
5321 obsoletes 821 and 2821
6409 obsoletes 2476 and 4409
|
| |
|
|
|
|
| |
make sure to save and restore errno properly.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
They do not have to deal with h_errno at all. Also, errno is only kept
for EAI_SYSTEM. Small code cleanup while there.
Adapt getnameinfo() and getaddrinfo() wrappers to correctly save errno
and overwrite it in the EAI_SYSTEM case.
General errno handling issue reported by mikeb@.
|
|
|
|
|
|
|
|
|
| |
variants) for URLs, allowing mandoc -Thtml to properly generate links;
(sendmail.8 changes are simply using Lk, which i somehow missed in previous)
ingo reminded me to verify that gnu groff recognises %U: 1.20.1 does not,
but 1.21 does;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Link libpthread.so with -znodlopen. Because libpthread overrides
the weak symbols in libc, we can't allow it to be dynamically
loaded or else libc's weak symbols might have already been
resolved by ld.so. (Also, major bump because this is technically
a backwards incompat change in behavior, although dlopen()ing
libpthread never really worked.)
- Link libc.so with -nodefaultlibs -lgcc. This ensures that libc
doesn't try to link against itself (which ld.so wouldn't like).
- Change GCC 4 to link shared objects with -lpthread and -lc as
appropriate, now that there's no issues with doing so. This means
that it's no longer necessary to patch software to use -pthread
instead of -lpthread. (Ports tree rejoice!)
Also, to preemptively answer this question: No, this does not
eliminate the need for LD_PRELOAD=libpthread.so. That's a separate
issue that won't be resolved until we eliminate libc's weak symbols.
Discussed extensively on email and icb over the past few months.
ok deraadt
|
|
|
|
| |
ok matthew@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
mask of zero (because of flawed logic assuming finding zero in the sigjmp_buf
signal mask means sigsetjmp was invoked with a zero `savemask' argument).
While there, clean comments of all *{set,long}jmp routines, and shave a few
instructions by using bcnd insead of cmp + bb to test for zero values.
Passes the regress tests, and now devel/libsigsegv configure siglongjmp test
will not spin (this test is however flawed as it expects a signal handler
declared as running on the sigaltstack and `returning' through siglongjmp to
be invoked on the signal stack the next time the signal is raised).
|
|
|
|
| |
ok guenther@
|
| |
|
|
|
|
| |
ok deraadt@ tedu@, wording tweaks jmc@
|
|
|
|
| |
text was removed from symlink.7 over 16 years ago.
|
|
|
|
| |
From Brad, with tweaks by me.
|
|
|
|
| |
the given protocol.
|
|
|
|
|
|
|
|
| |
ifa_broadaddr. i.e. make it make clear that this field is only
valid for P2P. (Hint: one's a field, and one's a #define giving a
new name to said field)
ok guenther@
|
| |
|
| |
|