freebsd-nq/usr.sbin
Simon J. Gerraty 53f151f906 Fix pkgfs stat so it satisfies libsecureboot
We need a valid st_dev, st_ino and st_mtime
to correctly track which files have been verified
and to update our notion of time.

ve_utc_set(): ignore utc if it would jump our current time
by more than VE_UTC_MAX_JUMP (20 years).

Allow testing of install command via userboot.
Need to fix its stat implementation too.

bhyveload also needs stat fixed - due to change to userboot.h

Call ve_error_get() from vectx_close() when hash is wrong.

Track the names of files we have hashed into pcr

For the purposes of measured boot, it is important
to be able to reproduce the hash reflected in
loader.ve.pcr
so loader.ve.hashed provides a list of names in the order they
were added.

Reviewed by:	imp
MFC after:	1 week
Sponsored by:	Juniper Networks
Differential Revision:	https://reviews.freebsd.org//D24027
2020-03-25 19:12:19 +00:00
..
ac Add some HISTORY sections to manpages 2020-02-19 12:49:49 +00:00
accton
acpi Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
adduser
ancontrol
apm
apmd Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:23:01 +00:00
arp arp(8): avoid segfaulting due to out-of-bounds memory access 2020-01-09 11:58:26 +00:00
audit
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
authpf
autofs autofs: Fix autounmountd's printing of mount time. 2019-08-09 02:20:26 +00:00
bhyve Bhyve: log message when rfb client connects 2020-03-18 03:17:15 +00:00
bhyvectl bhyve, bhyvectl: Add Hygon Dhyana support. 2020-02-13 19:05:14 +00:00
bhyveload Fix pkgfs stat so it satisfies libsecureboot 2020-03-25 19:12:19 +00:00
binmiscctl Remove sparc64 example. 2020-02-10 17:16:26 +00:00
blacklistctl
blacklistd Move blacklistd.conf to usr.sbin/blacklistd/ 2018-07-31 16:39:38 +00:00
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 bsdconfig: remove the Italian mirror 2020-02-28 03:38:57 +00:00
bsdinstall bsdinstall: remove the Italian mirror 2020-02-28 03:39:00 +00:00
bsnmpd Fix a comment for the SUN geom class. 2020-02-10 17:16:50 +00:00
btxld
camdd camdd: initialize devs earlier 2020-01-10 22:20:23 +00:00
cdcontrol
certctl certctl(8): switch to install(1) to fix DESTDIR support 2020-02-19 02:34:56 +00:00
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 Create ../compile 2020-02-24 16:41:16 +00:00
cpucontrol cpucontrol: print more useful information when MSR access fails. 2019-11-13 22:43:11 +00:00
crashinfo Support compressed crash dumps in crashinfo(8). 2018-07-23 18:08:56 +00:00
cron cron(8): rip out do_univ 2020-02-10 02:44:29 +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 Stop linking to libl by specifying we do not need yywrap 2019-09-10 07:28:27 +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
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
edquota
efibootmgr Add --esp/-E argument to print the currently booted ESP 2019-11-20 23:58:36 +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 Unbreak etcupdate(8) and mergemaster(8) after r352950 2019-10-02 12:46:28 +00:00
extattr setextattr: Increase stdin buffer size to 4096 2020-01-16 21:31:56 +00:00
extattrctl
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
fmtree mtree: Fix -f -f not considering type changes. 2019-09-12 18:44:48 +00:00
freebsd-update freebsd-update: Add updatesready' and showconfig' commands 2019-09-24 20:49:33 +00:00
fstyp fstyp: sync HAMMER1/2 detection support with DragonFly BSD. 2020-02-06 18:04:15 +00:00
ftp-proxy
fwcontrol Fix various -Wpointer-compare warnings 2019-10-08 21:14:09 +00:00
getfmac
getpmac
gpioctl gpioctl.8: Fix man page section 2018-06-06 18:52:33 +00:00
gssd Update Makefile.depend files 2019-12-11 17:37:53 +00:00
gstat - Add CSV output to gstat via -C flag. 2018-08-21 11:22:49 +00:00
hyperv
i2c Fix error found by new clang operator precendence warning 2019-11-17 19:04:02 +00:00
ifmcstat
inetd inetd: two more nits 2020-01-10 14:43:57 +00:00
iostat Fix formatting for tps values between 99.95 and 99.99; previously 2020-02-21 20:57:32 +00:00
iovctl
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: simplify the capsicumization 2018-11-30 19:40:16 +00:00
jail revert r354935 and apply fix for cleandir failure 2019-11-21 13:56:16 +00:00
jexec
jls
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
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
mailstats
mailwrapper
makefs Fix an indentation bug in r357169. 2020-01-30 18:34:08 +00:00
makemap
manctl
memcontrol
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
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 Advertise the MPI Message Version that's contained in the IOCFacts message 2020-02-07 12:15:39 +00:00
mptable
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: Add fallthrough comments to appease Coverity. 2020-03-24 18:17:10 +00:00
nfscbd
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
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
nmtree
nologin
nscd Workaround for nscd(8) failure with large entries. 2019-01-17 20:01:06 +00:00
ntp PACKAGE_STRING should be the same as PACKAGE_VERSION. 2020-03-18 22:14:25 +00:00
nvram
ofwdump
pciconf When printing out the contents of the VSEC, include the contents of the 2020-03-20 23:26:37 +00:00
periodic Add extremely useful calendar(1) application to FreeBSD 2020-03-03 00:20:08 +00:00
pkg Rework the logic for installing the pkg(8) configuration. 2019-10-08 18:58:23 +00:00
pmc pmc: Add include path for libpmcstat as it is an internallib 2020-03-25 01:32:16 +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
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 Remove all the RELEASE_CRUNCH defines, they are useless. 2019-12-16 21:06:24 +00:00
pppctl
praliases
praudit praudit(1): add tests 2018-06-17 17:31:16 +00:00
prometheus_sysctl_exporter
pstat - Implement -h (human readable) for the size of the underlying block disk. 2020-02-20 21:12:10 +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 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 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
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 Update Makefile.depend files 2019-12-11 17:37:53 +00:00
rrenumd by specifyng we do not use yywrap we can avoid linking to libl and liby 2019-09-10 07:20:32 +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
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 Update Makefile.depend files 2019-12-11 17:37:53 +00:00
service service(8): set the environment of the "daemon" class before invoking 2020-02-05 04:32:49 +00:00
services_mkdb style(9): Fix space after #define. 2020-03-12 03:56:54 +00:00
sesutil sesutil: fix Coverity CIDs 2020-02-13 15:28:56 +00:00
setfib
setfmac
setpmac
smbmsg
snapinfo
spi Add an example for displaying the manufacturer and size info from a 2018-06-23 23:08:25 +00:00
spkrtest
spray spray: fix the spelling in an output string 2018-03-05 16:13:29 +00:00
syslogd log daemon.info to /var/log/daemon.log by default 2019-09-17 20:03:20 +00:00
sysrc Update the spelling of my name 2019-04-22 17:52:46 +00:00
tcpdchk
tcpdmatch
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 pkgbase: Put a lot of binaries and lib in FreeBSD-runtime 2019-09-05 14:13:08 +00:00
trim trim(8): emit more user-friendly error message in verbose mode. 2019-03-15 14:42:23 +00:00
trpt trpt(8): Clean up build hack to detect ancient compiler 2018-02-16 20:46:44 +00:00
tzsetup Remove sparc64 ifdef 2020-02-10 17:16:41 +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 Unbound's config.h is manually maintained, using a ./configure produced 2020-01-13 06:55:31 +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
valectl add valectl to the system commands 2019-10-31 21:01:34 +00:00
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 Remove sio(4). 2019-11-21 01:24:49 +00:00
watchdogd
wlandebug wlandebug: Add include path for libifconfig as it is a internallib 2020-03-25 01:31:26 +00:00
wpa Fix build when WITHOUT_WPA_SUPPLICANT_EAPOL option used. 2020-01-21 20:21:52 +00:00
yp_mkdb
ypbind
ypldap Correct path in EXAMPLES ypldap.conf.5 2020-03-24 19:12:28 +00:00
yppoll
yppush Increase YPMAXRECORD to 16M to be compatible with Linux. 2019-08-12 20:27:33 +00:00
ypserv Update Makefile.depend files 2019-12-11 17:37:53 +00:00
ypset
zic
zonectl
zzz
Makefile retire amd(8) 2020-03-09 20:46:43 +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 Build ofwdump on riscv. 2018-07-24 20:20:17 +00:00