freebsd-dev/usr.sbin
Ed Maste 868c1b8431 fstyp: detect Raspberry Pi Pico boot filesystem as FAT
fstyp looks for a 0x55 0xAA signature at offset 510, but this is not
required by specifications and is not proivded by the Raspberry Pi Nano
bootloader.

We should really remove the signature check and implement a more
comprehensive BPB validation instead, but it will require more
investigation and testing.  For now just add a special case for the
Raspberry Pi Nano bootloader, to avoid introducing regressions or new
false positives.

PR:		262896
Reviewed by:	delphij
MFC after:	3 days
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34699
2022-03-29 17:33:15 -04: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 Add the Arm SPE interrupt to acpidump 2022-02-01 11:43:13 +00:00
adduser adduser: allow standard IFS characters in passwords 2020-04-05 19:25:46 +00:00
apm Fix build with -DNO_ROOT 2021-11-26 12:51:08 +01:00
apmd Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:23:01 +00:00
arp arp(8): fixing the deletion failure of IEEE1394 associated addresses 2021-04-13 22:59:58 +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 authpf: Start using libpfctl 2021-05-07 22:13:31 +02:00
autofs pkgbase: Put autofs config files in the FreeBSD-autofs package 2021-12-21 10:17:25 +01:00
bhyve bhyve: sweep MAX_VMNAME 2022-03-17 21:55:52 -08:00
bhyvectl bhyve: sweep MAX_VMNAME 2022-03-17 21:55:52 -08: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 bluetooth: remove hcseriald 2021-09-29 21:18:17 -06:00
boot0cfg Revert r362466 2020-06-22 07:46:24 +00:00
bootparamd Fix too small hostname buffer in bootparamd 2022-02-06 15:25:49 +01:00
boottrace boottrace(8): small wrapper utility 2022-02-21 20:16:12 -04:00
bsdconfig Fix 'take effect' spelling in menus and comments. 2021-11-18 23:22:12 -07:00
bsdinstall Remove extraneous semicolons trailing break and continue statements. 2022-03-29 19:48:11 +02:00
bsnmpd Remove DS_BUSY case 2021-11-30 16:35:48 -07: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 pkgbase: Put certctl in the FreeBSD-caroot package 2021-12-21 10:17:44 +01: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: fix typo in usage 2021-07-21 10:16:11 +01:00
ckdist fts_read: Handle error from a NULL return better. 2020-12-08 23:38:26 +00:00
clear_locks pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
config config(5): Update upper limit for maxusers on 64-bit systems 2021-10-28 14:15:08 -04:00
cpucontrol cpucontrol(8): Fix a typo in an error message 2022-01-26 10:36:42 +01:00
crashinfo crashinfo: Add references to the gdb port/package 2020-12-02 19:58:50 +00:00
cron cron.8: Add periodic(8) to See Also 2022-02-09 11:50:01 +01:00
crunch crunchgen: remove -dc from linker invocation 2022-02-09 13:54:35 -05:00
ctladm pkgbase: Move ctld/ctladm to iscsi package 2021-06-19 17:49:57 +02:00
ctld iscsi: Handle large Text responses. 2021-12-29 14:36:04 -08:00
cxgbetool cxgbetool(8): Fix a typo in the man page 2022-03-28 19:33:44 +02:00
daemon daemon: add some basic tests 2021-05-03 09:55:40 -06:00
dconschat dconschat: Remove support for FreeBSD 4.x and earlier. 2021-04-20 15:51:31 -06:00
devctl devctl: add getpath command 2022-03-01 08:06:41 -07:00
devinfo devinfo(8): Remove cross-reference to pnpinfo(8) 2021-11-01 12:29:12 -04: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 pkgbase: Remove libefivar package and add a efi-tools one 2021-09-07 10:24:21 +02:00
efidp pkgbase: Remove libefivar package and add a efi-tools one 2021-09-07 10:24:21 +02:00
efitable efitable(8): Add missing -u in the manpage 2022-01-28 03:04:38 +02:00
efivar Correct minor typos/grammos and break long lines to fit in 80 chars. 2022-03-12 10:43:39 +01:00
etcupdate secure/caroot, certctl: Rename secure/caroot/blacklisted 2021-06-18 13:38:07 +01: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: Rename yyparse() to getdate_yyparse(). 2021-06-07 06:31:50 +00:00
flowctl various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
freebsd-update Cross-reference nextboot(8) and freebsd-update(8) 2022-03-29 15:15:35 +02:00
fstyp fstyp: detect Raspberry Pi Pico boot filesystem as FAT 2022-03-29 17:33:15 -04:00
ftp-proxy (t)ftp-proxy: use libpfctl 2021-04-10 11:16:02 +02:00
fwcontrol fwcontrol: eliminate set but not used warning 2022-03-10 15:51:27 -05: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 pkgbase: Create a FreeBSD-kerberos package 2021-09-07 10:23:14 +02:00
gstat ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
hyperv DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
i2c i2c(8): fix option handling 2021-10-06 21:56:20 -08: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: Use the synopsis from the manual page 2021-12-06 22:15:19 +01:00
iostat iostat: fix rounding errors in iostat -x 2021-07-08 10:16:32 -06: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 iscsi: retrieve global login timeout from sysctlbyname() as integer 2022-02-25 20:57:05 +01:00
jail jail: handle jailsys parameters in modification permission test 2022-03-25 19:16:51 -07: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 Fix too small sscanf output buffers in kbdmap 2022-02-06 16:25:25 +01:00
keyserv keyserv(8): unifdef out __FreeBSD__ and KEYSERV_RANDOM 2019-12-13 04:03:05 +00:00
kldxref kldxref: add R_PPC_ADDR32 handler 2022-02-10 12:15:47 -03:00
lastlogin A single comma was missing to separate the "see also" items in 2018-10-20 17:22:04 +00:00
lpr lpr(1): Fix a typo in a source code comment 2021-11-19 20:04:09 +01: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 makefs(8): Fix a few typos in source code comments 2022-02-06 13:46:38 +01: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(8): Fix a typo in an error message 2022-01-26 17:59:49 +01: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: Document shorthand syntax for volume setting. 2022-03-20 20:21:07 +01:00
mld6query Remove the USE_RFC2292BIS option and reap dead code 2019-07-22 20:11:33 +00:00
mlx5tool pkgbase: Create a mlx-tools package 2021-09-07 10:20:16 +02:00
mlxcontrol pkgbase: Move back mlxcontrol in the default package 2021-09-09 08:14:53 +02:00
mount_smbfs DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mountd mountd: Fix handling of usernames that start with a digit 2021-11-18 13:35:25 -08:00
moused moused(8): Fix a common typo in source code comments 2022-02-06 13:47:25 +01:00
mpsutil Fix formatting of the usage() output 2022-01-06 22:59:18 -07: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 When parsing a rule to rotate log files on a specific week day, 2021-12-30 20:45:13 +00:00
nfscbd pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nfsd update URL 2022-02-05 17:35:24 +00:00
nfsdumpstate pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nfsrevoke pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
nfsuserd pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02: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 pkgbase: Create a FreeBSD-mtree package 2021-12-21 10:17:33 +01: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 2022-03-13 23:37:56 -07:00
nvram [PowerPC] De-giant powermac_nvram, update documentation 2020-06-19 18:36:10 +00:00
ofwdump ofwdump.8: Remove references to eeprom(8) 2022-02-27 09:03:42 -07:00
pciconf pciconf: Fix PCIS_CRYPTO_ENTERTAIN copy/paste. 2022-02-09 15:56:30 -05:00
periodic pfdenied: match actual variable name to the documented one 2022-03-12 23:59:25 +01:00
pkg pkgbase: Add a FreeBSD-pkg-bootstrap package 2021-12-21 10:17:48 +01:00
pmc ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
pmcannotate Teach pmcannotate about $TMPDIR and _PATH_TMP 2018-05-18 14:14:04 +00:00
pmccontrol pmccontrol: improve -L with pmu-events 2021-05-31 17:39:05 -03:00
pmcstat ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
pmcstudy pmcstudy: Fix a typo in a usage message 2022-01-24 19:41:39 +01:00
pnfsdscopymr pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
pnfsdsfile pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
pnfsdskill pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
pnpinfo DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
portsnap portsnap: Remove superfluous semicolons 2021-06-29 11:00:54 -07:00
powerd powerd(8): Add rc.conf(5) to see also 2021-11-06 22:43:30 -04:00
ppp sys/*/conf/*, docs: fix links to handbook 2021-05-20 09:27:10 +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 Fix typo on "Celsius" 2021-11-18 23:05:32 -07:00
pstat pstat(8): improve the Size header width after r358181 2020-06-23 18:19:22 +00:00
pw pw(8): use openmemstream instead of sbuf(9) 2021-04-27 05:09:07 +02:00
pwd_mkdb Fix bootstrapping of pwd_mkdb after r364049 2020-08-11 16:46:38 +00:00
pwm usr.sbin/pwm/pwm add support for flags 2021-03-11 09:57:56 +01: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 rpc.lockd: Use libc strnlen() instead of reimplementing it 2021-06-23 10:06:57 -04: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 tls: Update for SSL_OP_ENABLE_KTLS. 2021-08-10 14:18:43 -07:00
rpc.tlsservd nfs tls: Update for SSL_OP_ENABLE_KTLS. 2021-08-10 14:18:43 -07:00
rpc.umntall pkgbase: Create a FreeBSD-nfs package 2021-06-19 17:49:50 +02:00
rpc.yppasswdd pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
rpc.ypupdated pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
rpc.ypxfrd pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
rpcbind RPCBIND: skip ipv6 link local when request is not from link local address 2021-10-04 10:45:26 -07: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 Add idle priority scheduling privilege group to MAC/priority 2021-12-10 04:54:48 +02:00
rtsold rtsold: fix memory leak in script execution 2022-02-25 09:30:29 -06:00
rwhod Remove reference to nlist(3) missed in SCCS revision 5.26 by mckusick 2020-07-24 16:58:13 +00:00
sa lastcomm/sa: Remove sparc64 tests, they aren't needed. 2021-10-04 10:51:15 -06: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 pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
services_mkdb Fix hand-rolled METALOG entries for installconfig during distributeworld 2022-02-28 22:36:39 +00:00
sesutil Add tests for ses(4) 2022-01-19 12:43:51 -07: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 spkrtest(8): Replace dialog with bsddialog 2022-03-16 01:48:53 +01:00
spray spray: fix the spelling in an output string 2018-03-05 16:13:29 +00:00
syslogd pkgbase: Create a FreeBSD-syslogd package 2021-12-21 10:17:40 +01:00
sysrc Update the spelling of my name 2019-04-22 17:52:46 +00:00
tcpdchk pkgbase: Create a FreeBSD-tcpd package 2021-12-21 10:17:31 +01:00
tcpdmatch pkgbase: Create a FreeBSD-tcpd package 2021-12-21 10:17:31 +01:00
tcpdrop tcpdrop: tweak comments 2021-12-04 15:08:01 +01:00
tcpdump Remove useless linking to libl 2020-03-23 14:44:23 +00:00
tcpsso tcpsso.8: Add a history section to the manpage 2022-02-10 09:27:42 +01:00
tests
traceroute Update Makefile.depend files 2019-12-11 17:37:53 +00:00
traceroute6 traceroute6: Properly calculate UDP checksum 2021-05-03 13:24:30 -04:00
trim trim(8): Fix a few issues reported by mandoc 2020-12-19 13:56:19 +00:00
trpt inet: remove tcp_debug from netinet/tcp_debug.h 2021-11-01 23:10:30 +00:00
tzsetup bsddialog: import version 0.1 2022-01-28 09:56:21 +01:00
uathload various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
uefisign uefisign: fix SizeOfHeaders sanity check. 2021-06-03 15:22:14 -06: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 Fix local-unbound setup for some IPv6 deployments. 2021-03-10 15:53:22 +00:00
usbconfig usbconfig.8: Sort flags according to style(9) 2022-01-29 22:10:21 +01:00
usbdump usbdump: style: Sort case statements alphabetically 2021-06-04 16:47:28 -06:00
utx pkgbase: Put more binaries/lib in runtime 2021-12-21 10:17:27 +01:00
valectl netmap: several typo fixes 2021-04-02 07:01:20 +00: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 ncurses: chase dependency changes in the source tree 2021-10-04 11:38:24 +02:00
watchdogd various: general adoption of SPDX licensing ID tags. 2017-11-27 15:37:16 +00:00
wlandebug wlandebug.8: remove Xref for missing manpages 2021-03-15 10:04:13 +01:00
wpa wpa_supplicant.conf.5: add note about scan_ssid=1 eavesdropping 2022-03-16 19:33:16 -04:00
yp_mkdb pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
ypbind ypbind(8): Fix a typo in the man page 2022-03-27 20:42:24 +02:00
ypldap pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
yppoll pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
yppush pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
ypserv pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
ypset pkgbase: Put yellow pages programs to its own package 2021-12-21 10:17:22 +01:00
zic Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
zonectl Cross-reference camcontrol(8) and zonectl(8) man pages. 2021-04-10 10:13:29 +01:00
zzz
Makefile boottrace(8): small wrapper utility 2022-02-21 20:16:12 -04:00
Makefile.amd64 Fix build with -DNO_ROOT 2021-11-26 12:51:08 +01:00
Makefile.arm Remove kgmon(8) 2021-04-04 00:50:28 +03:00
Makefile.arm64
Makefile.i386 Remove kgmon(8) 2021-04-04 00:50:28 +03: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