| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
assembly.
|
| |
|
|
|
|
|
|
|
| |
Without this, tar -r breaks badly; new entries overwrite the
middle of the archive instead of being added at the end.
Thanks to: Chris Spiegel
|
| |
|
| |
|
|
|
|
|
|
| |
into pthread structure to keep track of locked PTHREAD_PRIO_PROTECT mutex,
no real mutex code is changed, the mutex locking and unlocking code should
has same performance as before.
|
| |
|
|
|
|
|
|
|
| |
- Update URL of the Assigned Numbers document for SDP
Approved by: emax (mentor)
MFC after: 3 days
|
|
|
|
|
|
| |
PR: docs/102353
Submitted by: phk
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
|
|
| |
capabilities but tell they do nothing in the base system.
This is a late responce to
http://docs.freebsd.org/cgi/mid.cgi?ED759F1DC5ADD74592DD063B1EDEDAF803ACD2B5
.
Obtained from: OpenBSD (wording; with minor corrections)
|
| |
|
| |
|
|
|
|
|
|
|
| |
there's no need to to anything in the hton* functions, beside returning
the parameter.
Spotted out by: Oleksandr Tymoshenko <gonzo@freebsd.org>
|
|
|
|
| |
PR: 24125
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
| |
first sentence back to the way it was. Add a second sentence that
explains the case when strcmp is called.
|
|
|
|
|
|
|
|
|
|
|
| |
(size_t)(num * size) == 0
but both num and size are nonzero.
Reported by: Ilja van Sprundel
Approved by: jasone
Security: Integer overflow; calloc was allocating 1 byte in
response to a request for a multiple of 2^32 (or 2^64)
bytes instead of returning NULL.
|
| |
|
|
|
|
| |
at LBA 1, the size is not the mediasize in sectors, but one less.
|
|
|
|
| |
See also: PR ia64/91846
|
|
|
|
|
|
| |
PR: docs/101314
Submitted by: Vasil Dimov
MFC after: 1 week
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The symptom is that syslog() fails to log anything but the "ident"
string if LOG_PERROR is specified to openlog(3) and the extensible
printf is in action.
For unclear, likely quaint historical reasons, syslog uses fwopen()
on a stack buffer, rather than using the more straightforward
and faster snprintf().
Along the way, fflush(3) is called, and since the callback writer
function returns zero instead of the length "written", __SERR
naturally gets set on the filedescriptor.
The extensible printf, in difference from the normal printf refuses
to output anything to an __SERR marked filedescriptor, and thus
the actual syslog message is supressed.
MFC: after 2 weeks
|
| |
|
|
|
|
| |
which means that we also have <thread_db.h>.
|
|
|
|
|
|
|
|
|
| |
old resolver opened just one socket, BIND9's resolver may
open more than one sockets. And, BIND9's resolver doesn't
close the socket on timeout. So, we need this check.
Reported by: freebsd-cvs-src__at__oldach.net (Helge Oldach), bz
Hinted by: rwatson
|
| |
|
|
|
|
|
|
|
|
|
|
| |
This change affects documentation and comments only,
no real code involved.
PR: misc/101245
Submitted by: Darren Pilgrim <darren pilgrim bitfreak org>
Tested by: md5(1)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
integer. Presently, our implementation employs an approach that
converts the value to int64_t, then back to int, unfortunately,
this approach can be problematic when the the difference between
the two time_low is larger than 0x7fffffff, as the value is then
truncated to int.
To quote the test case from the original PR, the following is
true with the current implementation:
865e1a56-b9d9-11d9-ba27-0003476f2e88 < 062ac45c-b9d9-11d9-ba27-0003476f2e88
However, according to the DCE specification, the expected result
should be:
865e1a56-b9d9-11d9-ba27-0003476f2e88 > 062ac45c-b9d9-11d9-ba27-0003476f2e88
This commit adds a new intermediate variable which uses int64_t
to store the result of subtraction between the two time_low values,
which would not introduce different semantic of the MSB found in
time_low value.
PR: 83107
Submitted by: Steve Sears <sjs at acm dot org>
MFC After: 1 month
|
|
|
|
|
|
|
| |
then don't use them for testing for a recursive add.
Thanks to: Spencer Minear
MFC after: 7 days
|
|
|
|
| |
All the dependencies are satisfied now in <bsd.own.mk>.
|
|
|
|
|
|
| |
This allows msqrt() to only call BN_CTX_new() once intead of many times.
Suggested and reviewed by: stefanf
|
|
|
|
| |
Thanks to: VMiklos
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
increases performance when extracting a single entry from a large
uncompressed archive, especially on slow devices such as USB hard
drives.
Requires a number of changes:
* New archive_read_open2() supports a 'skip' client function
* Old archive_read_open() is implemented as a wrapper now, to
continue supporting the old API/ABI.
* _read_open_fd and _read_open_file sprout new 'skip' functions.
* compression layer gets a new 'skip' operation.
* compression_none passes skip requests through to client.
* compression_{gzip,bzip2,compress} simply ignore skip requests.
Thanks to: Benjamin Lutz, who designed and implemented the whole thing.
I'm just committing it. ;-)
TODO: Need to update the documentation a little bit.
|
|
|
|
|
|
|
|
|
| |
pax wasn't introduced until the 1993 (?) revision.
(I need to double-check when pax was introduced and
clarify some of the history here. In particular,
I should explain that the 'pax' standard now owns the
'ustar' format spec.)
|
|
|
|
|
| |
removed. (It was introduced experimentally and I have simply
never had time to finish it.)
|
|
|
|
|
|
|
|
|
|
|
|
| |
runtime using BN_CTX_new(). This is done since in OpenSSL 0.9.7e we
can only allocate BN_CTX on the stack by including an internal OpenSSL
header file, and in OpenSSL 0.9.8 BN_CTX is entirely opaque, so having
it on the stack is not possible at all.
This is done as preparation for OpenSSL 0.9.8b import.
Tested on: amd64 i386 ia64
Tested with: src/tools/regression/lib/libmp
|
|
|
|
| |
Suggested by: des
|
|
|
|
|
|
|
|
| |
so that architectures with a quantum of 8 (rather than 16) work.
Restore arm's quantum to 8.
Submitted by: jmg
|
|
|
|
| |
triggering an assertion later.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
even if stats gathering is disabled. [1]
Remove 'size' parameter from several functions that do not use it.
Reported by: [1] ache
|
| |
|
| |
|
|
|
|
| |
Submitted by: Andre Albsmeier <Andre.Albsmeier siemens com>
|
|
|
|
| |
Reviewed by: rwatson@
|
|
|
|
|
|
|
| |
but we don't seem to have one yet, so just add an XXX comment on
passing rux_runtime to bintime2timeval() wrongly.
Spotted by: gcc(1) (warning)
|