| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
|
|
|
|
| |
is aligned so that pointer to it can be safely casted to struct in_addr *.
|
|
|
|
|
|
| |
Apparently BIND-8.2.1 uses ns_class.
Submitted by: John Plevyak <jplevyak@inktomi.com>
|
|
|
|
|
|
| |
network byte order.
PR: docs/9376
|
| |
|
|
|
|
|
| |
due to _gethostbynis() setting h.h_length to sizeof(u_long), which
works out to 8 on alphas. And 8!= NS_INADDRSZ.
|
|
|
|
| |
Submitted by: Andrew Gallatin <gallatin@cs.duke.edu>
|
|
|
|
|
|
|
| |
o Only allow options and domain name to be set when we aren't running
setuid.
Obtained from: OpenBSD
|
|
|
|
|
|
|
|
|
|
|
| |
and res_* modules in a way that works for ELF. I moved the aliases
out of res_stubs.c and into the individual modules where the entry
points are defined. Weak aliases don't work in ELF unless that is
the case. (Actually, I'm surprised it worked for a.out.)
This should fix the undefined "inet_addr" and related symbols in
various applications that fail to include <arpa/inet.h> or
<resolv.h> as they are supposed to do.
|
| |
|
| |
|
|
|
|
|
| |
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>
|
| | |
|