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

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

 



Hi John,

On 6/13/24 19:30, John Hubbard wrote:
> --- a/tools/testing/selftests/mm/protection_keys.c
> +++ b/tools/testing/selftests/mm/protection_keys.c
> @@ -42,7 +42,7 @@
>  #include <sys/wait.h>
>  #include <sys/stat.h>
>  #include <fcntl.h>
> -#include <unistd.h>
> +#include <linux/unistd.h>
>  #include <sys/ptrace.h>
>  #include <setjmp.h>

I'm not quite sure how but this broke the protection_keys.c selftest for
me. Before this commit (a5c6bc590094a1a73cf6fa3f505e1945d2bf2461) things
are fine.  But after, I get:

	running PKEY tests for unsupported CPU/OS

The "unsupported" test just makes a pkey_alloc() syscall. It's probably
calling the wrong syscall number or something.

I think it's still broken in mainline. What's the right fix?




[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