1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-20 02:38:43 +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
amd.c
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
intel.c
intel.h
Makefile
Makefile.depend
via.c
via.h