kexec_load(2) says flags must be 0, but nothing checked it, so
KEXEC_ON_CRASH silently staged a normal image. Return EINVAL, as Linux
does.
Sponsored by: Advanced Micro Devices, Inc.
Signed-off-by: Osvaldo Janeri Filho <ojanerif@amd.com>
Differential D61809
kexec: reject nonzero flags Authored by ojanerif_amd.com on Fri, Nov 20, 3:21 PM. Project Tags None Referenced Files
Details kexec_load(2) says flags must be 0, but nothing checked it, so Sponsored by: Advanced Micro Devices, Inc. New kexec_bad_flags fails before and passes after, in bhyve and on
Diff Detail
|