| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
locked it.
MFC after: 3 weeks
|
|
|
|
|
|
|
|
| |
"cache_size * sizeof(struct bucket)". The former is valid in C99 but can
confuse earlier compilers, while the latter is a standard idiom which all
C compilers understand.
Approved by: kientzle
|
| |
|
| |
|
|
|
|
|
|
|
| |
field is const, and then employ __DECONST before getting into the kvm
code. This eliminates a gcc 4.2 warning about losing constification.
__DECONST advice from: sam
|
|
|
|
|
|
|
|
| |
against NULL when it is first allocated) and pointless (we've already
dereferenced the pointer several times).
Found by: Coverity Prevent(tm)
CID: 3204
|
|
|
|
|
|
|
|
|
|
|
| |
going to overwrite it with a new value a few lines later.
Visual inspection of the surrounding code indicates that the code does
what it's supposed to do; i.e., the pointless code wasn't supposed to
be doing something other than what it was doing.
CID: 3323
Found by: Coverity Prevent(tm)
|
|
|
|
| |
Ok'd by: kan
|
|
|
|
| |
puts it before library's object files, making the whole constuct useless.
|
| |
|
|
|
|
|
|
|
|
|
| |
scheme allowed for 1024 PTE pages, each containing 256 PTEs.
This yielded 2GB of KVA. This is not enough to boot a kernel
on a 16GB box and in general too low for a 64-bit machine.
By adding a level of indirection we now have 1024 2nd-level
directory pages, each capable of supporting 2GB of KVA. This
brings the grand total to 2TB of KVA.
|
|
|
|
|
| |
Found by: Coverity Prevent
Coverity ID: CID 3132
|
|
|
|
| |
libraries might depend on versioned symbols from libc.
|
|
|
|
| |
architectures. Linker defines end is synonym for _end.
|
|
|
|
| |
as static later.
|
| |
|
|
|
|
|
| |
SSP functions into FreeBSD libc. Use the same file name and location
for consistency with other projects.
|
|
|
|
| |
Suggested by: deischen
|
|
|
|
|
|
|
| |
that would cause the selected shared threading library to be
overwritten with its 32-bit version on amd64.
PR: amd64/112509
|
|
|
|
| |
export them.
|
|
|
|
| |
Submitted by: ru
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
| |
can be used on any read socketopt).
-Clean up of sendmsg call and make it conformant when no syscall
is available.
|
|
|
|
|
| |
PR: 112704
Submitted by: kou@cozmixng.org
|
|
|
|
|
| |
world and it wreak havoc if libc collides with other versioned
libraries.
|
|
|
|
|
|
| |
descriptor number.
Approved by: glebius (mentor)
|
|
|
|
|
|
| |
PR: docs/78915
Submitted by: Marc Olzheim <marcolz@stack.nl>
MFC after: 1 week
|
|
|
|
| |
Submitted by: marius
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RIPEMD160_Update were broken when all of the following conditions
applied:
(1) The platform is i386.
(2) The program calling *_Update is statically linked to libmd.
(3) The buffer provided to *_Update is aligned modulo 4 bytes.
(4) The buffer extends beyond 2GB.
Due to the design of this code, SHA1_Update and RIPEMD160_Update will
still be broken if conditions (1)-(3) apply AND the buffer extends
beyond 4GB (i.e., there is an integer overflow in computing "data + len").
Since this remaining bug simply replaces SIGSEGV with a bogus hash (and
non-broken programs should never provide such operands) I don't consider
it to be a serious problem.
MFC After: 1 week
PR: kern/102795
|
|
|
|
| |
Pointed out by: deischen
|
|
|
|
|
|
|
| |
arch. It can be named differently depending on the arch (.mcount,
_mcount).
Submitted by: marius
|
|
|
|
|
|
|
|
|
|
| |
Warning, after symbol versioning is enabled, going back is not easy
(use WITHOUT_SYMVER at your own risk).
Change the default thread library to libthr.
There most likely still needs to be a version bump for at least the
thread libraries. If necessary, this will happen later.
|
|
|
|
|
|
| |
passed storage buffers rather than using static storage. Reimplement
ether_ntoa() and ether_aton() in terms of these functions. These variants
are thread-safe.
|
| |
|
|
|
|
| |
- Replace magic 14 with PIL_TICK.
|
|
|
|
|
|
|
| |
is not performance critical code anyway. Also, avoid using strlen() to
obtain information which we already have.
MFC after: 3 weeks
|
|
|
|
| |
Submitted by: Bård Skaflestad <bardsk@math.ntnu.no>
|
|
|
|
| |
that I make stupid fundamental mistakes like this when I don't.
|
| |
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
| |
MFC after: 3 weeks
|
|
|
|
|
|
| |
flopen(3) function which reliably opens and locks a file.
MFC after: 3 weeks
|
|
|
|
|
|
|
| |
and its bibliography.
Submitted by: Tomoyuki Okazaki <okazaki at kick dot gr dot jp>
MFC after: 1 month
|
| |
|
|
|
|
|
|
| |
PR: kern/112515
Submitted by: Ryan C. Gordon <icculus@icculus.org>
MFC after: 3 weeks
|
|
|
|
| |
even if the programmer asks for zero padding.
|
|
|
|
| |
Reported by: Bruno Haible
|
| |
|
|
|
|
|
|
| |
with GEOM providers.
OK'ed by: phk
|