RE: [RFC] eal: remove size for eal_set_runtime_dir

2022-01-05 Thread Morten Brørup
> From: Stephen Hemminger [mailto:step...@networkplumber.org] > Sent: Wednesday, 5 January 2022 19.02 > > The size argument to eal_set_runtime_dir is useless and was > being used incorrectly in strlcpy. It worked only because > all callers passed PATH_MAX which is same as sizeof the destination >

[RFC] eal: remove size for eal_set_runtime_dir

2022-01-05 Thread Stephen Hemminger
The size argument to eal_set_runtime_dir is useless and was being used incorrectly in strlcpy. It worked only because all callers passed PATH_MAX which is same as sizeof the destination runtime_dir. Signed-off-by: Stephen Hemminger Suggested-by: Morten Brørup --- lib/eal/common/eal_common_confi