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

Cyril Hrubis chrubis@suse.cz
Mon Apr 29 17:02:21 CEST 2024


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


More information about the ltp mailing list