c530aa78e3
Using access followed by open causes a static analysis warning
about Time of check versus Time of use. Also, access() and
open() have different UID permission checks.
This is not a serious problem; but easy to fix by using errno instead.
Coverity issue: 300870
Fixes:
|
||
---|---|---|
.. | ||
bsd | ||
linux | ||
Makefile | ||
meson.build | ||
pci_common_uio.c | ||
pci_common.c | ||
pci_params.c | ||
private.h | ||
rte_bus_pci_version.map | ||
rte_bus_pci.h |