| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
the string buffer used by asprintf() and vasprintf(). OK deraadt@
|
|
|
|
|
|
| |
around in the address space. Don't bother doing so for the buffer
which contains aslr'd pointers...
ok millert
|
|
|
|
|
|
| |
buffers. We don't bother doing this for objects containing pointers,
but focus on controllable data.
ok millert
|
| |
|
|
|
|
|
| |
we expanded the buffer to a single page. The final realloc() can
be expensive for large buffers and is not realled needed. OK deraadt@
|
| |
|
|
|
|
|
| |
nearest page instead of doubling the old size until it is large
enough. OK deraadt@
|
|
|
|
|
| |
lookups isn't left lying around the address space.
ok eric
|
| |
|
|
|
|
|
| |
with NULL
ok eric
|
|
|
|
| |
- remove some XXX i no longer need
|
|
|
|
|
|
| |
includes some fixes from schwarze, as well as some general tweaking;
ok deraadt schwarze
|
| |
|
|
|
|
|
| |
document kern.wxabort
from michael reed
|
|
|
|
|
| |
Always return nonzero as the return code from longjmp.
ok guenther@ patrick@
|
|
|
|
|
| |
SIGTTOU handler installed without SA_RESTART set, tcsetpgrp() will
return -1 and set errno to EINTR. OK deraadt@
|
|
|
|
| |
help and ok from tom@ and deraadt@
|
| |
|
|
|
|
|
| |
with the added feature that released memory is cleared. Much input from various
developers. ok deraadt@ tom@
|
| |
|
|
|
|
|
| |
crash when given a large hex number as part of the dotted quad.
OK deraadt@ jsg@
|
|
|
|
| |
ok bluhm@ jmc@ renato@
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
RES_USE_DNSSEC is implemented by setting the DNSSEC DO bit in outgoing
queries. The resolver is then supposed to set the AD bit in the reply
if it managed to validate the answer through DNSSEC. Useful when the
application doesn't implement validation internally. This scheme
assumes that the validating resolver is trusted and that the
communication channel between the validating resolver and and the client
is secure.
ok eric@ gilles@
|
|
|
|
|
|
| |
Needed for RES_USE_DNSSEC support.
ok eric@ gilles@
|
|
|
|
|
|
|
|
|
| |
elements of the union.
This field is for internal asr flags. The flags in "struct rrset" and
"struct ni" are different kinds of flags.
ok eric@
|
|
|
|
| |
ok kettenis@
|
|
|
|
|
|
|
| |
suppose this still stems from the first steps where we tried to get at
least some userland stuff to compile. This change properly saves the
pointer before doing the syscall and stores the return value in the
pointer on return. This makes sigpending regress pass.
|
|
|
|
|
|
|
|
| |
minek van on misc@. Thanks.
ok tb@, tj@
(and jmc@ is ok with the diff but can't ok the technical content).
|
|
|
|
| |
a long sentence (from tj@).
|
|
|
|
|
|
| |
element of the union.
ok gilles@ millert@ krw@
|
|
|
|
|
|
|
| |
the wrong location, thus not making it set SIG_BLOCK with a zero mask
when attempting to read the signal mask (if set ptr is NULL). Instead
an attempt to read the mask actually told the syscall to set the mask
to zero.
|
|
|
|
| |
ok jca@ krw@ gilles@
|
|
|
|
|
|
|
| |
rather than a non-informative EAI_FAIL. Compare to -1 for error detection
while here.
ok jca@ gilles@
|
|
|
|
|
| |
value returned in x1 on __tfork(3) is always zero, which made the code
always fall into the child case.
|
|
|
|
| |
Requested earlier by eric@
|
|
|
|
|
|
|
|
| |
In particular, truncated packets without the TC flag set (non-compliant
server sending too large packets) now fail with EOVERFLOW instead of EINVAL,
so the TCP fallback mechanism can work.
feedback and ok krw@ jca@ benno@
|
|
|
|
|
|
|
| |
EDNS allows for various DNS extensions, among which UDP DNS packets size
bigger than 512 bytes. The default is still to not advertize anything.
ok eric@
|
|
|
|
|
|
| |
pack/unpack contexts.
ok krw@ deraadt@
|
|
|
|
|
|
|
|
|
|
| |
broken DNS servers out there that send packets >512 bytes w/o even the
courtesy of trying to use EDNS0.
A partial workaround as more complete packet parsing solutions are
worked on.
ok jca@ eric@
|
|
|
|
|
|
|
|
|
|
| |
As reported by Yuri Pankov, some versions of GCC whine that "tmp"
might be used uninitialized in fts_open(3). Clearly, that cannot
actually happen, but explicitly setting it to NULL is safer anyway.
While here, rename the badly named variable "tmp" and make the
inner "if" easier to understand.
Feedback and OK guenther@
|
|
|
|
|
|
| |
free() error path.
ok otto@
|
| |
|
|
|
|
|
| |
a page. This is not required by any standard and other malloc
implementation do not document (or implement) this. ok deraadt@
|
| |
|
|
|
|
| |
half a page and a page. ok jmatthew@ tb@
|
| |
|
|
|
|
| |
value to and not overwrite other bits by writing a 64-bit value.
|
|
|
|
|
|
|
| |
diff from kirill miazine
while here, bump all the no op texts to one standard blurb;
help/ok jca
|
|
|
|
| |
of unneccessary quoting; ok deraadt
|