freebsd-skq/usr.sbin
eadler ec294fd7f5 MFC r258779,r258780,r258787,r258822:
Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this
shifts into the sign bit.  Instead use (1U << 31) which gets the
expected result.

Similar to the (1 << 31) case it is not defined to do (2 << 30).

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.
2014-02-04 03:36:42 +00:00
..
ac Move example to EXAMPLES. 2013-03-17 06:54:04 +00:00
accton
acpi Consistently cast ACPICA 64-bit integer types when we print them. 2013-06-26 23:52:10 +00:00
adduser Remove a reference to CVS and to freefall from a user-facing man page. 2012-09-15 16:24:03 +00:00
amd Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
ancontrol Fix always 0 tautologly revealed by gcc46 2012-07-08 00:52:54 +00:00
apm Mark global functions and/or variables in apm(8) static where possible. 2011-11-06 19:01:30 +00:00
apmd Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00
arp Fix coredump on 'arp -d'. 2013-09-23 18:12:25 +00:00
asf
audit
auditd
auditdistd Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
auditreduce
authpf Install authpf-noip. 2013-07-10 07:40:30 +00:00
bhyve MFC 260206: 2014-01-29 13:35:12 +00:00
bhyvectl MFC r256645. 2013-10-22 00:58:51 +00:00
bhyveload MFC r256657,r257018,r257347,r257423,r257729,r257767, 2013-12-13 06:59:18 +00:00
bluetooth MFC r258779,r258780,r258787,r258822: 2014-02-04 03:36:42 +00:00
boot0cfg Sweep man pages replacing ad -> ada. 2013-10-01 18:41:53 +00:00
boot98cfg Change <sys/diskpc98.h> to not redefine the same symbols that are 2013-08-07 00:00:48 +00:00
bootparamd mdoc sweep. 2013-05-12 22:22:12 +00:00
bsdconfig MFC r259054: 2014-01-15 07:49:17 +00:00
bsdinstall MFC r260261 (gavin): 2014-01-15 08:17:31 +00:00
bsnmpd MFC r260049: 2014-01-07 21:23:41 +00:00
btxld
cdcontrol Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
chkgrp This wasn't supposed to be in there - I committed the wrong patch. 2012-11-15 15:21:58 +00:00
chown Mark global functions and/or variables in chown(8) static where possible. 2011-11-06 19:01:41 +00:00
chroot Minor mdoc fixes. 2012-10-07 19:53:04 +00:00
ckdist
clear_locks
config Work around build breakages with GCC 4.2. 2013-05-23 05:42:35 +00:00
cpucontrol Avoid clobbering errno with a call to fprintf 2013-01-16 05:00:51 +00:00
crashinfo Merged /head:r256510,256512,257376,257469,260052: 2014-01-27 08:15:21 +00:00
cron MFC: r261146 2014-01-28 13:29:54 +00:00
crunch crunchgen: Permit use of alternative linkers. 2013-02-05 02:57:59 +00:00
ctladm MFC r257379: 2013-11-02 02:38:32 +00:00
ctld MFC r259182: 2013-12-13 15:23:07 +00:00
ctm In usr.sbin/ctm/ctm_dequeue/ctm_dequeue.c, cast a printf field width 2011-12-17 20:07:42 +00:00
daemon 1. Properly clean pid files in the case of the error. 2013-09-19 18:00:05 +00:00
dconschat Fix the following warning from clang trunk: 2012-03-19 19:17:55 +00:00
devinfo Mark global functions and/or variables in devinfo(8) static where possible. 2011-11-06 19:01:48 +00:00
digictl mdoc: add missing width argument to Bl -tag. 2012-06-03 06:57:47 +00:00
diskinfo remove duplicate semicolons where possible. 2012-10-22 03:00:37 +00:00
dumpcis Fxi a bunch of typos. 2013-05-10 16:41:26 +00:00
editmap
edquota Remove unneeded includes. 2012-11-20 02:12:01 +00:00
eeprom
etcupdate MFC 258063,258064,258066,258097,258185,259134: 2013-12-27 19:53:42 +00:00
extattr Fix return type of extattr_set_* and fix rmextattr(8) utility. 2013-04-02 05:30:41 +00:00
extattrctl
faithd mdoc: correct .Bd/.Bl arguments. 2012-03-26 21:22:53 +00:00
fdcontrol
fdformat
fdread Mark global functions and/or variables in fdread(8) static where possible. 2011-11-06 19:01:54 +00:00
fdwrite mdoc: terminate quoted strings. 2012-03-26 15:18:14 +00:00
fifolog Add the Clang specific -Wmissing-variable-declarations to WARNS=6. 2013-04-19 19:45:00 +00:00
flowctl Add "human" option to print IPv4/IPv6 flows in human-readable format. 2012-06-09 10:10:12 +00:00
freebsd-update MFC r257879: 2013-11-28 22:06:37 +00:00
ftp-proxy o Create directory sys/netpfil, where all packet filters should 2012-09-14 11:51:49 +00:00
fwcontrol mdoc: add missing width argument to Bl -tag. 2012-06-03 06:57:47 +00:00
getfmac
getpmac
gpioctl Assume that the -f argument is /dev/gpioc0 if it is not passed. 2013-09-17 11:48:47 +00:00
gssd Fix some Kerberos related terminology. 2013-07-08 01:47:50 +00:00
gstat
i2c Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
ifmcstat - Print scopeid for link-local scope addresses. 2013-01-03 22:27:57 +00:00
inetd - Force inetd to have listen queue size to be set to the value of 2013-01-20 19:44:33 +00:00
iostat Change iostat -Ix to display total duration of transactions instead 2012-12-15 18:21:09 +00:00
ip6addrctl More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
ipfwpcap Update my e-mail to my FreeBSD one. 2012-07-19 08:56:30 +00:00
IPXrouted Fix warning when compiling with gcc46 2012-02-16 05:17:06 +00:00
iscsid Plug memory leak. 2013-10-09 13:48:08 +00:00
jail MFC 256385: 2013-10-12 17:46:13 +00:00
jexec
jls Add a -N option that prints the jail name rather than its number. 2013-05-17 08:48:16 +00:00
kbdcontrol Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00
kbdmap Remove variables which are initialized but never used thereafter reported by gcc46 warning 2012-06-19 06:10:31 +00:00
keyserv Rework all non-contributed files that use `struct timezone'. 2012-09-01 14:45:15 +00:00
kgmon remove old-style function definition 2013-02-14 14:44:08 +00:00
kgzip
kldxref MFC r256650: kldxref: Add static keyword to the new function only used in the 2013-12-22 23:08:33 +00:00
lastlogin Allow custom files to be opened and allow sorting by timestamp. 2011-06-06 18:40:01 +00:00
lmcconfig Rework time handling. 2012-09-01 10:56:15 +00:00
lpr Change the closeallfds() routine to use closefrom() when it is 2013-05-27 22:19:01 +00:00
lptcontrol
mailstats
mailwrapper
makefs Mark the makefs(8) '-p' flag as deprecated in preference for 2013-08-16 05:30:13 +00:00
makemap
manctl
memcontrol Fix conditional expression: previously a bit vector was being operated 2012-10-22 02:12:15 +00:00
mergemaster MFC: r258456 2013-11-26 16:13:48 +00:00
mfiutil MFC r260334: 2014-01-09 23:08:56 +00:00
mixer Return proper error message if recording device is not specified. 2012-01-27 09:15:55 +00:00
mld6query
mlxcontrol Add the CAM Target Layer (CTL). 2012-01-12 00:34:33 +00:00
mount_smbfs Merge r257888, r258049 from head: 2013-11-14 09:25:29 +00:00
mountd Check if the -sec option is given without an argument. 2013-02-20 12:40:26 +00:00
moused Add preliminary support for IBM/Lenovo TrackPoint. 2013-03-18 23:22:47 +00:00
mptable Divine the array size by using 'nitems(array)' instead of using magic numbers. 2012-12-21 04:44:40 +00:00
mptutil Remove contractions. 2013-04-11 18:46:41 +00:00
mtest MFC r259156: 2013-12-13 00:56:05 +00:00
mtree Do not emit size for non-regular files. There is nothing that 2013-09-12 00:14:25 +00:00
nandsim Add missing static keyword, to make the code build with WARNS=6. 2013-04-21 22:47:24 +00:00
nandtool mdoc: remove whitespace. 2012-05-17 11:50:12 +00:00
ndiscvt Merge r259855: We have in base iconv. 2014-01-22 10:35:30 +00:00
ndp Fix incompatibility in ICMPV6CTL_ND6_PRLIST sysctl, and SIOCGPRLST_IN6, 2013-08-06 17:10:52 +00:00
newsyslog Fix -Wunsequenced 2013-06-29 15:58:03 +00:00
nfscbd Standardize EXIT STATUS instructions in man pages when possible. 2012-11-18 16:33:51 +00:00
nfsd Document the fact that an NFSv4 mount uses the host uuid to uniquely 2013-07-01 21:41:12 +00:00
nfsdumpstate
nfsrevoke
nfsuserd Change the NFSv4 nfsuserd(8) daemon so that it doesn't preload the 2011-06-21 21:07:33 +00:00
ngctl
nghook
nmtree Import a new version of NetBSD's mtree. 2013-04-09 06:50:11 +00:00
nologin
nscd Remove end of line whitespace. 2012-07-04 10:17:02 +00:00
ntp Meinberg clocks support was inadvertently removed during the last vendor 2013-10-02 21:47:25 +00:00
nvram Fix -Wmissing-variable-declarations compiler warning. 2013-07-10 18:07:01 +00:00
ofwdump
pc-sysinstall Remove some more references to legacy ATA. 2013-04-04 12:03:30 +00:00
pciconf MFC 260910: 2014-01-28 21:56:18 +00:00
periodic Include the calling context in the mail subject, if any. 2013-09-03 13:40:24 +00:00
pkg Implicit include of sys/queue.h instead of relying on gelf.h/libelf.h to bring it 2014-01-25 01:08:35 +00:00
pkg_install Add entry for packages-9.2-release directory. 2013-08-19 14:04:35 +00:00
pmcannotate objdump output changed indentation from 1 space to 2 spaces somewhere between 2013-05-06 18:30:49 +00:00
pmccontrol More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
pmcstat More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
pnpinfo
portsnap Fix bug in deleting files: If two ports had the same tarball and one of 2013-07-11 22:19:18 +00:00
powerd Whitespace fixes: remove tabs on blank links, spaces following content, 2013-07-04 18:59:58 +00:00
ppp Remove ancient code for FreeBSD 2.x compatibility. 2013-07-05 19:26:01 +00:00
pppctl
praliases
praudit
procctl
pstat Get rid of major/minor number distinction. 2011-09-28 18:53:36 +00:00
pw Fall back to sha512 if passwd_format is not set. 2013-07-04 07:59:11 +00:00
pwd_mkdb Mark global functions and/or variables in pwd_mkdb(8) static where possible. 2011-11-06 19:02:25 +00:00
quot Fix usr.bin/ and usr.sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:19 +00:00
quotaon More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rarpd Add some missing newlines and static declarations. 2013-04-07 15:33:06 +00:00
repquota More -Wmissing-variable-declarations fixes. 2012-10-19 14:49:42 +00:00
rip6query Mark global functions and/or variables in rip6query(8) static where possible. 2011-11-06 19:02:31 +00:00
rmt Mark global functions and/or variables in rmt(8) static where possible. 2011-11-06 19:02:37 +00:00
route6d Minor mdoc fix. 2012-11-18 16:58:08 +00:00
rpc.lockd Remove dead return code 2012-09-11 07:35:24 +00:00
rpc.statd Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
rpc.umntall
rpc.yppasswdd Handle NULL return from crypt(3). Mostly from DragonFly 2012-02-22 06:27:20 +00:00
rpc.ypupdated Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
rpc.ypxfrd Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
rpcbind Fix socket calls on error post-r243965. 2012-12-21 15:54:13 +00:00
rrenumd Improve compatibility with recent flex from flex.sourceforge.net. 2013-05-03 23:51:32 +00:00
rtadvctl - Use time_uptime instead of time_second in data structures for 2013-08-05 20:13:02 +00:00
rtadvd Ignore if the interface is not IPv6-capable. 2013-09-02 20:44:19 +00:00
rtprio Document the security.bsd.unprivileged_idprio in idprio(1) in addition 2012-09-30 03:21:21 +00:00
rtsold Use sysctl(ICMPV6CTL_ND6_DRLIST) instead of SIOCGDRLST_IN6 ioctl. 2013-08-17 22:13:26 +00:00
rwhod Remove fallback to fork(2) if pdfork(2) is not available. If the parent 2013-09-05 01:05:48 +00:00
sa In usr.sbin/sa/db.c, avoid warnings about assigning two const char 2011-12-18 01:08:25 +00:00
sendmail Since clang 3.2 now has an option to suppress warnings about implicitly 2013-02-16 20:17:31 +00:00
service Add -R, an option to restart all enabled "local" services. 2012-12-12 01:50:58 +00:00
services_mkdb Remove contractions. 2013-04-11 18:46:41 +00:00
setfib Tweak wording. 2013-09-07 20:25:22 +00:00
setfmac
setpmac
sicontrol
smbmsg Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-24 02:24:03 +00:00
snapinfo Fix usr.bin/ and usr.sbin/ build with a 64-bit ino_t. 2012-09-27 23:31:19 +00:00
spkrtest
spray Mark global functions and/or variables in spray(8) static where possible. 2011-11-06 19:02:49 +00:00
syslogd MFC r258076, r258077: 2013-12-14 00:25:57 +00:00
sysrc MFC r257824,257826-257830,258411: Updates to sysrc(8) 2014-01-15 08:03:01 +00:00
tcpdchk
tcpdmatch
tcpdrop Allow the address and ports to be separated by a colon or period rather 2013-01-30 18:24:29 +00:00
tcpdump Convert Makefile to have only one file for each line, while I'm there, sort 2013-05-30 21:24:33 +00:00
timed Minor update about rc.conf. 2013-04-22 18:31:39 +00:00
traceroute
traceroute6 Add -a and -A option to the usage. 2012-05-08 15:18:35 +00:00
trpt
tzsetup Fix VERBOSE reporting on results when removing _PATH_LOCALTIME for UTC option. 2013-03-04 11:34:31 +00:00
uathload
ugidfw
uhsoctl mdoc sweep 2013-05-13 18:13:50 +00:00
unbound Prevent resolvconf from updating /etc/resolv.conf. As Jakob Schlyter 2013-09-23 20:06:59 +00:00
usbconfig - Make the FreeBSD's USB library compile under Linux. 2013-03-13 12:23:14 +00:00
usbdump Make usbusN logging pseudo-interface used by usbdump(8) clonable. One is 2012-07-09 07:25:09 +00:00
utx Fixes to man8 groff mandoc style, usage mistakes, or typos. 2012-05-25 03:46:56 +00:00
vidcontrol The M_VESA_MODE_MAX is latest valid mode - not the first invalid. 2013-05-11 13:32:38 +00:00
vipw Restore message in man page on VFS timestamp precision. 2012-02-14 09:29:37 +00:00
wake mdoc sweep. 2013-05-12 22:22:12 +00:00
watch watch: Do not mess up the tty modes on early error. 2013-09-05 19:02:03 +00:00
watchdogd Fix bug in r253719: fix command line watchdog disable. 2013-08-10 01:48:15 +00:00
wlandebug Remove trailing whitespace per mdoc lint warning 2012-03-29 05:02:12 +00:00
wlconfig mdoc: correct .Bd/.Bl arguments. 2012-03-26 21:22:53 +00:00
wpa Merge hostapd / wpa_supplicant 2.0. 2013-07-04 21:12:58 +00:00
yp_mkdb In usr.sbin/yp_mkdb/yp_mkdb.c, cast some printf field width parameters 2011-12-19 20:44:44 +00:00
ypbind Protect NIS client with madvise(2) since this daemon is required 2011-10-24 14:35:31 +00:00
yppoll
yppush Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessor 2012-02-07 09:27:07 +00:00
ypserv Fix compiler warnings. 2013-07-15 05:09:13 +00:00
ypset
zic
zzz
Makefile MFC r256865 2013-10-31 16:16:52 +00:00
Makefile.amd64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.arm sysinstall was removed from usr.sbin/Makefile in r225937. Because per-arch 2012-03-13 00:45:27 +00:00
Makefile.i386 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.ia64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.inc
Makefile.mips Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH. 2012-03-29 02:54:35 +00:00
Makefile.powerpc - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00
Makefile.sparc64 - Trim an unused and bogus Makefile for mount_smbfs. 2013-06-28 21:00:08 +00:00