1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-22 11:17:19 +00:00
freebsd/usr.sbin/cpucontrol
Konstantin Belousov e4e0dad424 cpucontrol: check for the supposed firmware file type and skip
non-regular entry.

do_update() skips entries with DT_DIR type.  This does not eliminate
other entries that might exist in the directory.  More, since NFS
might fill d_type with DT_UNKNOWN, dot and dotdot entries are not
skipped, then mmap(2) call failed for them when update microcode files
are located on NFS.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2019-01-11 08:35:49 +00:00
..
amd10h.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
amd.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
amd.h
cpucontrol.8
cpucontrol.c cpucontrol: check for the supposed firmware file type and skip 2019-01-11 08:35:49 +00:00
cpucontrol.h cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
intel.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
intel.h
Makefile
Makefile.depend
via.c cpucontrol(8): De-duplicate common update logic 2018-11-14 00:21:49 +00:00
via.h