Re: [Bug Report] Wrong value of __NR_userfaultfd in asm-generic/unistd.h

2024-10-21 Thread John Hubbard
On 10/21/24 2:33 AM, David Hildenbrand wrote: Am 21.10.24 um 08:48 schrieb Muhammad Usama Anjum: ... But now comes the tricky part: an architecture defines whether it wants to (a) Use the asm-generic unistd.h (b) Use a custom one E.g., $ cat include/uapi/linux/unistd.h /* SPDX-License-Identi

Re: [Bug Report] Wrong value of __NR_userfaultfd in asm-generic/unistd.h

2024-10-21 Thread David Hildenbrand
Am 21.10.24 um 08:48 schrieb Muhammad Usama Anjum: Hi, The asm-generic/unistd.h file has wrong __NR_userfaultfd syscall number which doesn't even depend on the architecture. This has caused failure of a selftest which was fixed recently [1]. grep -rnIF "#define __NR_userfaultfd" tools/includ