freebsd-skq/usr.sbin
Oleksandr Tymoshenko 37cd6c20db cron: consume blanks in system crontabs before options
On system crontabs, multiple blanks are not being consumed after reading the
username. This change adds blank consumption before parsing any -[qn] options.
Without this change, an entry like:

  * * * * * username  -n true  # Two spaces between username and option.

will fail, as the shell will try to execute (' -n true'), while an entry like:

  * * * * * username -n true   # One space between username and option.

works as expected (executes 'true').

For user crontabs, this is not an issue as the preceding (day of week
or @shortcut) processing consumes any leading whitespace.

PR:		253699
Submitted by:	Eric A. Borisch <eborisch@gmail.com>
MFC after:	1 week
2021-03-03 23:23:31 -08: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 Print DeviceHandle and PhysicalId in hex. 2021-02-05 16:15:53 -05: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 Fix arp/ndp deletion broken by 2fe5a79425. 2021-02-19 21:17:17 +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 autounmountd: set filter-specific flags for the EVFILT_FS filter 2021-03-02 14:18:40 -09:00
bhyve bhyve/snapshot: rename and bump size of MAX_SNAPSHOT_VMNAME 2021-02-27 12:07:35 -09:00
bhyvectl bhyve/snapshot: rename and bump size of MAX_SNAPSHOT_VMNAME 2021-02-27 12:07:35 -09:00
bhyveload bhyveload(8): Implement loader_callbacks::diskwrite 2020-10-07 20:31:13 +00:00
binmiscctl binmiscctl: Avoid segfault with "binmiscctl add" and no extra params 2021-02-08 09:20:38 -05: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 pccard: Remove bt3c(4) driver 2021-01-07 20:40:41 -07:00
boot0cfg Revert r362466 2020-06-22 07:46:24 +00:00
bootparamd bootparamd: Add missing __unused mark. 2021-01-03 00:40:34 +09:00
bsdconfig bsdconfig: correct utilties typo 2021-01-11 19:57:23 -05:00
bsdinstall Mount the EFI system partition (ESP) on newly-installed systems. 2021-02-23 16:24:21 -05:00
bsnmpd snmp_wlan(3): Fix mandoc warnings 2020-11-20 16:46:51 +00:00
btxld Explicitly ignore return value from remove. We wouldn't do anything 2017-12-28 05:33:19 +00:00
camdd camdd(8): Fix the man page date 2020-12-19 13:17:25 +00:00
cdcontrol DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
certctl certctl: factor out certname resolution 2021-01-08 22:36:22 -06:00
chkgrp various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
chown fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +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 fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
clear_locks various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
config config: Fix typo in comment. 2021-02-01 13:13:36 -08:00
cpucontrol cpucontrol(8): Fix display. 2021-02-05 03:22:26 +02:00
crashinfo crashinfo: Add references to the gdb port/package 2020-12-02 19:58:50 +00:00
cron cron: consume blanks in system crontabs before options 2021-03-03 23:23:31 -08:00
crunch Lift scope of buf[] to make it extend to a potential access via *basename 2020-12-10 09:31:05 +00:00
ctladm Replace paths in ctladm(8) examples with something sensible. 2020-11-23 14:30:27 +00:00
ctld Fix typo in an_initator_name. 2020-12-30 13:05:41 -05:00
cxgbetool cxgbetool(8): Add support for setting the hashfilter mode (filter mask). 2021-02-19 14:23:58 -08:00
daemon Fix a typo 2021-01-14 19:12:55 +01:00
dconschat spdx: initial adoption of licensing ID tags. 2017-11-18 14:26:50 +00:00
devctl devctl(8): Correct "sections out of conventional order" error 2020-12-19 13:05:54 +00:00
devinfo Fix devinfo typo. 2021-01-05 14:56:23 -05:00
diskinfo Make "diskinfo -i" also test 1MB reads. 2020-12-10 10:23:18 +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 edquota(8): Cleanup to make it WARNS=6 clean. 2020-08-17 05:57:22 +00:00
efibootmgr efibootmgr: Check for efi supported after parsing args 2021-02-11 16:09:51 -07:00
efidp Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
efivar Comment out bogus command line entry 2020-09-25 18:20:45 +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 Fix a few mandoc issues 2020-10-09 14:03:45 +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
freebsd-update freebsd-update: unconditionally regenerate passwd/login.conf files 2020-12-17 03:42:54 +00:00
fstyp fstyp(8): fix exfat detection 2021-01-17 11:55:06 -08: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 Provide userland notification of gpio pin changes ("userland gpio interrupts"). 2020-12-12 18:34:15 +00:00
gssd Remove the -o option from gssd(8). 2020-04-10 23:10:28 +00:00
gstat gstat(8): Bump .Dd 2021-01-06 19:04:09 +01:00
hyperv DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
i2c Fix a few mandoc issues 2020-10-09 14:03:45 +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: Add examples from manual page and other sources 2021-02-26 20:07:03 +01:00
iostat Fix formatting for tps values between 99.95 and 99.99; previously 2020-02-21 20:57:32 +00:00
iovctl Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +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 iscsid(8): fix memory leak by freeing the 'addr' 2020-12-29 14:53:06 +00:00
jail usr.bin/jail: Fix tests when using kyua -v parallelism=N 2021-02-04 17:56:55 +00:00
jexec various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
jls Bugfix to not hide jailparam flags, which for example changes the output 2020-12-15 20:56:35 +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 kldxref: Avoid buffer overflows in parse_pnp_list 2020-10-15 18:03:14 +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 Make use of the getlocalbase() function for run-time adjustment of the 2020-11-18 20:00:55 +00:00
makefs Fix makefs bootstrap after d485c77f20 2021-02-22 17:55:45 +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 mergemaster: handle symbolic links during update. 2020-11-18 19:22:24 +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 Fix a few mandoc issues 2020-10-09 19:12:44 +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 Update man page for new TLS export options. 2020-11-20 22:14:51 +00:00
moused moused(8): Fix a few mandoc warnings 2020-11-20 17:04:49 +00:00
mpsutil mpsutil(8): Remove trailing whitespace 2020-12-19 13:23:26 +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
ndp Fix arp/ndp deletion broken by 2fe5a79425. 2021-02-19 21:17:17 +00:00
newsyslog newsyslog(8): Implement a new 'E' flag to not rotate empty log files 2021-02-28 23:32:19 +01:00
nfscbd Change the type of "len" to avoid warnings. 2020-04-18 23:46:58 +00:00
nfsd nfsv4(4): Fix a few issues reported by mandoc 2020-12-19 13:45:39 +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 Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
ngctl build: remove LIBPTHREAD/LIBTHR build options 2021-01-22 12:33:27 -06:00
nghook DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
nmtree Allow bootstrapping mtree on Linux systems 2020-08-03 18:08:10 +00:00
nologin Revert 363598 2020-08-17 10:25:02 +00:00
nscd nscd: does not warn about invalid values what parsing config file 2020-07-11 19:44:12 +00:00
ntp Update leap-seconds to leap-seconds.3676924800. 2020-12-29 22:01:46 -08:00
nvram [PowerPC] De-giant powermac_nvram, update documentation 2020-06-19 18:36:10 +00:00
ofwdump [PowerPC] Allow traversal of oversize OF properties. 2020-11-13 16:49:41 +00:00
pciconf Replace literal uses of /usr/local in C sources with _PATH_LOCALBASE 2020-10-27 11:29:11 +00:00
periodic Fix daily_backup_gpart_exclude in periodic daily 221.backup-gpart 2020-12-26 19:27:12 -05:00
pkg pkg(7): address minor nits (mostly clang-analyze complaints) 2021-02-11 18:58:27 -06:00
pmc Remove redundand redefinion, fixing build. 2020-12-19 01:46:47 +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 Add the missing pmcstat log entries 2021-01-05 10:03:05 +00:00
pmcstudy Fix a few mandoc issues 2020-10-09 14:03:45 +00:00
pnfsdscopymr Fix the err() arguments for a nfssvc(8) failure. 2018-08-08 20:30:12 +00:00
pnfsdsfile pnfsdsfile(8): Remove dublicate word 'the' 2020-10-10 14:38:01 +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 Now that the portsnap buildbox is generating the raw bits for INDEX-14, 2021-01-28 23:26:14 -08:00
powerd powerd.8: Improve style & fix typos 2020-03-03 13:25:08 +00:00
ppp pkgbase: Put ppp in it's own package 2021-01-04 16:19:36 +01:00
pppctl pkgbase: Put ppp in it's own package 2021-01-04 16:19:36 +01:00
praliases DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
praudit usr.sbin/praudit: Fix tests after 5619d49e07 2021-02-03 16:02:46 +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 Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
pwd_mkdb Fix bootstrapping of pwd_mkdb after r364049 2020-08-11 16:46:38 +00:00
pwm pwm(8): fix potential duty overflow, use unsigneds for period and duty 2020-09-25 07:55:08 +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.tlsclntd nfs-over-tls: add user space daemons rpc.tlsclntd and rpc.tlsservd 2021-02-18 14:15:03 -08:00
rpc.tlsservd nfs-over-tls: add user space daemons rpc.tlsclntd and rpc.tlsservd 2021-02-18 14:15:03 -08: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 usr.sbin/rtadvctl: Remove support for FreeBSD 9.x. 2021-01-01 16:06:08 -08: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 rtsold: Fix bugs reported by Coverity 2020-12-02 16:46:45 +00:00
rwhod Remove reference to nlist(3) missed in SCCS revision 5.26 by mckusick 2020-07-24 16:58:13 +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 service(8): use an environment more consistent with init(8) 2021-03-03 12:25:11 -06:00
services_mkdb services: reinstate CouchDB and bring amqps 2020-12-31 20:49:03 -05: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 fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +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 Clean up spi.8 2020-08-21 09:48:00 +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 fix up documentation/comments: processname is not defined, but programname 2020-12-10 23:23:42 +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
traceroute Update Makefile.depend files 2019-12-11 17:37:53 +00:00
traceroute6 ping: fix some man pages and tests after r368045 2020-11-26 04:55:02 +00:00
trim trim(8): Fix a few issues reported by mandoc 2020-12-19 13:56:19 +00:00
trpt Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
tzsetup Don't link against libdialog/ncurses when bootstrapping tzsetup 2020-08-07 16:04:10 +00:00
uathload various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
uefisign Drop "All rights reserved" from all my stuff. This includes 2020-10-28 13:46:11 +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 MFV d60fa10fd8: 2021-02-09 20:27:25 -08: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 [vale] Fix valectl to compile on a 32-bit platform 2020-12-30 10:40:43 -08:00
vidcontrol Move font related data structured to sys/font.c and update vtfontcvt 2020-06-14 06:58:58 +00:00
vigr
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 ndis(4): remove as previous announced 2021-01-25 21:45:03 +00:00
yp_mkdb Fix clang 11 -Wformat warnings in yp_mkdb: 2020-08-06 20:31:50 +00:00
ypbind various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
ypldap Only set WARNS if not defined 2020-09-11 13:28:37 +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 Don't set more_data which is never used. 2020-12-24 18:49:12 -08:00
zzz
Makefile Remove fmtree(8) 2021-03-02 15:22:05 -06:00
Makefile.amd64 ndis(4): remove as previous announced 2021-01-25 21:45:03 +00:00
Makefile.arm
Makefile.arm64
Makefile.i386 ndis(4): remove as previous announced 2021-01-25 21:45:03 +00:00
Makefile.inc build: provide a default WARNS for all in-tree builds 2020-09-18 17:17:46 +00:00
Makefile.mips
Makefile.powerpc
Makefile.riscv Build ofwdump on riscv. 2018-07-24 20:20:17 +00:00