opnsense-src/usr.sbin
Kai Wang 73f68b3d41 MFC r205728
Merge improvements from kernel HID parser to the userland usbhid(3)
  parser.  This merge does not change any API and should not break any
  native or thirdparty applications.

  Changes include:

  * Merge multiple report ID support and other improvements from kernel
    HID parser.
  * Ignore rid argument in hid_start_parser, parse all the report items since
    we now support multiple report ID.
  * Skip report ID byte in hid_get_data() and set report ID byte in
    hid_set_data(), if report ID is non-zero.
  * Reimplement hid_get_report_id: instead get report id from uhid device
    (which is always 0), try parsing the report descriptor and return the
    first report ID encountered.

MFC r207812

  hid_get_data() now expects that the hid data passed in always contains
  the report ID byte. Thus we should not skip the the report ID byte in
  hid_interrupt().  Also, if HUP_KEYBOARD usage is an array, do not try
  to modify the 'data' pointer, instead, increase the hid_item_t field
  'pos' by 'report_size' before calling hid_get_data() during each
  iteration.
2010-05-18 10:32:20 +00:00
..
ac Sort sections. 2005-01-18 20:02:45 +00:00
accton Per letter dated July 22, 1999, delete clause 3 from code directly 2004-08-07 04:19:37 +00:00
acpi MFC: r204773 2010-04-26 20:55:03 +00:00
adduser The original adduser/rmuser scripts in Perl used to modify the PATH 2008-07-30 18:37:21 +00:00
amd Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation 2009-06-24 18:42:21 +00:00
ancontrol Remove duplicate headers <sys/socket.h> 2008-04-21 07:25:26 +00:00
apm Make apm(8) understand AC Line state 2 as "backup power". 2005-05-30 18:44:43 +00:00
apmd getopt(3) returns -1, not EOF when out of args. 2007-02-05 07:35:23 +00:00
arp MFC: r203919: Show when an ARP entry expires (now that this info 2010-02-22 16:00:55 +00:00
asf Make grammar a bit more consistent in this document. 2006-12-20 06:21:51 +00:00
audit Merge OpenBSM 1.1 alpha 2 from the OpenBSM vendor branch to head, both 2008-12-02 23:26:43 +00:00
auditd Merge OpenBSM alpha 4 from OpenBSM vendor branch to head, both 2008-12-31 11:12:24 +00:00
auditreduce auditreduce now requires OpenBSM's config/config.h, so add that to the 2006-09-25 11:56:20 +00:00
authpf Do not bypass WARNS machinery by hadcoding -Werror into CFLAGS. 2006-09-21 18:16:22 +00:00
bluetooth MFC r205728 2010-05-18 10:32:20 +00:00
boot0cfg Write the MBR by using the bootcode verb of the gpart class. 2009-03-02 04:35:52 +00:00
boot98cfg Correct typo in usage message. 2007-12-19 03:31:44 +00:00
bootparamd Remove a useless cast. 2008-08-02 00:10:02 +00:00
bsnmpd MFC r200122 2009-12-12 20:26:11 +00:00
btxld Allow for a zero length 'loader'. 2008-04-05 10:26:20 +00:00
burncd MFC r202709: 2010-01-23 00:52:32 +00:00
cdcontrol MFC r197833: 2009-11-11 19:50:52 +00:00
chkgrp Fix a bug introduced in revision 1.9 which causes chkgrp to coredump on 2005-08-25 17:01:06 +00:00
chown Merge r204165 from head: 2010-03-25 12:56:20 +00:00
chroot In preparation for raising NGROUPS and NGROUPS_MAX, change base 2009-06-19 15:58:24 +00:00
ckdist Constify return value of stripath and avoid unnecessary deconst 2008-11-19 00:09:01 +00:00
clear_locks Add missing library dependency. 2008-03-29 18:07:06 +00:00
config MFC: r207461 2010-05-04 03:56:25 +00:00
cpucontrol MFC r201145 to stable/8: 2010-01-30 12:11:21 +00:00
crashinfo MFC r198846: 2009-11-10 00:41:22 +00:00
cron MFC r199804: 2009-12-19 19:35:53 +00:00
crunch MFC r201211: 2010-04-06 10:34:15 +00:00
ctm Expand *n't contractions. 2005-02-13 22:25:33 +00:00
cxgbtool MFC r204267: Allow cxgbtool to build with WARNS=6 2010-04-05 23:55:04 +00:00
daemon Unbreak rev 1.7's getopt usage. The -f switch does not take an argument. 2007-04-19 16:43:30 +00:00
dconschat Include <sys/wait.h> and <signal.h> for wait() and kill(). 2009-06-14 12:44:09 +00:00
devinfo Bump up the limit for when to print the resources for a given resource 2007-10-27 13:06:15 +00:00
digictl Sort sections. 2005-01-18 20:02:45 +00:00
diskinfo MFC 200968: 2010-01-05 13:56:58 +00:00
dnssec-dsfromkey Update BIND to version 9.6.1rc1. This version has better performance and 2009-05-31 05:42:58 +00:00
dnssec-keyfromlabel Update BIND to version 9.6.1rc1. This version has better performance and 2009-05-31 05:42:58 +00:00
dnssec-keygen Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
dnssec-signzone Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
dumpcis Move sys/pccard/*.h here. 2009-02-15 03:21:37 +00:00
editmap Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
edquota Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
eeprom - Sprinkle const. 2009-03-19 20:24:30 +00:00
extattr Invoke err() with a format string rather than directly with a passed 2008-07-15 16:07:34 +00:00
extattrctl Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
faithd MFC: r201870, r201889 2010-01-17 17:31:53 +00:00
fdcontrol Drop the defunct FDOPT_NOERRLOG option from all the floppy utilities. 2009-06-24 19:47:53 +00:00
fdformat Drop the defunct FDOPT_NOERRLOG option from all the floppy utilities. 2009-06-24 19:47:53 +00:00
fdread Drop the defunct FDOPT_NOERRLOG option from all the floppy utilities. 2009-06-24 19:47:53 +00:00
fdwrite Drop the defunct FDOPT_NOERRLOG option from all the floppy utilities. 2009-06-24 19:47:53 +00:00
fifolog Fixed NAME section. 2009-04-04 15:48:09 +00:00
flowctl Get the other NG_PATHLEN while I'm here too :(. 2009-06-09 05:24:06 +00:00
freebsd-update Disable SSL renegotiation in order to protect against a serious 2009-12-03 09:18:40 +00:00
ftp-proxy Link pf 4.1 to the build: 2007-07-03 12:46:08 +00:00
fwcontrol Remove reference to phy_delay from fwcontrol. Thanks for the catch! 2009-02-17 23:56:16 +00:00
getfmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
getpmac Style tweak. 2009-07-30 09:51:04 +00:00
gssd - Remove superfluous comment 2009-01-30 15:28:56 +00:00
gstat o Turn the batch mode on if stdout is not tty. 2009-03-12 13:17:46 +00:00
i2c Introduce the I2C diagnostic utility. It let's discover and inspect slave 2009-01-26 14:00:50 +00:00
ifmcstat Merge final round of MLD changes from p4: 2009-05-27 18:57:13 +00:00
inetd MFC r199804: 2009-12-19 19:35:53 +00:00
iostat MFC 196254 - iostat: add a bit of space between tty in/out columns 2009-08-15 18:03:34 +00:00
ip6addrctl Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
ipfwpcap Several cleanups to ipfwpcap(8). 2009-05-31 20:59:20 +00:00
IPXrouted Make IPXrouted compile using Clang by using ANSI function declarations. 2009-03-04 18:36:48 +00:00
jail MFC r202468: 2010-01-23 16:40:35 +00:00
jexec Add libjail, a (somewhat) simpler interface to the jail_set and jail_get 2009-06-24 18:18:35 +00:00
jls MFC r205296: 2010-03-24 12:11:59 +00:00
kbdcontrol Some clarifications to make keyboard configuration under syscons. 2008-01-29 18:28:50 +00:00
kbdmap - fix path for locale.alias 2009-04-28 20:20:13 +00:00
kernbb Per letter dated July 22, 1999 remove 3rd clause of Berkeley derived software 2004-08-07 04:28:56 +00:00
keyserv Rename all symbols in libmp(3) to mp_*, just like Solaris. 2009-02-26 21:43:15 +00:00
kgmon Correct a typo 2006-06-29 09:18:16 +00:00
kgzip Sort sections. 2005-01-18 20:02:45 +00:00
kldxref various cleanups including: 2009-01-06 14:23:38 +00:00
lastlogin Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
lmcconfig Include string.h for strncpy prototype 2009-02-19 19:45:49 +00:00
lpr Merge scandir(3) interface update to stable/8. 2010-01-24 12:35:36 +00:00
lptcontrol Remove useless mode argument to open(). 2005-01-25 14:25:18 +00:00
mailstats Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
mailwrapper MFC r205938: 2010-04-29 00:28:34 +00:00
makefs Fix LLVM compiler errors related to K&R declarations with ANSI prototypes. 2009-02-26 20:59:05 +00:00
makemap Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
manctl
memcontrol Correct formatting of pointers in the listing by using "0x%" PRIx64 instead of 2005-03-29 20:17:47 +00:00
mergemaster MFC r208088: 2010-05-18 02:17:40 +00:00
mfiutil MFC: Remove spurious README and an old version of the manpage. 2009-10-28 21:08:20 +00:00
mixer mixer(8) is WARNS=6 clean since 1.25. 2008-03-16 08:06:36 +00:00
mld6query - rename the RETURN VALUES section to EXIT STATUS 2009-01-07 00:59:34 +00:00
mlxcontrol Make mlxcontrol work with more than one system drive: 2008-09-12 17:40:17 +00:00
mount_nwfs Use sysctlbyname() instead of sysctl 2006-05-11 17:23:57 +00:00
mount_portalfs Rework the credential code to support larger values of NGROUPS and 2009-06-19 17:10:35 +00:00
mount_smbfs Convert mount_smbfs to use nmount(). 2005-11-16 02:47:12 +00:00
mountd MFC: r207689 2010-05-17 01:18:12 +00:00
moused Improve the virtual scrolling mechanism to make middle clicking less 2008-05-15 15:05:02 +00:00
mptable Expand *n't contractions. 2005-02-13 22:25:33 +00:00
mptutil MFC 204090: 2010-02-24 21:29:18 +00:00
mtest Merge IPv6-capable mtest(8) from MLDv2 branch. 2009-04-29 09:50:04 +00:00
mtree MFC r205873: remove duplication, improve wording. 2010-04-21 05:38:16 +00:00
named Add support for the build options that are currently in the port: 2009-06-01 21:58:59 +00:00
named-checkconf Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
named-checkzone Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
named.reload Switch from BIND 8 to BIND 9. 2004-09-21 19:01:48 +00:00
ndiscvt Integrate the NDIS USB support code to CURRENT. 2008-12-27 08:03:32 +00:00
ndp MFC r196866: 2009-09-05 17:29:08 +00:00
newsyslog MFC r202668+r200806: 2010-02-03 18:42:14 +00:00
nfscbd - Include rpcv2.h before other NFS includes. That allows nfscbd to 2009-06-20 08:46:40 +00:00
nfsd Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation 2009-06-24 18:42:21 +00:00
nfsdumpstate Code cleanup for nfs4 utilities: 2009-05-29 22:19:45 +00:00
nfsrevoke Code cleanup for nfs4 utilities: 2009-05-29 22:19:45 +00:00
nfsuserd Code cleanup for nfs4 utilities: 2009-05-29 22:19:45 +00:00
ngctl Add volatile to sig_atomic_t where it was missing. 2009-06-14 21:39:52 +00:00
nghook Sort sections. 2005-01-18 20:02:45 +00:00
nologin Update nologin(5) to match the modern reality of login.conf(5) and PAM. 2007-05-10 11:22:24 +00:00
nscd Remove "extern" from function prototypes, and fix some (but not all) 2009-06-13 14:12:55 +00:00
ntp MFC r198029: 2009-11-02 16:27:34 +00:00
nvram Revise markup. 2006-09-30 19:07:03 +00:00
ofwdump De-sparc64-ify (now that it's also installed on PowerPC). 2008-01-31 14:58:55 +00:00
pciconf - Add a few more register defintions for the PCI express capability 2009-04-17 19:07:44 +00:00
periodic - The weekly periodic runs occur on Saturday mornings, not on Sunday mornings 2007-09-07 21:54:45 +00:00
pkg_install Synchronize pkg_install with HEAD. 2010-01-22 23:13:46 +00:00
pmcannotate Import an initial revision of the pmcannotate tool. 2008-11-26 21:44:57 +00:00
pmccontrol Ignore absent CPUs when listing the current state of PMC hardware. 2008-11-16 04:26:38 +00:00
pmcstat MFC r207755: 2010-05-14 13:42:17 +00:00
pnpinfo Remove alpha left-overs. 2006-08-22 08:03:01 +00:00
portsnap Set SO_NOSIGPIPE on sockets used by phttpget. Without this, if 2009-04-03 21:13:18 +00:00
powerd r205170: then -> than 2010-03-16 05:13:20 +00:00
ppp MFC r205272 2010-03-22 23:33:40 +00:00
pppctl Expand *n't contractions. 2005-02-13 22:25:33 +00:00
praliases Remove kludges intended to support src trees with partial obj trees. 2005-06-10 06:12:53 +00:00
praudit Enable building of OpenBSM command line tools: 2006-02-02 10:15:30 +00:00
procctl Use __FBSDID over rcsid[]. Protect copyright[] where needed. 2003-05-03 21:06:42 +00:00
pstat - Merge r196244: 2009-08-15 15:12:46 +00:00
pw Use arc4random_uniform() to avoid "modulo bias" 2008-08-16 15:41:03 +00:00
pwd_mkdb Verify that the username length is smaller than MAXLOGNAME when 2009-05-20 08:32:25 +00:00
quot Make `quot -a' work when we've got slashes in the device name. 2008-09-14 11:50:19 +00:00
quotaon Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
rarpd Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
repquota Drag this code kicking and screaming into the twenty-first century. 2008-07-02 15:51:59 +00:00
rip6query Cleanup of userland __P use 2007-11-07 10:53:41 +00:00
rmt Remove rexecd(8), a server that implements a particularly insecure 2005-06-10 20:52:36 +00:00
rndc Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
rndc-confgen Update bmake glue for the BIND 9.4.1 import. 2007-06-02 23:19:58 +00:00
route6d This main goals of this project are: 2008-12-15 06:10:57 +00:00
rpc.lockd Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementation 2009-06-24 18:42:21 +00:00
rpc.statd Re-implement the client side of rpc.lockd in the kernel. This implementation 2008-06-26 10:21:54 +00:00
rpc.umntall MFC r200135: 2010-01-28 02:33:20 +00:00
rpc.yppasswdd yppasswdd assumed that a struct x_master_passwd is type punable to a 2009-02-18 22:27:46 +00:00
rpc.ypupdated Kill blank line at EOF. 2007-02-15 02:45:14 +00:00
rpc.ypxfrd o There is no securenets(5) man page, refer to ypserv(8). 2006-11-02 07:36:33 +00:00
rpcbind MFC r203710: 2010-04-13 00:48:54 +00:00
rrenumd - rename the RETURN VALUES section to EXIT STATUS 2009-01-07 00:58:25 +00:00
rtadvd Properly convert bit value to a bit field. Before we were storing 2009-02-19 16:30:11 +00:00
rtprio Sort sections. 2005-01-18 20:02:45 +00:00
rtsold MFC r203387: Exclude the interfaces which IPv6 and/or accepting 2010-02-13 16:28:25 +00:00
rwhod - Avoid a memory leak if realloc(3) fails by using reallocf(3) 2005-06-03 17:38:33 +00:00
sa Ensure that the -s flag truncates the accounting data. 2008-02-21 07:12:56 +00:00
sade Oops, missed removing an 's' in previous rev. 2008-12-30 18:21:54 +00:00
sendmail This FFR is no longer needed in sendmail 8.14 2007-04-09 01:45:52 +00:00
service MFC r200743: 2009-12-30 19:36:40 +00:00
services_mkdb MFC r206156, r206159, r206163: services_mkdb; generate db file 2010-04-18 04:15:21 +00:00
setfib Correct the information about when the respective functionality first 2009-04-23 08:37:56 +00:00
setfmac An average consumer of fts(3) that avoids keeping pointers to old 2008-01-29 17:50:29 +00:00
setpmac Remove unnecessary SRCS= where could be guessed directly by our 2005-01-27 14:52:47 +00:00
sicontrol Remove sicontrol(8)'s "ttystat". 2008-06-09 08:43:27 +00:00
smbmsg Force the use of the tbl(1) preprocessor. 2006-10-25 10:44:59 +00:00
snapinfo Imagine a situation where: 2007-03-16 12:36:54 +00:00
spkrtest
spray
sysinstall MFC r206628: 2010-04-26 17:27:08 +00:00
syslogd MFC r199804: 2009-12-19 19:35:53 +00:00
tcpdchk Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
tcpdmatch Reimplementation of world/kernel build options. For details, see: 2006-03-17 18:54:44 +00:00
tcpdrop o) Restructure tcpdrop(8) to provide a facility to try to drop all established 2009-06-01 06:49:09 +00:00
tcpdump Add new build targets for tcpdump 4.0.0. 2009-03-21 18:40:38 +00:00
timed Fix LLVM compiler errors related to K&R declarations with ANSI prototypes. 2009-02-26 20:59:05 +00:00
traceroute MFC r201806: 2010-01-17 15:20:34 +00:00
traceroute6 MFC r196475: 2009-09-13 11:34:33 +00:00
trpt Fix LLVM compiler errors related to K&R declarations with ANSI prototypes. 2009-02-26 20:59:05 +00:00
tzsetup Add a new options (-s) that, when specified, skips the question about 2009-07-04 11:11:21 +00:00
uathload add uathload.8 2009-04-08 06:51:58 +00:00
ugidfw In ugidfw(8), print the rule number and rule contents (as parsed and then 2008-12-24 22:40:13 +00:00
uhsoctl MFC r202181,202243,202270 2010-01-17 18:22:42 +00:00
usbconfig MFC r202026 2010-01-17 18:27:53 +00:00
usbdevs Add missing -o to usage output. 2008-12-29 14:59:22 +00:00
vidcontrol MFC: r205855 2010-03-31 16:01:48 +00:00
vipw s/insure/ensure/ in previous commit. My dictionary and m-w.com say they 2005-10-28 22:47:40 +00:00
wake - Properly order headers, local variables and prototypes. [1] 2009-07-01 22:23:26 +00:00
watch Convert the snp(4) driver to use cdevpriv. 2008-08-15 13:07:07 +00:00
watchdogd Don't exit from watchdogd on receiving a signal if we cannot stop the watchdog. 2006-12-15 22:47:36 +00:00
wlandebug add mesh support 2009-07-17 21:11:08 +00:00
wlconfig Mechanically kill hard sentence breaks. 2004-07-02 23:13:00 +00:00
wpa MFC r196472: 2009-08-23 16:21:49 +00:00
yp_mkdb Expand *n't contractions. 2005-02-13 22:25:33 +00:00
ypbind Don't rely on private RPC data structures when there is a perfectly good 2008-09-15 14:01:40 +00:00
yppoll Include <timeconv.h> for time conversion functions. 2004-05-24 16:10:57 +00:00
yppush Remove unsafe use of asynchronous I/O (the SIGIO handler could cause 2006-08-16 12:58:41 +00:00
ypserv MFH r201051: 2010-01-15 12:02:22 +00:00
ypset Increase helpfulness in diagnostic message - ypbind running without -ypset or 2007-02-28 22:49:12 +00:00
zic MFC r207590: 2010-05-10 01:22:29 +00:00
zzz Assorted markup, grammar, and spelling fixes. 2004-06-13 18:03:44 +00:00
Makefile MFC r206156, r206159, r206163: services_mkdb; generate db file 2010-04-18 04:15:21 +00:00
Makefile.inc