summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-01-09include dev/hid/hid.h from dev/usb/usbhid.h, so all previous usersJoshua Stein
of it get the HID framework as they used to
2016-01-09revert previous now that they are found in usbhid.h againJoshua Stein
2016-01-09move UHID_* definitions back to usbhid.h where they were before theJoshua Stein
HID separation
2016-01-08ANSIfy gomoku(6) and change a char* to u_char*mestre
OK tb@
2016-01-08adjust a debug message to use decimal instead of hexJoerg Jung
ok gilles millert
2016-01-08Handle redirects to _relative_ URIs containing '://', e.g. for archive.org.Stuart Henderson
From Lauri Tirkkonen, plus tweak to comment. ok jung@
2016-01-08Zap extraneous SYNOPSIS sections.Vadim Zhukov
The gettytab(5) and termcap(5) get FILES, others don't need anything. With input from & okay schwarze@
2016-01-08ANSIfy sail(6) plus some cleanupmestre
OK tb@
2016-01-08Headers clean upmestre
2016-01-08Remove unnecessary headers an sortmestre
2016-01-08Straightforward headers cleanupmestre
2016-01-08Add missing space in "Delivered-to:%s\n" header.Christopher Zimmermann
OK sunil@
2016-01-08ANSIfy monop(6)mestre
OK tb@
2016-01-08Headers cleanup and removal where suitablemestre
OK tb@
2016-01-08ANSIfy mille(6)mestre
OK tb@
2016-01-08Headers cleanup and also the following:mestre
mille.h: #define CTRL locally, which is used by move.c and misc.c, to avoid including termios.h or sys/ttydefaults.h where it's actually defined varpush.c: Change _PATH_DEVNULL to "/dev/null" since other systems may not have it defined but also avoids including <paths.h> Included a few sugestions from tb@ who also gave his OK
2016-01-08Delete the redundant "nchild" member of struct roff_node, replacingIngo Schwarze
most uses by one, a few by two pointer checks, and only one by a tiny loop - not only making data smaller, but code shorter as well. This gets rid of an implicit invariant that confused both static analysis tools and human auditors. No functional change.
2016-01-08syncTheo de Raadt
2016-01-08redefine 3 UHID_* vars that movedJoshua Stein
2016-01-08pull in dev/hid/hid.h for moved HIO_* varsJoshua Stein
2016-01-08protect structs in hid.h with #ifdef _KERNEL, to allow inclusion inJoshua Stein
libusbhid
2016-01-08Fix changes that last commit undid by mistake, sorry.Alexandre Ratchov
2016-01-08Make code fit in 80 columns, remove trailing spaces & tabs.Alexandre Ratchov
2016-01-08syncTheo de Raadt
2016-01-08move code to add a midi port in a new mkport() routineAlexandre Ratchov
2016-01-08Move HID support files out of dev/usb into new dev/hid directoryJoshua Stein
These files aren't USB-specific and were used by the previous Bluetooth implementation, and will be used by the upcoming HID-over-i2C implementation ok deraadt previous version ok kettenis and mpi
2016-01-08Prefer warn(3) over perror(3) at the few places where it was used.Ingo Schwarze
It is useful to see the program name. Suggested by Christos Zoulas (NetBSD).
2016-01-08mikeb@ doesn't like RCS ids, so I add the OpenBSD one for him.Reyk Floeter
2016-01-08Make mkopt() return NULL on failureAlexandre Ratchov
2016-01-08Get rid of the arp and revarp input queues.Martin Pieuchot
Packets of types ARP and REVARP are now processed in the softnet task, directly from ether_input() and without holding the KERNEL_LOCK. Tested by many, ok dlg@
2016-01-08add missing 'void'tb
ok mestre@
2016-01-08Structural integrity hasn't improved in over twenty years.tb
ok mestre@
2016-01-08Unbreak support for multiple -L options.Alexandre Ratchov
2016-01-08don't call unlink() to delete socket as this would require cpathAlexandre Ratchov
2016-01-08No need to include sys/queue.hAlexandre Ratchov
2016-01-08Next step in UTF-8 support:Ingo Schwarze
1. Improve all functions involving words by allowing non-ASCII characters to be part of words. 2. Allow insertion of non-ASCII characters without screwing up the display, by backing up to the start byte after inserting a continuation byte, and starting to re-print there. 3. Fix forward movement which i didn't get quite right in my previous commit: Always advance to a start byte, never to a final continuation byte, or the next insertion would split the character in the middle. OK mpi@
2016-01-08Make listen_new_xxx() routines return NULL on failure and check theAlexandre Ratchov
returned value wheneverer they are called.
2016-01-08On programming error, flush log buffer and abort() rather thanAlexandre Ratchov
calling exit().
2016-01-08Keep the pledge of the vmm and vm processes disabled for now as longReyk Floeter
as there is some more expected progress in the kernel interface. It can be tested, and should work, with the previous kernel commit of the "vmm" pledge, but is not called.
2016-01-08Work around buggy zero-length packets produced by the DP83816A.Martin Pieuchot
From Nathanael Rensen, ok dlg@
2016-01-08Add "vmm" pledge to allow restricted ioctl access to /dev/vmm.Reyk Floeter
This will allow to pledge vmd(8)'s vmm and vm processes, so that VMs themselves run "sandboxed", including their host-side virtio layer. It will remain disabled for now (in userland) to not get into the way of ongoing development and upcoming changes in vmd and the ioctl interface. OK mlarkin@ deraadt@ "kernel side in, but not the callers in userland"
2016-01-08Use unorderd list to store sub-device configuration (we don't useAlexandre Ratchov
order anymore). No behaviour change.
2016-01-08remove redundant debug messageAlexandre Ratchov
2016-01-08Don't calculate clock deltas is there are no time-outs. Removes (harmless)Alexandre Ratchov
warnings about out-of-bounds clock deltas.
2016-01-08various tweaks;Jason McIntyre
2016-01-08Enable uonerng(4) where ualea(4) is already present.Martin Pieuchot
2016-01-08uonerng(4) a driver for the Moonbase Otago OneRNG, from Devin Reade.Martin Pieuchot
ok deraadt@
2016-01-08regenMartin Pieuchot
2016-01-08OpenMoko OneRNG, from Devin Reade.Martin Pieuchot
2016-01-08Must set MAX_PORTS to 65536, since we assign toStefan Kempf
ioports_map[VMM_PCI_IO_BAR_END (= 65535)]. Fixes an off-by-one. ok mlarkin@, reyk@