freebsd-dev/usr.sbin
Brooks Davis e9b21d432b Correct a type-mismatch between xdr_long and the variable "bad".
Way back in r28911 (August 1997, CVS rev 1.22) we imported a NetBSD
information leak fix via OpenBSD.  Unfortunatly we failed to track the
followup commit that fixed the type of the error code.  Apply the change
from int to long now.

Reviewed by:	emaste
Found by:	CHERI
Obtained from:	CheriBSD
MFC after:	3 days
Sponsored by:	DARPA
Differential Revision:	https://reviews.freebsd.org/D25779
2020-07-22 23:39:58 +00:00
..
ac Add some HISTORY sections to manpages 2020-02-19 12:49:49 +00:00
accton General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
acpi Decode APEI tables (BERT, EINJ, ERST, HEST). 2020-06-30 21:40:34 +00:00
adduser adduser: allow standard IFS characters in passwords 2020-04-05 19:25:46 +00:00
ancontrol spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
apm DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
apmd Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:23:01 +00:00
arp arp(8) clarify the use of the '-a flag' 2020-07-13 15:06:29 +00:00
audit DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
auditd Move OpenBSM to CONFS 2018-08-11 13:23:09 +00:00
auditdistd auditdistd: Remove useless linking with libl 2020-03-24 07:08:39 +00:00
auditreduce DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
authpf DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
autofs Deduplicate fsid comparisons 2020-05-21 01:55:35 +00:00
bhyve Advertise 64-bit physical-address capability. 2020-07-10 07:26:50 +00:00
bhyvectl Initial support for bhyve save and restore. 2020-05-05 00:02:04 +00:00
bhyveload Fix pkgfs stat so it satisfies libsecureboot 2020-03-25 19:12:19 +00:00
binmiscctl Add RISC-V interpreter example 2020-05-01 01:31:19 +00:00
blacklistctl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
blacklistd Move blacklistd.conf to usr.sbin/blacklistd/ 2018-07-31 16:39:38 +00:00
bluetooth Add le_rand command. 2020-07-08 03:57:47 +00:00
boot0cfg Revert r362466 2020-06-22 07:46:24 +00:00
bootparamd DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
bsdconfig Add mention of wireless option in bsdconfig 2020-04-12 20:54:35 +00:00
bsdinstall bsdinstall: only kill the dhclient for the interface we are restarting 2020-07-11 17:20:17 +00:00
bsnmpd Fix a comment for the SUN geom class. 2020-02-10 17:16:50 +00:00
btxld Explicitly ignore return value from remove. We wouldn't do anything 2017-12-28 05:33:19 +00:00
camdd camdd: initialize devs earlier 2020-01-10 22:20:23 +00:00
cdcontrol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
certctl certctl: fix test syntax 2020-06-01 01:25:19 +00:00
chkgrp various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
chown Handle overflow of uid or gid in arguments for chown 2018-09-26 18:40:57 +00:00
chroot Chroot first appeared in 4.3-Reno, not in 4.4 in the BSD world, 2020-06-26 22:23:15 +00:00
ckdist various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
clear_locks various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
config Do not use macros in the argument to -width 2020-06-28 22:04:52 +00:00
cpucontrol cpucontrol: print more useful information when MSR access fails. 2019-11-13 22:43:11 +00:00
crashinfo crashinfo: stop looking for gdb in /usr/bin/gdb 2020-06-08 16:11:44 +00:00
cron cron: respect PATH from login.conf 2020-03-30 03:26:52 +00:00
crunch crunch: remove rsh and rlogin from example config file 2019-08-13 15:23:14 +00:00
ctladm Report STATUS_QUEUED/SENT in ctladm dumpooa output. 2020-05-29 13:07:52 +00:00
ctld ctld: Fix a memory leak in uclparse_conf(). 2020-05-30 19:11:41 +00:00
cxgbetool cxgbetool(8): Add a subaction (tcbrss <n>) that can be used with "pass" 2018-10-27 05:26:09 +00:00
daemon Bump .Dd for earlier update (should have been part of r353024). 2019-10-02 23:19:34 +00:00
dconschat spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
devctl Fix gcc warning about shadowed global. 2019-04-05 20:12:19 +00:00
devinfo devinfo_init() returns an errno, but doesn't set errno, so the error 2018-05-30 15:08:59 +00:00
diskinfo Add GEOM attribute to report physical device name, and report it 2019-11-09 17:30:19 +00:00
dumpcis Regularize my copyright notice 2019-12-04 16:56:11 +00:00
editmap DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
edquota General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
efibootmgr efibootmgr: typo in long option name 2020-07-16 10:20:35 +00:00
efidp Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
efivar Fix the --guid flag description 2020-06-18 12:29:24 +00:00
etcupdate Unbreak etcupdate(8) and mergemaster(8) after r352950 2019-10-02 12:46:28 +00:00
extattr vfs_extattr: Allow extattr names up to the full max 2020-05-14 03:01:23 +00:00
extattrctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fdcontrol Tag 'a' case as one we're intentionally falling through to 2018-01-05 07:28:48 +00:00
fdformat Add example usage for formatting a floppy disk. Adding a more self 2020-05-25 07:18:47 +00:00
fdread various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fdwrite SPDX: use the Beerware identifier. 2017-11-30 20:33:45 +00:00
fifolog [fifolog] wrap the recno when we hit the end of the provided file size. 2020-06-28 06:52:39 +00:00
flowctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
fmtree mtree: Fix -f -f not considering type changes. 2019-09-12 18:44:48 +00:00
freebsd-update freebsd-update: rehash certs 2020-04-25 00:14:17 +00:00
fstyp Revert r362390, those tests are fixed by r362418 2020-06-23 19:14:38 +00:00
ftp-proxy rename in-tree libevent v1 to libevent1 2020-05-28 22:05:50 +00:00
fwcontrol Fix various -Wpointer-compare warnings 2019-10-08 21:14:09 +00:00
getfmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
getpmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
gpioctl gpioctl: Print interrupts capabilities 2020-04-11 15:25:40 +00:00
gssd Remove the -o option from gssd(8). 2020-04-10 23:10:28 +00:00
gstat - Add CSV output to gstat via -C flag. 2018-08-21 11:22:49 +00:00
hyperv DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
i2c Fix error found by new clang operator precendence warning 2019-11-17 19:04:02 +00:00
ifmcstat bits is never null when we call ot. Add an assert to that effect and 2018-01-05 07:28:58 +00:00
inetd inetd(8): Add comments to all examples 2020-05-14 17:52:29 +00:00
iostat Fix formatting for tps values between 99.95 and 99.99; previously 2020-02-21 20:57:32 +00:00
iovctl iovctl(8): Correct a typo in the manpage and correct the SYNOPSIS 2020-06-30 17:21:28 +00:00
ip6addrctl pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
ipfwpcap Buildfix for GCC after r334277. 2018-05-28 09:41:44 +00:00
iscsid Stop hardcoding WARNS in iscsid(8). 2020-04-01 15:09:52 +00:00
jail jail: Add exec.prepare and exec.release command hooks 2020-05-14 23:38:11 +00:00
jexec various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
jls various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
kbdcontrol Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:26:38 +00:00
kbdmap kbdmap: allow INDEX.keymaps to provide the dialog title 2019-12-11 17:19:36 +00:00
keyserv keyserv(8): unifdef out __FreeBSD__ and KEYSERV_RANDOM 2019-12-13 04:03:05 +00:00
kgmon Free zbuf when kflag is true too. 2017-12-28 05:34:04 +00:00
kldxref pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
lastlogin A single comma was missing to separate the "see also" items in 2018-10-20 17:22:04 +00:00
lpr Fix clang -Wcast-qual issues 2019-05-04 02:09:30 +00:00
lptcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mailstats DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mailwrapper mailwrapper: switch mailer.conf to CONFS 2020-06-29 18:06:00 +00:00
makefs Revert r362390, those tests are fixed by r362418 2020-06-23 19:14:38 +00:00
makemap DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
manctl spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
memcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mergemaster Use full path to sysctl(8) since /sbin is not in PATH. 2019-12-04 04:01:53 +00:00
mfiutil Make mfiutil show progress print out the elapsed time estimate in a 2018-10-13 02:21:23 +00:00
mixer mixer: call the cleanup function in a test 2020-02-06 14:31:29 +00:00
mld6query Remove the USE_RFC2292BIS option and reap dead code 2019-07-22 20:11:33 +00:00
mlx5tool Use size_t for byte_to_write variable when comparing to eeprom_info_out_len 2019-10-02 10:58:27 +00:00
mlxcontrol various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mount_smbfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mountd Correct a type-mismatch between xdr_long and the variable "bad". 2020-07-22 23:39:58 +00:00
moused Remove mse(4) from tree 2018-10-22 02:34:10 +00:00
mpsutil Improve unit parsing of mpsutil. 2020-06-16 19:21:28 +00:00
mptable various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
mptutil mptutil: emit a warning on big-endian architectures 2019-07-22 17:25:35 +00:00
mtest mtest: build with WARNS=3 2018-05-19 20:57:22 +00:00
ndiscvt Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:28:27 +00:00
ndp Update the "flag" for draft-ietf-6man-ipv6only-flag. 2018-11-03 18:03:24 +00:00
newsyslog newsyslog(8): make configuration parser more robust. 2020-06-16 17:45:23 +00:00
nfscbd Change the type of "len" to avoid warnings. 2020-04-18 23:46:58 +00:00
nfsd Update the man page to reflect the addition of NFSv4.2 (r355677). 2019-12-20 21:45:20 +00:00
nfsdumpstate Add #ifdef INET6 around declaration of nbuf. 2019-04-28 22:37:59 +00:00
nfsrevoke DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nfsuserd Delete the BUGS entry related to failing when jails are enabled. 2019-04-06 22:14:03 +00:00
ngctl Update Makefile.depend files 2019-12-11 17:37:53 +00:00
nghook DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nmtree DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nologin Fix a typo 2020-04-15 17:11:44 +00:00
nscd nscd: does not warn about invalid values what parsing config file 2020-07-11 19:44:12 +00:00
ntp MFV r362565: 2020-06-24 01:51:05 +00:00
nvram [PowerPC] De-giant powermac_nvram, update documentation 2020-06-19 18:36:10 +00:00
ofwdump DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pciconf When printing out the contents of the VSEC, include the contents of the 2020-03-20 23:26:37 +00:00
periodic Actually install the new 221.backup-gpart periodic script 2020-07-14 00:46:20 +00:00
pkg pkg-bootstrap: complain on improper pkg bootstrap usage 2020-07-22 17:33:35 +00:00
pmc pmc: diable position-independent builds, they fail to link on amd64 2020-04-03 16:10:42 +00:00
pmcannotate Teach pmcannotate about $TMPDIR and _PATH_TMP 2018-05-18 14:14:04 +00:00
pmccontrol restore pmccontrol -L behavior on x86 2018-09-24 19:06:09 +00:00
pmcstat pmc: Add include path for libpmcstat as it is an internallib 2020-03-25 01:32:16 +00:00
pmcstudy Replace -Werror with ${WERROR} in pmcstudy 2019-08-25 22:06:26 +00:00
pnfsdscopymr Fix the err() arguments for a nfssvc(8) failure. 2018-08-08 20:30:12 +00:00
pnfsdsfile Document the new "-m" command line option for pnfsdsfile(8). 2018-07-01 17:51:52 +00:00
pnfsdskill Document the "-f" option added to pnfsdskill(8) by r336176. 2018-07-10 18:44:44 +00:00
pnpinfo DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
portsnap Remove INDEX-10 reference, as 10.x is now EoL. 2019-04-16 14:07:14 +00:00
powerd powerd.8: Improve style & fix typos 2020-03-03 13:25:08 +00:00
ppp ppp: Document the fact that ppp_nat is enabled by default 2020-07-11 18:24:16 +00:00
pppctl pppctl88) Avoid strcpy() copies on overlapping string. 2018-01-29 14:23:44 +00:00
praliases DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
praudit praudit(1): add tests 2018-06-17 17:31:16 +00:00
prometheus_sysctl_exporter DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
pstat pstat(8): improve the Size header width after r358181 2020-06-23 18:19:22 +00:00
pw pw: do not removed home directories if not owned 2020-03-23 08:23:22 +00:00
pwd_mkdb pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
pwm Remove "all rights reserved" from copyright for the file I own. 2019-12-03 21:00:45 +00:00
quot Move the pointers stored in the superblock into a separate 2020-06-19 01:02:53 +00:00
quotaon General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rarpd SPDX: mostly fixes to previous changes. 2017-12-13 16:13:17 +00:00
repquota General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rip6query General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
rmt tag /etc/rmt symlink with pkgbase package 2020-02-12 17:30:09 +00:00
route6d Use the right variable when updating interface routes. 2018-08-08 20:15:40 +00:00
rpc.lockd Add and document options to allow rpc.lockd and rpc.statd to run in the 2019-11-22 16:53:30 +00:00
rpc.statd Add and document options to allow rpc.lockd and rpc.statd to run in the 2019-11-22 16:53:30 +00:00
rpc.umntall various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rpc.yppasswdd yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
rpc.ypupdated yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
rpc.ypxfrd yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
rpcbind Update Makefile.depend files 2019-12-11 17:37:53 +00:00
rrenumd Fix build with recent byacc. 2020-06-24 02:08:08 +00:00
rtadvctl Fix grammar. 2019-03-05 02:53:41 +00:00
rtadvd Remove obsolete compatibility code from rtadvd. 2019-07-17 16:50:53 +00:00
rtprio various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
rtsold Update Makefile.depend files 2019-12-11 17:37:53 +00:00
rwhod capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
sa Add some HISTORY sections to manpages 2020-02-19 12:49:49 +00:00
sendmail Merge sendmail 8.16.1 to HEAD: See contrib/sendmail/RELEASE_NOTES for details 2020-07-15 18:28:54 +00:00
service Fix a typo and sort options 2020-06-23 10:56:15 +00:00
services_mkdb services: Add SSDP to service database 2020-06-07 19:56:17 +00:00
sesutil Fix misplaced voltages/temperatures labels in 'sesutil show'. 2020-06-30 16:49:43 +00:00
setfib General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
setfmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
setpmac various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
smbmsg various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
snapinfo various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
spi Add an example for displaying the manufacturer and size info from a 2018-06-23 23:08:25 +00:00
spkrtest various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
spray spray: fix the spelling in an output string 2018-03-05 16:13:29 +00:00
syslogd Restore local kernel "prog" filtering lost in r332099. 2020-04-28 16:07:15 +00:00
sysrc Update the spelling of my name 2019-04-22 17:52:46 +00:00
tcpdchk DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tcpdmatch DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
tcpdrop Use uintptr_t alone when assigning to kvaddr_t variables. 2018-07-10 13:03:06 +00:00
tcpdump Remove useless linking to libl 2020-03-23 14:44:23 +00:00
tests Merge ^/user/ngie/release-pkg-fix-tests to unbreak how test files are installed 2016-05-04 23:20:53 +00:00
traceroute Update Makefile.depend files 2019-12-11 17:37:53 +00:00
traceroute6 traceroute6: Fix most warnings at the default WARNS level. 2020-07-21 15:03:36 +00:00
trim trim(8): candelete() returns wrong results because fd is opened O_WRONLY 2020-04-23 20:14:59 +00:00
trpt Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
tzsetup Remove sparc64 ifdef 2020-02-10 17:16:41 +00:00
uathload various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
uefisign Stop hardcoding WARNS in uefisign(8). 2020-04-01 15:10:26 +00:00
ugidfw various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
uhsoctl Use correct type for IOCTL request argument. 2018-11-02 22:23:25 +00:00
unbound Chase r361344. Update unbound version strings. 2020-05-24 21:42:47 +00:00
usbconfig Implement dump_stats command for usbconfig(8). 2019-12-27 20:37:14 +00:00
usbdump Fix parsing of corrupt data in usbdump(8). Check that the transfer 2019-06-25 13:15:29 +00:00
utx various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
valectl valectl: fix typo in man page 2020-03-31 16:47:15 +00:00
vidcontrol Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
vigr META MODE: Update dependencies with 'the-lot' and add missing directories. 2015-12-01 05:23:19 +00:00
vipw General further adoption of SPDX licensing ID tags. 2017-11-20 19:49:47 +00:00
wake various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
watch Remove sio(4). 2019-11-21 01:24:49 +00:00
watchdogd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
wlandebug wlandebug: Add include path for libifconfig as it is a internallib 2020-03-25 01:31:26 +00:00
wpa Enable support for IEEE 802.11N, 802.11W, 802.11AC and 802.11.AX to 2020-07-09 23:01:36 +00:00
yp_mkdb spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
ypbind various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ypldap rename in-tree libevent v1 to libevent1 2020-05-28 22:05:50 +00:00
yppoll various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
yppush Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
ypserv yp*: fix -fno-common build 2020-04-06 23:16:05 +00:00
ypset various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
zic Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
zonectl DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
zzz Add META_MODE support. 2015-06-13 19:20:56 +00:00
Makefile [pmc] whoops, remove spurious #'s 2020-07-14 05:33:23 +00:00
Makefile.amd64 Remove kgzip and kgzldr. 2019-05-24 05:34:21 +00:00
Makefile.arm Make the building of libsmb and mount_smbfs unconditional, now that r292552 2015-12-21 17:41:08 +00:00
Makefile.arm64 arm64: build usr.sbin/acpi subdirectory 2015-11-08 20:56:04 +00:00
Makefile.i386 Remove kgzip and kgzldr. 2019-05-24 05:34:21 +00:00
Makefile.inc
Makefile.mips Document why we use -z nonexecstack in the Makefile since it 2015-11-21 16:37:11 +00:00
Makefile.powerpc Create a new MACHINE_ARCH for Freescale PowerPC e500v2 2016-10-22 01:57:15 +00:00
Makefile.riscv Build ofwdump on riscv. 2018-07-24 20:20:17 +00:00