Re: [PATCH v2 6/6] selftests/mm: remove local __NR_* definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/13/25 00:04, John Hubbard wrote:
> 
> 2) I'm unable to reproduce what you saw, because in ALL cases (before
> or after the commit, and with or without a revert), I get the same
> results on my Intel test machine:
> 
>     $ ./protection_keys_64
>     has pkeys: 0
>     running PKEY tests for unsupported CPU/OS
> 
> ...so that's why I'm attaching a patch, in case you can verify that a
> revert fixes it.

The revert fixes it for me, thanks!

You probably just have hardware without pkey support. This isn't 100%
definitive, but you can check:

	cat /proc/cpuinfo  | grep ospke

If that doesn't match the "flags" line, then your hardware doesn't have
support in the first place and the message is totally expected.




[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux