1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-22 07:20:00 +00:00
freebsd/usr.bin
Lexi Winter 6c951b3717 mail: add volatile in grabh()
setjmp() requires that any stack variables modified between the setjmp
call and the longjmp() must be volatile.  This means that 'saveint' in
grabh() must be volatile, since it's modified after the setjmp().
Otherwise, the signal handler is not properly restored, resulting in a
crash (SIGBUS) if ^C is typed twice while composing.

PR:		276119
Reported by:	Christopher Davidson <christopher.davidson@gmail.com>
MFC after:	2 weeks
Pull Request:	https://github.com/freebsd/freebsd-src/pull/993
2024-01-04 21:40:53 -05:00
..
addr2line dirdeps: Update/fix Makefile.depend* for toolchain 2023-11-26 20:50:13 -05:00
alias
apply usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ar
asa
at at.man: Move examples to the EXAMPLES section 2023-09-18 23:59:10 +02:00
awk awk(1): Fix typo 2023-12-17 18:40:29 +08:00
backlight
banner Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
basename Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
bc usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
beep
biff Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
bintrans Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
bluetooth
bmake bmake: Fix typo (triple S) 2023-12-27 20:24:32 -07:00
brandelf usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
bsdcat
bsddialog bsddialog: import version 1.0 2023-10-04 18:12:03 +02:00
bsdiff usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
bzip2
bzip2recover
c89
c99 usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
caesar Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
calendar calendar: correct the search order for files 2023-12-17 23:53:51 -06:00
cap_mkdb Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
chat usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
chkey usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
chpass usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
cksum usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
clang Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51 2023-12-08 18:34:50 +01:00
cmp usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
col Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
colrm Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
column Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
comm Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
compile_et
compress Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
cpio
csplit usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ctags usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ctlstat usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
cut sccs: Manual changes 2023-11-26 22:23:58 -07:00
cxxfilt dirdeps: Update/fix Makefile.depend* for toolchain 2023-11-26 20:50:13 -05:00
dc usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
diff diff(1): fix a typo 2023-12-26 10:07:55 -07:00
diff3 usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
dirname Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
dpv
drill
dtc dtc: Ensure it is built in C++17 mode 2023-09-29 09:26:51 -04:00
du Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ee
elfctl Connect mitigations(7) to the build 2023-10-05 21:48:27 -04:00
elfdump usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
enigma usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
env Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
etdump
expand Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
factor sccs: Manual changes 2023-11-26 22:23:58 -07:00
false Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
fetch usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
file file: Support testing multiple magic files. 2023-10-09 10:44:42 -07:00
file2c
find find: Add a warning about -delete. 2023-12-22 00:41:16 +01:00
finger usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
fmt usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
fold Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
fortune fortune: update mailing list search url 2023-12-27 18:28:11 +02:00
from Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
fstat fstat(1): Fix typo 2023-12-17 18:41:53 +08:00
fsync usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ftp usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
gcore Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
gencat
genl genl: add a monitor subcommand 2023-10-05 12:53:47 +02:00
getaddrinfo usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
getconf usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
getent
getopt
gh-bc
gprof usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
grdc
grep usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
gzip Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
head Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
hesinfo
hexdump hexdump: Do not trust st_size if it equals zero. 2024-01-04 00:16:50 -08:00
host
iconv usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
id Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ident usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
indent indent: make the URL of the manpage two characters longer so that the test is successful 2023-12-29 09:37:43 +00:00
ipcrm usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ipcs usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
iscsictl
join Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
jot Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
kdump kdump: use print_mask_arg0 appropriately 2023-12-13 10:49:03 -06:00
keylogin usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
keylogout usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
killall usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ktrace usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ktrdump usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
kyua
lam Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
last Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
lastcomm usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ldd usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
ldd32
leave Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
less
lessecho
lesskey
lex usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
limits
locale
localedef usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
locate Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
lock Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
lockf usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
logger Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
login usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
logins
logname Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
look look(1): Correct the example's description 2023-12-12 02:19:21 +08:00
lorder usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
lsvfs usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
lzmainfo
m4 usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
mail mail: add volatile in grabh() 2024-01-04 21:40:53 -05:00
man support spaces in filenames 2023-12-28 10:50:29 +00:00
mandoc
mesg Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ministat usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
mkcsmapper usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
mkcsmapper_static
mkdep usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
mkesdb usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
mkesdb_static
mkfifo Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
mkimg mkimg(1): Fix typo 2023-12-17 18:49:28 +08:00
mkstr Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
mktemp Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
mkuzip usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
morse Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
msgs Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
mt mt(1): Fix typo 2023-12-17 18:49:42 +08:00
nc
ncal ncal(1): print the correct option name when -B is specified twice 2023-12-26 16:45:26 -07:00
ncurses
netstat usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
newgrp usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
newkey usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
nfsstat nfsstat: make -q work without -e/-E 2023-12-28 13:27:07 -07:00
nice Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
nl Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
nm dirdeps: Update/fix Makefile.depend* for toolchain 2023-11-26 20:50:13 -05:00
nohup Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
number Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
objcopy
ofed
pagesize usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
pamtest
passwd usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
paste Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
patch patch: fix locate_hunk in empty files 2023-12-03 12:33:03 -05:00
pathchk usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
perror
pom Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
posixshmcontrol usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
pr usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
primes usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
printenv Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
printf Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
proccontrol Connect mitigations(7) to the build 2023-10-05 21:48:27 -04:00
procstat usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
protect
quota usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
random usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
rctl usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
readelf dirdeps: Update/fix Makefile.depend* for toolchain 2023-11-26 20:50:13 -05:00
renice renice: Clean up the tests a bit. 2023-12-20 17:59:37 +01:00
resizewin
rev Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
revoke
rpcgen sccs: Manual changes 2023-11-26 22:23:58 -07:00
rpcinfo usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
rs usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rup
ruptime Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
rusers usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
rwall Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
rwho Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
script Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
sdiff usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
sdiotool
sed Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
seq seq(1): Put separator only between the elements. 2023-12-21 21:54:05 -08:00
shar usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
showmount Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
size dirdeps: Update/fix Makefile.depend* for toolchain 2023-11-26 20:50:13 -05:00
smbutil
sockstat usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
soelim usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
sort sort: Only build FreeBSD-specific ALTMON_x stuff when ATLMON_1 is defined 2023-12-07 13:42:52 -07:00
split Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ssh-copy-id
stat
stdbuf
strings dirdeps: Update/fix Makefile.depend* for toolchain 2023-11-26 20:50:13 -05:00
su Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
systat usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
tabs usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
tail tail: Do not trust st_size if it equals zero. 2024-01-04 01:00:23 -08:00
talk usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
tar
tcopy Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
tee Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
telnet
tests
tftp usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
time Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
tip usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
top
touch Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
tr pkgbase: Move tr(1) to runtime 2023-12-09 12:21:02 +01:00
true Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
truncate Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
truss
tsort Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
tty Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ul Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
uname Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
unexpand Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
unifdef usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
uniq Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
units Purge more stray embedded $FreeBSD$ strings 2023-09-25 07:54:56 -07:00
unvis usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
unzip
usbhidaction
usbhidctl
users usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
vacation
vgrind Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
vi nvi: import version 2.2.1 2023-09-27 18:14:45 +02:00
vis usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
vmstat vmstat: Rely on libxo for numbers humanization 2023-12-07 21:21:35 -05:00
vtfontcvt usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
w usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
wall Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
wc Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
wg
what Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
whereis usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
which usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
who usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
whois Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
write Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
xargs Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
xinstall Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
xo
xohtml
xolint
xopo
xstr Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
xz
xzdec
yacc usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
yes Remove copyright strings ifdef'd out 2023-11-26 22:23:58 -07:00
ypcat usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ypmatch usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
ypwhich usr.bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:01 -07:00
zstd
Makefile usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
Makefile.amd64
Makefile.arm
Makefile.i386
Makefile.inc usr.bin: Remove ancient SCCS tags. 2023-11-26 22:23:30 -07:00
Makefile.powerpc