| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
so much a "fix", rather a bandaid to buy time to fix it properly
within the thread engine.
|
|
|
|
|
|
| |
getXXXXbyYYYY() interfaces yet.
Obtained from: diff relative to bind-8.1.2 sources
|
|
|
|
|
| |
PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>
|
|
|
|
|
|
| |
One bug was relatively harmless (select's timeout had an uninitialized
tv_usec), the other I'm not so sure.. (neglected to catch select returns
less than zero). Both of these were irrelevant on kernels with poll().
|
|
|
|
|
|
| |
chunks of res_comp.c and replacing it with chunks of bind-8.1.1's resolver
code. (There are no interface changes though)
The other parts are better bounds checking related.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
isn't a prerequisite, since it isn't required for the prototypes
and isn't always needed to call the functions (the address family
might be a variable).
|
|
|
|
|
| |
Reviewed by: guido
Obtained from: OpenBSD (Theo de Raadt)
|
| |
|
| |
|
|
|
|
|
| |
were a workaround for limitations in bsd.man.mk that were fixed about
2 years ago.
|
|
|
|
|
|
|
| |
an unimplemented syscall returned ENOSYS, rather than EINVAL. I have run
statically linked code with this wrapper and it does appear to work fine
on 2.2-stable which doesn't have poll(). ktrace shows the poll syscall fail
once and the fallback to select() working.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
if necessary. This removes the need to malloc large fd_set's for selecting
on high fd's (larger than FD_SETSIZE at libc compile time).
The syscall adaptive stuff only happens on the very first call. SIGSYS
is masked, and if the call to poll fails with ENOSYS, then we use select
for the life of the program. If poll does not fail with ENOSYS, then we
always use poll and skip the once-off signal masking gunk.
This may be overkill, but it saved my neck a few times while working on
multiple different sets of kernel sources, some with poll, some without.
|
|
|
|
|
|
| |
Mention the capability in resolver(5).
Mention that RES_OPTIONS can be used in resolver(5).
Discussed with: -hackers
|
| |
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| |
| |
| |
| |
| | |
libc/db, libc/gen/crypt.* and libtelnet. All affected files except 3
unimportant ones have already left the vendor branch.
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Only call malloc() if the fd is too big for the compiled in fd_set size,
and don't use calloc either. This should reduce the impact of conflicts
with private malloc implementations etc. When using the fd_set on the
stack, only zero what is needed rather than all 1024 bits like FD_ZERO did.
|
| |
| |
| |
| |
| | |
are open.
Obtained from: OpenBSD; by deraadt and dm
|
| | |
|
| |
| |
| |
| | |
overflow problem differently.
|
| | |
|
| |
| |
| |
| | |
Obtained from: OpenBSD
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
so that all these makefiles can be used to build libc_r too.
Added .if ${LIB} == "c" tests to restrict man page builds to libc
to avoid needlessly building them with libc_r too.
Split libc Makefile into Makefile and Makefile.inc to allow the
libc_r Makefile to include Makefile.inc too.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
prevent information leakage.
Closes PR 2578
Submitted by: Julian Assange
|
| |
| |
| |
| | |
Reviewed by: wollman
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
args, and errno hasn't actually been set so it probably doesn't make sense
to report it via strerror().
Pointed out by: bde
|
| |
| |
| |
| | |
Pointed out by: bde
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
when called from lpd.
Reviewed by: jkh, pst
Submitted by: Oliver Friedrichs <oliver@secnet.com>
|
| | |
|
| |
| |
| |
| | |
Submitted by: Julian Assange
|
| | |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|
| |
| |
| |
| | |
Submitted by: paul@vix.com
|
| |
| |
| |
| |
| | |
isxdigit(name[0]) gives false failures on short names which looks
like hexadecimal digits, f.e. "fade", "babe", "d133", etc.
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
RELENG_2_2!
This is part#2 of the previous commit to src/lib/libc/net to contain the
potential damage.
This provides stubs so that binaries linked in 2.2 will run on 3.0
|
| |
| |
| |
| |
| | |
DNSSEC stuff, among other things. There are also some renamed functions,
I've left out the res_stubs.c from this commit in case cvs bombs out..
|