Age | Commit message (Collapse) | Author |
|
Previously behaviors were all over the map. This changes them to
use COLUMNS first, and either terminal width or a hardcoded value
(typically 80) as appropriate.
ok deraadt@; man bits ok jmc@
|
|
Don't require it when building other sdhc attachments.
From Patrick Wildt.
|
|
- modify B_DMA handling to be in vfs_biomem.c
- change buffer allocation to try allocations with NOWAIT and to throw away clean pages
if allocation fails - allocate with WAITOK only if you can't throw away enough pages to
succeed
"probably sound" deraadt@
|
|
information
and they should not be a performance bottleneck
ok miod@ krw@
|
|
It would be better to replace all the complicated existing code with a
simple idiom, and this is being worked on. But for the moment,
preventing vi from crashing is worthwhile.
ok jung@
|
|
These printfs were causing too much noise in dmesg during regular operation.
And don't forget to count input errors.
ok sthen@ mpi@
|
|
OK deraadt@ jca@
|
|
OK deraadt@ jca@
|
|
OK deeradt@ jca@
|
|
|
|
The compiler is also smart enough to recognize that this is redundant.
The resulting code on amd64 is basically equivalent (slightly different
register allocation and instruction scheduling).
ok mpi@ deraadt@
|
|
Feedback millert@ kettenis@
|
|
ok nicm@
|
|
use after free of the scsi link structure during detach.
OK krw@
|
|
then additionally it calls clearerr(3) deliberately but we want to catch any
error that may happen and this way we couldn't catch it
OK tb@
|
|
program early
- #define SPAMD_USER "_spamd" and use it on getpwnam(3) call
- Set usage() as __dead void
- Remove lint-style comments
OK beck@
|
|
detect this and bump ifq_congestion forward rather than claim the
system is congested for a long period of time.
ok mpi@ henning@ jmatthew@
|
|
ok mpi@ and tweaks from sthen@
|
|
ok millert
|
|
|
|
set and get parameters. This is much simpler.
ok semarie, armani, tweaks from jmc
|
|
|
|
|
|
ever used.
ok jsg
|
|
a timer event leak. Diff from Yuuichi Someya.
|
|
I'm discussing with deraadt@ whether it's a good idea to convert some of
these to functions. The one changed by this commit probably isn't
eligible because it defines only a for loop's condition, but many others
in less(1) should probably be converted.
ok millert@
|
|
Started by diff from Mical Mazurek.
|
|
At the time when this was commited me and tb@ discussed that it shouldn't be
changed, but still snucked in within a larger diff that we didn't notice.
OK tb@
|
|
|
|
says that an abbreviation cannot start with ':', and cannot contain
',', '-', '+', NUL, or a digit. POSIX from 2001 on changes this
rule to say that an abbreviation can contain only '-', '+', and
alphanumeric characters from the portable character set in the
current locale. To be portable to both sets of rules, an abbreviation
must therefore use only ASCII letters." Adapted from tzcode2015f.
OK deraadt@ mestre@
|
|
okay jmc@
|
|
This avoids wasting kernel memory if the user process does not make
use of the allocated memory.
Testing by sthen@ and tobiasu@, thanks!
ok deraadt@
|
|
This saves some memory compared to using malloc, because there's
no roundup to the next bucket size. And it reduces kmem pressure
at least for some architectures (e.g. amd64).
Testing by sthen@ and tobiasu@, thanks!
ok sthen@ deraadt@
|
|
|
|
ok deraadt@
|
|
definitions; ok mpi@
|
|
prepend chroot value *after* canonization and not before.
|
|
order ("a += b > c" is the same as "a += (b > c)" which is wrong here)
ok jca@
|
|
merge code from urtwn(4). So timeouts must move back to the bus-specific
part of the driver.
ok mpi@
|
|
|
|
|
|
XR17V354)
|
|
|
|
|
|
|
|
|
|
o inline an ugly and potentially risky macro of the form:
#define x if (a) b; else
o fix a >21 y.o. bug resulting from someone writing:
puts("[nothing to parse], stdout");
when they meant:
fputs("[nothing to parse]", stdout);
ok canacar@
|
|
All its callers got reviewed and converted to
use uiomove() properly.
ok deraadt@
|
|
o move some declarations out of hexdump.h
o mark some declarations as __dead or static
from Michal Mazurek, with input from and ok tb@
|
|
load the ldt register with the null selector (disabling use of it),
stop reloading it on every context switch, and blow away the table
itself, as well as the pcb and pmap bits that were used to track
it (making sure to keep pcb_savefpu correctly aligned).
testing naddy@
ok kettenis@ mpi@ mlarkin@
|