freebsd-skq/usr.sbin
ae 6425e22b7b Use full buffer size in read(2) call, there is no need to preserve the
last byte of the buffer.

Since we call refresh_device_tbl() for any devctl event types - no need
to check the first byte of buffer. Remove these checks.

Also remove logging for the case of unknown devd message. It incorrectly
triggers when all devctl events are not fit into one buffer and part of
unread data will be read in the next pass.

When length of data readed from devctl is equal to sizeof(buf), then try
to read from socket again, to read full data.

MFC after:	2 weeks
2011-07-11 12:51:35 +00:00
..
ac Fix double ;; 2010-12-06 10:24:06 +00:00
accton The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
acpi Purge _USE_BERKELEY_YACC definition from Makefile. This ugly hack is no 2011-04-15 21:47:10 +00:00
adduser mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the 2010-05-13 12:07:55 +00:00
amd MFtbemd: 2010-08-23 22:24:11 +00:00
ancontrol Remove duplicated header files 2011-06-24 07:05:20 +00:00
apm MFtbemd: 2010-08-23 22:24:11 +00:00
apmd Don't generate input() since it's not used. 2010-11-22 14:16:22 +00:00
arp Do not hardcode (20*60), but use current ARP timeout value configured 2010-11-30 16:14:19 +00:00
asf mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
audit The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
auditd Fixed static linkage. 2010-02-26 09:41:16 +00:00
auditreduce The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
authpf The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
bluetooth Remove redundant assignments to WARNS. 2011-06-06 20:24:17 +00:00
boot0cfg Revert r209469: it causes the rest of the function to be bypassed. 2010-12-06 11:37:24 +00:00
boot98cfg
bootparamd Unbreak bootparamd when setting WITHOUT_NIS. 2010-01-04 18:08:16 +00:00
bsdinstall Per request of the docs team, install docs as packages, instead of via 2011-07-09 23:01:54 +00:00
bsnmpd Use full buffer size in read(2) call, there is no need to preserve the 2011-07-11 12:51:35 +00:00
btxld The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
burncd mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
cdcontrol This now passes a make universe with WARNS=6. 2010-01-07 09:40:34 +00:00
chkgrp The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
chown Plug resource leak. 2010-06-05 08:11:11 +00:00
chroot The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ckdist mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
clear_locks mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
config Improve portability of config(8). 2011-07-03 20:59:57 +00:00
cpucontrol - Save some space relying on the fact that all ioctl commands 2011-01-07 18:52:08 +00:00
crashinfo Teach crashinfo(8) to look at the currently running kernel (based on the 2010-11-30 16:04:40 +00:00
cron List /var/cron/tabs in FILES and add descriptions for the other entries. 2010-05-14 01:25:30 +00:00
crunch mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
ctm mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
cxgbtool Closing file descriptors when it's done 2010-12-08 01:35:19 +00:00
daemon Slightly improve wording. 2010-05-17 11:18:33 +00:00
dconschat mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
devinfo mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
digictl The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
diskinfo Plumb device physical path reporting from CAM devices, through GEOM and 2011-06-14 17:10:32 +00:00
dnssec-dsfromkey The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dnssec-keyfromlabel The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dnssec-keygen The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dnssec-signzone The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
dumpcis The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
editmap The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
edquota The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
eeprom The NetBSD Foundation has given permission to remove clause 3 and 4 2010-02-16 21:47:05 +00:00
extattr extattr: Fix a signed/unsigned issue 2010-05-12 21:25:05 +00:00
extattrctl Close fd in initattr() and showattr(). 2010-12-08 10:27:07 +00:00
faithd Correct a typo. 2011-03-02 00:29:14 +00:00
fdcontrol mdoc: Remove leading garbage, empty lines and order preamble 2010-05-27 13:56:19 +00:00
fdformat The FD_FORM ioctl used to ignore errors from the floppy controller; now when 2011-02-21 09:56:08 +00:00
fdread Open the floppy disk device with O_RDONLY rather than O_RDWR. After 2011-06-17 18:56:51 +00:00
fdwrite mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
fifolog Another couple of unsigned/ssize_t changes. 2011-03-01 08:52:10 +00:00
flowctl Conditionally compile in the IPv4/IPv6 address family support. 2011-07-06 15:18:32 +00:00
freebsd-update Make freebsd-update(8) smarter in how it handles $FreeBSD$ tags in 2011-05-11 15:23:27 +00:00
ftp-proxy Update packet filter (pf) code to OpenBSD 4.5. 2011-06-28 11:57:25 +00:00
fwcontrol Quiet clang warnings by using literal format strings for printf-like 2011-01-04 02:52:22 +00:00
getfmac The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
getpmac The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
gpioctl Bump the date of the man page to the date of the actual commit. 2011-05-25 21:04:11 +00:00
gssd mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
gstat The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
i2c mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
ifmcstat Remove duplicated header files 2011-06-24 07:05:20 +00:00
inetd The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
iostat Remove the advertising clause from UCB copyrighted files in usr.sbin. This 2010-12-11 09:38:12 +00:00
ip6addrctl The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ipfwpcap The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
IPXrouted Fix incorrect usage of 'assure' and 'insure'. 2010-08-28 16:32:01 +00:00
jail Check for IPv4 or IPv6 to be available by the kernel to not 2011-05-29 21:03:40 +00:00
jexec The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
jls Add a missing ',' to separate arguments lost for r222465 only found in 2011-06-18 09:46:39 +00:00
kbdcontrol Don't generate input() since it's not used. 2010-11-22 14:16:22 +00:00
kbdmap MFC 2011-06-01 16:54:33 +00:00
keyserv Rename all symbols in libmp(3) to mp_*, just like Solaris. 2009-02-26 21:43:15 +00:00
kgmon
kgzip
kldxref Repair some build breakage introduced in r211725 and garbage collect some 2010-08-28 15:03:11 +00:00
lastlogin Allow custom files to be opened and allow sorting by timestamp. 2011-06-06 18:40:01 +00:00
lmcconfig lmcconfig(8): bump to WARNS=3, fix typo in usage while here 2010-12-20 19:08:15 +00:00
lpr - Fix the code that matches userids in match_jobspec(). It needs to check 2011-04-13 00:36:19 +00:00
lptcontrol The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mailstats The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mailwrapper Create the /bin/rmail symlink (which mailers such as postfix 2010-10-12 21:01:26 +00:00
makefs Add support for using mtree(5) manifest files to define the image 2011-06-19 18:34:49 +00:00
makemap The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
manctl
memcontrol The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mergemaster mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
mfiutil Add global -d and -e options to either print device numbers 2011-06-20 21:28:50 +00:00
mixer mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
mld6query Add __unused. Ansi prototypes. 2010-12-20 08:54:30 +00:00
mlxcontrol mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
mount_nwfs mount_nwfs(8): make WARNS=6 clean 2010-03-04 16:07:14 +00:00
mount_portalfs mdoc: move CAVEATS, BUGS and SECURITY CONSIDERATIONS sections to the 2010-05-13 12:07:55 +00:00
mount_smbfs The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
mountd Fix the nfs related daemons so that they don't intermittently 2011-06-02 19:33:33 +00:00
moused Formatting fix. 2011-03-17 22:17:56 +00:00
mptable mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
mptutil Similar to mfiutil, drop local definition of powerof2() and use version 2010-11-22 14:36:04 +00:00
mtest Don't die if either of INET or INET6 aren't in the running kernel. 2011-06-24 17:54:45 +00:00
mtree Wording fixes. 2010-05-14 01:45:05 +00:00
named Eliminate the --disable-ipv6 string which while technically correct in 2010-09-22 18:46:17 +00:00
named-checkconf The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
named-checkzone The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
named.reload
ndiscvt Use new output format 'elf64-x86-64-freebsd' instead of 'elf64-x86-64', 2010-11-01 20:20:31 +00:00
ndp - Merge changes to the base system to support OFED. These include 2011-03-21 09:40:01 +00:00
newsyslog Add new modifier - "R", when it is specified the path to pid file 2011-05-14 03:00:55 +00:00
nfscbd Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while 2010-08-16 15:18:30 +00:00
nfsd Remove duplicated header files 2011-06-24 07:05:20 +00:00
nfsdumpstate Fix handling of the "-l" argument for nfsdumpstate(8). 2010-07-20 00:32:11 +00:00
nfsrevoke Code cleanup for nfs4 utilities: 2009-05-29 22:19:45 +00:00
nfsuserd Change the NFSv4 nfsuserd(8) daemon so that it doesn't preload the 2011-06-21 21:07:33 +00:00
ngctl Add __unused. Ansi prototypes. 2010-12-20 09:36:54 +00:00
nghook The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
nologin
nscd mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
ntp * Add the readline(3) API to libedit. The libedit versions of 2011-04-05 18:41:01 +00:00
nvram The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ofwdump The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
pc-sysinstall MFC 2011-05-31 21:22:44 +00:00
pciconf Only attempt to list extended capabilities for devices that have a 2010-09-16 16:03:12 +00:00
periodic mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
pkg_install Backout libinstall.a -> libpkg commit. 2011-05-17 19:11:47 +00:00
pmcannotate Fix a grammatical error connected to the previous commit. 2010-10-16 17:30:27 +00:00
pmccontrol Revert r222363, as bde@ pointed out the initial solution was far more 2011-05-31 20:59:53 +00:00
pmcstat Remove duplicated header files 2011-06-24 07:05:20 +00:00
pnpinfo The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
portsnap Add --numeric-owner to tar extract operations in portsnap. 2010-12-19 23:09:42 +00:00
powerd Add -m and -M options to control the minimum and maximum frequency. 2010-08-17 09:11:38 +00:00
ppp Remove duplicated header files 2011-06-24 07:05:20 +00:00
pppctl mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
praliases The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
praudit The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
procctl The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
pstat The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
pw Don't attempt to create the base directory when -d is specified. 2011-06-15 19:09:58 +00:00
pwd_mkdb Only increment the ypcnt once per data record. The old implementation 2011-07-06 06:34:08 +00:00
quot The dump, fsck_ffs, fsdb, fsirand, newfs, makefs, and quot utilities 2011-01-24 06:17:05 +00:00
quotaon IFH@204581 2010-03-04 13:35:57 +00:00
rarpd Catch up with kernel using time_uptime to drive ARP timeouts. 2010-12-06 09:37:56 +00:00
repquota Debugging nits found while testing the new 64-bit quota code. 2010-03-16 06:12:30 +00:00
rip6query The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rmt The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rndc The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rndc-confgen The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
route6d The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rpc.lockd Fix the nfs related daemons so that they don't intermittently 2011-06-02 19:49:47 +00:00
rpc.statd Fix the nfs related daemons so that they don't intermittently 2011-06-02 20:15:32 +00:00
rpc.umntall The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rpc.yppasswdd Remove duplicated header files 2011-06-24 07:05:20 +00:00
rpc.ypupdated Remove duplicated header files 2011-06-24 07:05:20 +00:00
rpc.ypxfrd Spelling fixes. 2010-08-01 09:37:36 +00:00
rpcbind Fix typos - remove duplicate "the". 2011-02-21 09:01:34 +00:00
rrenumd The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
rtadvd Add sanity check for ifm_version in struct if_msghdr. 2011-07-04 03:19:06 +00:00
rtprio Use errx() instead of err() in parseint. There is usually no interesting 2011-01-04 17:27:17 +00:00
rtsold - Accumulate RA options instead of replacing old ones when a new RA arrived. 2011-06-08 16:03:29 +00:00
rwhod Check return code of setuid(), setgid(), and setgroups() in rwhod. 2011-04-23 13:42:03 +00:00
sa mdoc: move remaining sections into consistent order 2010-05-13 12:08:11 +00:00
sade Update dialog to version 20100428. This changes the license under which 2011-01-12 14:55:02 +00:00
sendmail Lower WARNS for sendmail. 2010-01-03 15:32:25 +00:00
service mdoc nitpicking: the title argument shall be uppercase 2010-06-11 06:03:47 +00:00
services_mkdb Revise markup, mainly. 2010-10-05 06:31:11 +00:00
setfib Correct the information about when the respective functionality first 2009-04-23 08:37:56 +00:00
setfmac mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
setpmac mdoc: order prologue macros consistently by Dd/Dt/Os 2010-04-14 19:08:06 +00:00
sicontrol Remove sicontrol(8)'s "ttystat". 2008-06-09 08:43:27 +00:00
smbmsg mdoc: Remove leading garbage, empty lines and order preamble 2010-05-27 13:56:19 +00:00
snapinfo mdoc: consistently spell our email addresses <foo@FreeBSD.org> 2010-05-19 08:57:53 +00:00
spkrtest Update spkrtest(8) to use new dialog auto-sizing syntax. 2011-01-13 17:30:18 +00:00
spray
sysinstall Remove duplicated header files 2011-06-24 07:05:20 +00:00
syslogd Here v->iov_len has been assigned the return value from snprintf. 2011-01-19 17:17:37 +00:00
tcpdchk The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
tcpdmatch The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
tcpdrop Include param.h for CACHE_LINE_SIZE to unbreak the build. 2011-06-06 17:07:38 +00:00
tcpdump Actually remove the HAVE_CAST_H define this time. 2010-10-30 16:30:50 +00:00
timed Check return code of setuid() in timedc. 2011-04-23 13:57:12 +00:00
traceroute traceroute(8): make WARNS=3 clean 2010-12-04 14:19:27 +00:00
traceroute6 Remove the advertising clause from UCB copyrighted files in usr.sbin. This 2010-12-11 09:38:12 +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 missing options and arguments to program's usage() 2011-05-20 17:35:10 +00:00
uathload Only use -z noexecstack for these explicit arches: i386, amd64, powerpc 2011-02-16 21:04:47 +00:00
ugidfw Fix a couple of typos. 2010-07-30 11:58:18 +00:00
uhsoctl - Fixed automatic detection of the control serial port. 2010-07-20 03:11:26 +00:00
usbconfig - Correct USB 3.0 wire-speed to 5.0Gbps 2011-02-26 09:28:52 +00:00
usbdump Minor wording adjustments to usbdump(8). 2011-05-31 07:13:07 +00:00
utxrm Add a utility, utxrm(8). 2011-02-19 11:44:04 +00:00
vidcontrol mdoc: drop redundant .Pp and .LP calls 2010-10-08 12:40:16 +00:00
vipw The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
wake Anything that casts struct sockaddr * to struct sockaddr_foo is safe 2010-02-09 17:16:13 +00:00
watch Convert the snp(4) driver to use cdevpriv. 2008-08-15 13:07:07 +00:00
watchdogd Protect the watchdog daemon against swap OOM killer. This is similar to 2010-09-26 01:45:33 +00:00
wlandebug The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
wlconfig The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
wpa Remove duplicated header files 2011-06-24 07:05:20 +00:00
yp_mkdb The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ypbind Don't let the "available"/"not available" logs flap quite so badly. In the 2010-10-08 20:17:17 +00:00
yppoll The NetBSD Foundation has given permission to remove clause 3 and 4 2010-02-16 21:47:05 +00:00
yppush The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
ypserv Add missing argument for -h in usage. 2011-06-20 15:22:47 +00:00
ypset The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
zic wollman@ has OK'd dropping his maintainership of zic(8) 2010-03-20 11:05:11 +00:00
zzz
Makefile Add WITHOUT_UTMPX switch to the build system. 2011-06-17 21:30:21 +00:00
Makefile.amd64 Build sade on amd64 as well as i386 and sparc64. 2010-12-09 11:37:40 +00:00
Makefile.arm Merge from tbemd: use Makefile.arch to control building. 2010-09-13 02:21:07 +00:00
Makefile.i386 Merge from tbemd: use Makefile.arch to control building. 2010-09-13 02:21:07 +00:00
Makefile.ia64 Merge from tbemd: use Makefile.arch to control building. 2010-09-13 02:21:07 +00:00
Makefile.inc The last big commit: let usr.sbin/ use WARNS=6 by default. 2010-01-02 11:07:44 +00:00
Makefile.mips Fix n32 compile. 2011-01-27 14:16:12 +00:00
Makefile.powerpc Merge from tbemd: use Makefile.arch to control building. 2010-09-13 02:21:07 +00:00
Makefile.sparc64 Merge from tbemd: use Makefile.arch to control building. 2010-09-13 02:21:07 +00:00