Re: [LTP] [PATCH] Add case about arch_prctl syscall.

Cyril Hrubis
2024-04-29T15:03:31Z

Hi!
And it looks that limiting the test to x86 or x86_64 CPUs is not enough
for it to run, we will have to check that the CPU has
X86_FEATURE_CPUID_FAULT flag set. Looks like we can actually get that
from the flags field from /proc/cpuinfo, if cpuid_fault is there the
prctl is supposed to work, if not these calls should return ENODEV.

--
Cyril Hrubis
chrubis@suse.cz