1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-25 11:37:56 +00:00
freebsd/usr.sbin
Mateusz Piotrowski babc4e8145 mixer(8): Report an error if the passed value is an empty string
This patch fixes a bug that made the mixer command enter
an infinite loop when instructed to set the value of a device
to an empty string (e.g., `mixer vol ""`).

Additionally, some tests for mixer(8) are being added.

PR:		240039
Reviewed by:	hselasky, mav
Approved by:	src (hselasky, mav)
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D21409
2019-08-25 17:55:31 +00:00
..
ac
accton
acpi Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
adduser
amd Convert amd newvers to using newvers.sh -v. 2019-05-23 17:18:56 +00:00
ancontrol
apm
apmd
arp
audit
auditd Move OpenBSM to CONFS 2018-08-11 13:23:09 +00:00
auditdistd
auditreduce
authpf
autofs autofs: Fix autounmountd's printing of mount time. 2019-08-09 02:20:26 +00:00
bhyve Validate guest-supplied length of headers for TSO transmit requests. 2019-08-05 21:39:55 +00:00
bhyvectl
bhyveload usr.sbin/bhyveload: don't leak an fd if a device can't be opened 2019-07-12 18:38:18 +00:00
binmiscctl
blacklistctl
blacklistd
bluetooth iwmbtfw(8): Fix compilation on platforms using gcc. 2019-08-18 23:10:07 +00:00
boot0cfg Remove deprecated GEOM classes 2019-08-13 20:06:55 +00:00
bootparamd
bsdconfig Remove iBCS2, part1: userspace 2018-12-19 21:56:54 +00:00
bsdinstall bsdinstall: up the interface before calling dhclient 2019-04-25 16:47:15 +00:00
bsnmpd No need for each bsnmpd(1) module to open connection to syslog 2019-06-21 07:45:58 +00:00
btxld
camdd Fix uninitialized variable in camdd 2019-06-09 02:06:31 +00:00
cdcontrol
chkgrp
chown Handle overflow of uid or gid in arguments for chown 2018-09-26 18:40:57 +00:00
chroot chroot.8: Add examples & clean up 2019-03-14 14:34:36 +00:00
ckdist
clear_locks
config Fix small bug in wrapping introduced in r325955. 2019-08-17 02:36:42 +00:00
cpucontrol cpucontrol: check for the supposed firmware file type and skip 2019-01-11 08:35:49 +00:00
crashinfo
cron cron(8): schedule interval jobs that get loaded during execution 2019-04-20 02:54:20 +00:00
crunch crunch: remove rsh and rlogin from example config file 2019-08-13 15:23:14 +00:00
ctladm Add device temperature reporting into CTL. 2019-07-26 03:49:16 +00:00
ctld iscsi: simplify the capsicumization 2018-11-30 19:40:16 +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 daemon(8): Don't block SIGTERM during restart delay 2019-06-04 16:07:01 +00:00
dconschat
devctl Fix gcc warning about shadowed global. 2019-04-05 20:12:19 +00:00
devinfo
diskinfo
dumpcis Remove All Rights Reserved 2019-02-05 21:37:34 +00:00
editmap
edquota
eeprom
efibootmgr efibootmgr: Do not add the new boot entry in dry-run is specified 2019-05-10 16:44:35 +00:00
efidp Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
efivar Document the efivar --load-option option 2019-03-07 00:01:28 +00:00
etcupdate Move back group, master.passwd and shells to etc directory 2019-05-23 18:37:05 +00:00
extattr
extattrctl
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
fmtree
freebsd-update freebsd-update: restore old exit code when no updates are available locally 2019-03-12 08:31:43 +00:00
fstyp Drop "All rights reserved" from the files I own 2019-03-11 22:23:56 +00:00
ftp-proxy
fwcontrol
getfmac
getpmac
gpioctl
gssd * Handle SIGPIPE in gssd 2019-02-21 01:30:37 +00:00
gstat - Add CSV output to gstat via -C flag. 2018-08-21 11:22:49 +00:00
hyperv
i2c Add a new 'tr' (transfer) mode to i2c(8) to support more i2c controllers. 2019-05-22 21:06:10 +00:00
ifmcstat
inetd Remove all the RELEASE_CRUNCH instances that partially disable IPSEC 2019-07-15 14:19:39 +00:00
iostat In iostat(8) output, skip the decimal point and the fractional part 2019-06-16 17:32:05 +00:00
iovctl
ip6addrctl
ipfwpcap
iscsid iscsi: simplify the capsicumization 2018-11-30 19:40:16 +00:00
jail Change ed(4), ep(4), and fxp(4) examples to em(4). 2019-05-18 21:01:36 +00:00
jexec
jls
kbdcontrol kbdcontrol -h prints two error messages. 2019-06-24 21:05:14 +00:00
kbdmap Silence a CI warning regarding the use of strcpy(). 2019-01-22 13:11:15 +00:00
keyserv
kgmon
kldxref kldxref(8): Sort MDT_MODULE info first in linker.hints output 2019-05-27 17:33:20 +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
mailstats
mailwrapper
makefs Properly update FSInfo block after generation. 2019-08-23 05:23:45 +00:00
makemap
manctl
memcontrol
mergemaster Move back group, master.passwd and shells to etc directory 2019-05-23 18:37:05 +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(8): Report an error if the passed value is an empty string 2019-08-25 17:55:31 +00:00
mld6query Remove the USE_RFC2292BIS option and reap dead code 2019-07-22 20:11:33 +00:00
mlx5tool Ensure that only one command is specified at a time in mlx5tool(8). 2019-05-08 11:05:30 +00:00
mlxcontrol
mount_smbfs
mountd Add a reference to the NFSv3 RFC. 2019-08-08 21:08:13 +00:00
moused Remove mse(4) from tree 2018-10-22 02:34:10 +00:00
mpsutil Pass data pointers to the driver in way in expects. 2019-05-30 15:07:39 +00:00
mptable
mptutil mptutil: emit a warning on big-endian architectures 2019-07-22 17:25:35 +00:00
mtest
ndiscvt ndiscvt(8): abort if no IDs were found during conversion. 2019-01-30 12:32:47 +00:00
ndp Update the "flag" for draft-ietf-6man-ipv6only-flag. 2018-11-03 18:03:24 +00:00
newsyslog Fix several Coverity-detected issues in newsyslog. 2019-02-22 15:31:50 +00:00
nfscbd
nfsd nfsd.8: Fix mandoc -Tlint and igor warnings 2019-05-09 19:03:52 +00:00
nfsdumpstate Add #ifdef INET6 around declaration of nbuf. 2019-04-28 22:37:59 +00:00
nfsrevoke
nfsuserd Delete the BUGS entry related to failing when jails are enabled. 2019-04-06 22:14:03 +00:00
ngctl Replace complicated expression to disable libedit when no libthr is being built 2019-07-15 14:23:51 +00:00
nghook
nmtree
nologin
nscd Workaround for nscd(8) failure with large entries. 2019-01-17 20:01:06 +00:00
ntp MK_OPENSSL makes RELEASE_CRUNCH redundant here 2019-07-15 07:39:28 +00:00
nvram
ofwdump
pc-sysinstall
pciconf Report Clock Power Management support and status. 2019-08-23 15:17:04 +00:00
periodic periodic: replace "tty" with "test -t 0" 2019-08-19 01:14:11 +00:00
pkg Keep two versions of the FreeBSD.conf pkg configuration file; one which 2019-04-24 06:25:21 +00:00
pmc pmc: Fix stack std::string lifetime 2019-05-22 01:22:33 +00:00
pmcannotate
pmccontrol restore pmccontrol -L behavior on x86 2018-09-24 19:06:09 +00:00
pmcstat Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
pmcstudy Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
pnfsdscopymr
pnfsdsfile
pnfsdskill
pnpinfo
portsnap Remove INDEX-10 reference, as 10.x is now EoL. 2019-04-16 14:07:14 +00:00
powerd powerd(8): allow to force a method of battery state query 2019-01-06 02:39:03 +00:00
ppp Retire the -DRELEASE_CRUNCH define. 2019-07-12 06:19:25 +00:00
pppctl
praliases
praudit
prometheus_sysctl_exporter
pstat
pw Remove an uneeded indentation introduced in r286196 to silence gcc warnging 2019-05-25 21:57:01 +00:00
pwd_mkdb pwd_mkdb: retire -B and -L endianness options 2018-10-21 00:48:38 +00:00
pwm Oops, it seems I left out the word 'cycle', fix it. 2019-06-18 02:27:30 +00:00
quot Normally when an attempt is made to mount a UFS/FFS filesystem whose 2018-12-06 00:09:39 +00:00
quotaon
rarpd
repquota
rip6query
rmt
route6d
rpc.lockd
rpc.statd Reduce log spam from rpc.statd 2019-02-03 08:15:26 +00:00
rpc.umntall
rpc.yppasswdd Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
rpc.ypupdated Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
rpc.ypxfrd
rpcbind
rrenumd
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
rtsold rtsol: Use vwarnx(3) to log messages to standard error. 2019-02-27 18:13:41 +00:00
rwhod capsicum: use a new capsicum helpers in tools 2018-11-04 19:24:49 +00:00
sa
sendmail
service
services_mkdb Fix several places where tool name has been hardcoded: 2019-06-02 23:38:19 +00:00
sesutil Check element type before setting LEDs. 2019-02-04 01:24:10 +00:00
setfib
setfmac
setpmac
smbmsg
snapinfo
spi
spkrtest
spray
syslogd Fix compilation of world with WITHOUT_{INET,INET6}_SUPPORT or both set. 2019-03-03 10:00:26 +00:00
sysrc Update the spelling of my name 2019-04-22 17:52:46 +00:00
tcpdchk
tcpdmatch
tcpdrop
tcpdump
tests
traceroute
traceroute6 Remove the USE_RFC2292BIS option and reap dead code 2019-07-22 20:11:33 +00:00
trim trim(8): emit more user-friendly error message in verbose mode. 2019-03-15 14:42:23 +00:00
trpt
tzsetup tzsetup: upgrade to zone1970.tab 2019-07-17 06:17:27 +00:00
uathload
uefisign Fix alignment issue in uefisign 2018-12-19 22:47:37 +00:00
ugidfw
uhsoctl Use correct type for IOCTL request argument. 2018-11-02 22:23:25 +00:00
unbound Check that /etc/resolv.conf exists before trying to read it. 2018-11-27 09:46:01 +00:00
usbconfig Implement detach_kernel_driver command in usbconfig(8). 2019-08-16 21:17:56 +00:00
usbdump Fix parsing of corrupt data in usbdump(8). Check that the transfer 2019-06-25 13:15:29 +00:00
utx
vidcontrol Fix restoring the geometry when recovering from an error. Just restore the 2019-04-08 04:07:37 +00:00
vigr
vipw
wake
watch
watchdogd
wlandebug Revert r344211: wlandebug: disable PIE to fix build failure 2019-02-25 18:27:19 +00:00
wpa pkgbase: Add a FreeBSD-hostapd package 2019-07-19 15:09:00 +00:00
yp_mkdb
ypbind
ypldap Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
yppoll
yppush Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
ypserv Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
ypset
zic
zonectl
zzz
Makefile Remove NAND and NANDFS support 2019-06-25 04:50:09 +00:00
Makefile.amd64 Remove kgzip and kgzldr. 2019-05-24 05:34:21 +00:00
Makefile.arm
Makefile.arm64
Makefile.i386 Remove kgzip and kgzldr. 2019-05-24 05:34:21 +00:00
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.riscv
Makefile.sparc64