Age | Commit message (Collapse) | Author |
|
#define llseek lseek
#define LOFF_T_MAX LLONG_MAX
I mean, really? Nuke'em and use off_t, lseek and LLONG_MAX.
Also make a couple of checks for overflow of off_t value more likely
to work.
ok millert@
|
|
|
|
functions static if possible. Move delay() to lpd/printjob.c and fix
an annoying typo.
ok deraadt@
|
|
ok nicm@
|
|
being 0; after multiply there is no perturbance to the from-disk entropy
buffer. Further investigation showed perturbance was biased towards
the lower bytes of a word. Compensate for this with a hocus pocus
bit-spreading operation which applies a result byte by byte.
discussion with kettenis, tb, mlarkin, naddy
ok naddy
|
|
|
|
|
|
|
|
usage() to pdisk.c and nuke do_help() and '-h'.
ok jasper@ deraadt@
|
|
during hid abstraction
problem noticed and fix tested by abieber
|
|
|
|
inspected on the first call to a malloc(3) family function.
ok tedu
|
|
condition.
ok nicm@
|
|
isavar.h (a few parts of the tree include both)
ok jcs
|
|
Ok millert@ gilles@ jung@
|
|
(noticed because of another issue: one consumer is a high level busdriver,
but also contains i2c support, so the isa #define for ia_irq clashes
against i2c)
|
|
|
|
ok deraadt@
|
|
anywhere, as evidenced by everything still compiling after they are gone.
|
|
mimic the 20th century MacOS version of pdisk more closely than the
usual interactive editor. One set of commands is enough for anyone.
ok jasper@
|
|
|
|
After some hair pulling while implementing xnf(4) I've realised that
Xen uses free running producer/consumer indices wrapping with their
type (unsigned 32 bit integer). Later I've confirmed it with free
chapters of the "The Definitive Guide to the Xen Hypervisor" by David
Chisnall available online.
|
|
They are defined to 0 since the import of ext2fs 19 years ago.
|
|
Cluster read is unconditionnally enabled for FFS since some years and
toggling "doclusterread" has no effect.
OpenBSD no longer support write clustering since the Dynamic Buffer
Cache went in, so there is reason to delay the call to bawrite(9).
Tested by Mathieu, ok dlg@
|
|
|
|
|
|
This is becoming more and more comon now that the list is only
used for autoconfigured prefix.
From Florian Riehm.
|
|
code in a task.
Such dereferenced can be triggered by receiving a RA with the 'on-link'
bit set to 0 apparently generated by dnsmasq and reported by matthieu@.
ok matthieu@, sthen@, bluhm@
|
|
which only worked with ath(4) devices from a decade ago.
Diff tested on ath(4) hardware by me to verify that 11a/b modes still work.
ok reyk deraadt chris sthen kettenis
|
|
netmasks are non-NULL for RTM_CHANGE and RTM_LOCK.
Fix route(8) regressions tests 14 and 16 with ART kernels. These tests
were failing because with ART, RTF_HOST routes always have a mask.
ok claudio@, bluhm@
|
|
Problem reported by and diff tested by Fabian Raetz, thanks!
ok benno@, bluhm@
|
|
|
|
the emacs editing mode code, so add a testsuite before touching it.
To avoid having to deal with the horrendous low-level terminal
handling and high-level command execution code, write the tests in
unit test style rather than in integration test style, by providing
minimal glue to run vi.c stand-alone. In case relevant internal
interfaces in sh.c, edit.c, and friends are changed, the glue may
need adjustment.
Not testing completion and history at this time, only line editing.
|
|
|
|
|
|
SPL_TYPx, SLP_EN and WAK_STS using the new SLEEP_STATUS_REG and
SLEEP_CONTROL_REG registers. Makes the transition into S5 (powerdown) work
on the ASUS X205TA.
ok deraadt@, mlarkin@
|
|
|
|
mode' and '-c' and the '-d' command to toggle cflag are pointless
since cflag is never examined.
|
|
on the Samsung ATIV Book 9 laptop. This initial version only
supports ACPI config/attachment.
Add ihidev, a HID-over-i2c driver largely based on uhidev. dwiic
handles attaching ihidev devices found in ACPI.
Add ims, a HID-over-i2c mouse/trackpad driver to get basic cursor
and button functionality from HID-compliant i2c trackpads.
ok kettenis deraadt
|
|
Validate before assignment.
with feedback from and OK halex@
OK krw@
|
|
now that start and txeof can run on different cpus, txeof could
have freed the mbuf before bpf got to it.
|
|
|
|
|
|
ok deraadt@
|
|
takes the same parameters and returns the same value. Nuke
open_pathname_as_media() and call open_file_as_media() directly.
Nothing else from pathname.[ch] is used so remove them from build
in preparation for moving them to the attic.
ok deraadt@
|
|
|
|
|
|
|
|
displays. This makes sure the keyboard mux gets picked up by the primary
(console) display and that USB keyboards get paired with the console even
if they are not marked as the console keyboard. This is what most people
expect to happen. If you really want to associate your USB keyboard with
a secondary display, you can detach it from the mux using
wsconscfg -f /dev/ttyCcfg -k -d
and attach it to another display using
wsconscfg -f /dev/ttyDcfg -k
|
|
host-check log.
ok claudio@
|