[PATCH v5 01/11] eal: introduce new secure memory fill
fengchengwen
fengchengwen at huawei.com
Wed Feb 12 02:37:11 CET 2025
Signed-off-by: Chengwen Feng <fengchengwen at huawei.com>
On 2025/2/12 1:35, Stephen Hemminger wrote:
> When memset() is used before a release function such as free,
> the compiler if allowed to optimize the memset away under
> the as-if rules. This is normally ok, but in certain cases such
> as passwords or security keys it is problematic.
>
> Introduce a DPDK wrapper which is equivalent to the C++ memset_s
> function. Naming chosen to be similar to kernel.
>
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>
More information about the dev
mailing list