[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c65170fe-f596-4ce0-96e3-ba83f4e60eaf@infradead.org>
Date: Fri, 12 Jan 2024 18:19:55 -0800
From: Randy Dunlap <rdunlap@...radead.org>
To: jeffxu@...omium.org, akpm@...ux-foundation.org, keescook@...omium.org,
jannh@...gle.com, sroettger@...gle.com, willy@...radead.org,
gregkh@...uxfoundation.org, torvalds@...ux-foundation.org,
usama.anjum@...labora.com
Cc: jeffxu@...gle.com, jorgelo@...omium.org, groeck@...omium.org,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org,
linux-mm@...ck.org, pedro.falcato@...il.com, dave.hansen@...el.com,
linux-hardening@...r.kernel.org, deraadt@...nbsd.org
Subject: Re: [PATCH v6 0/4] Introduce mseal()
On 1/11/24 15:41, jeffxu@...omium.org wrote:
> From: Jeff Xu <jeffxu@...gle.com>
>
> This patchset proposes a new mseal() syscall for the Linux kernel.
>
Jeff,
Building arm64 defconfig, on linux-next-20240112, I get:
CC arch/arm64/kernel/asm-offsets.s
In file included from ../include/uapi/linux/mman.h:5,
from ../include/linux/mm.h:33,
from ../include/linux/memblock.h:12,
from ../arch/arm64/include/asm/acpi.h:14,
from ../include/acpi/acpi_io.h:7,
from ../include/linux/acpi.h:39,
from ../include/acpi/apei.h:9,
from ../include/acpi/ghes.h:5,
from ../include/linux/arm_sdei.h:8,
from ../arch/arm64/kernel/asm-offsets.c:10:
../arch/arm64/include/asm/mman.h: In function 'arch_calc_vm_prot_bits':
../arch/arm64/include/asm/mman.h:15:24: error: 'VM_ARM64_BTI' undeclared (first use in this function); did you mean 'ARM64_BTI'?
15 | ret |= VM_ARM64_BTI;
| ^~~~~~~~~~~~
| ARM64_BTI
../arch/arm64/include/asm/mman.h:15:24: note: each undeclared identifier is reported only once for each function it appears in
../arch/arm64/include/asm/mman.h:18:24: error: 'VM_MTE' undeclared (first use in this function); did you mean 'VM_MAP'?
18 | ret |= VM_MTE;
| ^~~~~~
| VM_MAP
../arch/arm64/include/asm/mman.h: In function 'arch_calc_vm_flag_bits':
../arch/arm64/include/asm/mman.h:32:24: error: 'VM_MTE_ALLOWED' undeclared (first use in this function)
32 | return VM_MTE_ALLOWED;
| ^~~~~~~~~~~~~~
../arch/arm64/include/asm/mman.h: In function 'arch_validate_flags':
../arch/arm64/include/asm/mman.h:59:29: error: 'VM_MTE' undeclared (first use in this function); did you mean 'VM_MAP'?
59 | return !(vm_flags & VM_MTE) || (vm_flags & VM_MTE_ALLOWED);
| ^~~~~~
| VM_MAP
../arch/arm64/include/asm/mman.h:59:52: error: 'VM_MTE_ALLOWED' undeclared (first use in this function)
59 | return !(vm_flags & VM_MTE) || (vm_flags & VM_MTE_ALLOWED);
| ^~~~~~~~~~~~~~
--
#Randy
Powered by blists - more mailing lists