Age | Commit message (Collapse) | Author |
|
|
|
Program the uarts based on the io clock rate on these platforms.
ok jasper@ pirofti@ yasuoka@
|
|
Now instead of calling getpid() each time a user invokes arc4random(),
we're able to rely on the kernel zero'ing out the RNG state if the
process forks.
ok deraadt, djm
|
|
|
|
Remaining battery test results on Lemote after 30m in suspend:
pci_dopm = 0: 82%, 68min
pci_dopm = 1: 86%, 81min
Suggested by deraadt@
Okay miod@, deraadt@
|
|
it introduces a regression with default routes & p2p interfaces.
Problem reported by naddy@
|
|
Noted by and OK sebastia@
OK halex@
|
|
Move to 2 clause license, approved by Wolfgang Solfrank.
ok deraadt@, krw@
|
|
where we register every actual file in the plist by its path relative
to cwd. Note every meta info as extracted (for partial packages to make
sense), then do a newer extract loop, where each archive member must match
by path.
That way, we can close archives early as soon as we've extracted every
new file. To be used shortly by pkg_create. Note that new packages *won't*
be extractible by the old tools.
|
|
|
|
uptodate as well. Restores ntogo to working order
|
|
style suggested and ok espie@
|
|
|
|
Pointed out by Jean-Philippe Ouellet.
|
|
If a user calls STRIOCGETCWD two or more times in a row without an
intervening STRIOCRESCWD, then the references held on fst->fd_{c,r}dir
would leak.
ok miod
|
|
than '\0' for several memset().
ok beck@ miod@
|
|
does something special... just use calloc() instead.
ok beck@ miod@
|
|
ok beck@ miod@
|
|
EVP_AES_GCM_CTX, leaving the AES key untouched - clean the entire context,
rather than just part of it.
ok beck@ miod@
|
|
so that it reflects what it is actually doing. Use this function in a
number of places that still have the hand rolled version.
ok beck@ miod@
|
|
|
|
When using the RING_EVENT_IDX feature, we must first call publish_avail_idx()
and then read VQ_AVAIL_EVENT(vq), or there is a race condition that may cause
us to miss that the host needs to be notified. This resulted in an occasional
hang of network in vio(4).
|
|
Heads-up from Xen Li (delphij@FreeBSD), thanks!
Tested on Sony VGN-P530H.
Okay mlarkin@, matthieu@
|
|
Heads-up from Xen Li (delphij@FreeBSD), thanks!
Tested on Sony VGN-P530H.
Okay mlarkin@, matthieu@
|
|
Heads-up from Xen Li (delphij@FreeBSD), thanks!
Tested on Sony VGN-P530H.
Okay mlarkin@, matthieu@
|
|
|
|
discussion with matthew
|
|
back to sgmap if the direct mapping fails.
ok miod@
|
|
ok miod
|
|
to 512, to make it easier for people to build to -current.
ok miod
|
|
(currently) the largest output you can get from it.
ok deraadt@
|
|
Inspired by Android's commit b6ee08aadb580341a4d80943741b80de16a88b5d,
but fixing the actually offending cluster, not a random one.
ok krw@
|
|
|
|
buffersize is enforced strictly, this supplies sufficient entropy
payload to act as seed material. Discourage general use of this
API, but lock down this function name as the go-to for userland
PRNG seeding. Improve documentation.
ok miod matthew
|
|
ok krw@
|
|
ok krw@
|
|
|
|
ok miod@
|
|
Mention SYSTRACE_POLICY_KILL again later as appropriate and document
that STRIOCINJECT takes a pointer to a struct systrace_inject.
|
|
Back in 2011, I changed it from taking a "pid_t *" to a "struct
systrace_getcwd *" so that systrace(1) could resolve filenames passed
to openat(2), etc, but apparently failed to document the change.
|
|
union wait has been deprecated since 4.3BSD, and WSTOPPED means
something else now in POSIX, that we don't yet support.
Original diff by guenther, from 2.5 years ago.
Ports tree cleanup and re-testing by naddy.
ok deraadt, kettenis
|
|
Tested with "MAC/BBP RT5592 (rev 0x0222), RF RT5592 (MIMO 2T2R)" device.
|
|
|
|
|
|
checks, causing the rx ring pointer to stall as soon as an irrelevant
frame is received when the intergace is in bpf+promiscuous or `all multicast'
mode.
Problem spotted and tracked down to the use of bpf by sebastia@. Hair pulling
by me.
|
|
|
|
|
|
* Move all off_t variables that don't look like file sizes to int64_t.
* Switch blockswritten to int64_t, so it won't wrap at 2TB.
* Same for blocksthisvol (from deraadt@).
* Switch xferrate (from tedu@) and blocksperfile from long to uint64_t.
* Since blocksperfile can be set with -B, move numarg() from long
to long long and don't mark small integer constant arguments as long.
ok deraadt@, tedu@
|
|
of sysctl(). Mark it with XXX while we consider.
|
|
|