[dpdk-dev] [PATCH 0/4] improve runtime loading of shared drivers
Bruce Richardson
bruce.richardson at intel.com
Thu Jun 18 15:50:45 CEST 2020
This set includes a number of small improvements for handling the loading
of drivers at runtime using the EAL -d flag.
It limits the loading of files to only those files which end in .so, which
means that one can pass in the whole "drivers/" subfolder from a meson
build and not get an error when DPDK trys to load a .a file.
It also puts in some basic permission checking to ensure that no drivers
are loaded from a world-writable location on the filesystem, which would be
a potential security hole on a mis-configured system.
Bruce Richardson (4):
eal: remove unnecessary null-termination
eal: only load shared libs from driver plugin directory
eal: don't load drivers from insecure paths
eal: cache last directory permissions checked
lib/librte_eal/common/eal_common_options.c | 91 ++++++++++++++++++++--
1 file changed, 83 insertions(+), 8 deletions(-)
--
2.25.1
More information about the dev
mailing list