From: Randy Dunlap <rdunlap@infradead.org>
To: jeffxu@chromium.org, akpm@linux-foundation.org,
keescook@chromium.org, jannh@google.com, sroettger@google.com,
willy@infradead.org, gregkh@linuxfoundation.org,
torvalds@linux-foundation.org, usama.anjum@collabora.com
Cc: jeffxu@google.com, jorgelo@chromium.org, groeck@chromium.org,
linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org,
linux-mm@kvack.org, pedro.falcato@gmail.com,
dave.hansen@intel.com, linux-hardening@vger.kernel.org,
deraadt@openbsd.org
Subject: Re: [PATCH v6 0/4] Introduce mseal()
Date: Fri, 12 Jan 2024 18:19:55 -0800 [thread overview]
Message-ID: <c65170fe-f596-4ce0-96e3-ba83f4e60eaf@infradead.org> (raw)
In-Reply-To: <20240111234142.2944934-1-jeffxu@chromium.org>
On 1/11/24 15:41, jeffxu@chromium.org wrote:
> From: Jeff Xu <jeffxu@google.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
next prev parent reply other threads:[~2024-01-13 2:20 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-11 23:41 jeffxu
2024-01-11 23:41 ` [PATCH v6 1/4] mseal: Wire up mseal syscall jeffxu
2024-01-11 23:41 ` [PATCH v6 2/4] mseal: add " jeffxu
2024-01-13 19:48 ` Kees Cook
2024-01-14 3:48 ` Jeff Xu
2024-01-11 23:41 ` [PATCH v6 3/4] selftest mm/mseal memory sealing jeffxu
2024-01-11 23:41 ` [PATCH v6 4/4] mseal:add documentation jeffxu
2024-01-13 1:10 ` Randy Dunlap
2024-01-13 4:51 ` Jeff Xu
2024-01-13 2:19 ` Randy Dunlap [this message]
2024-01-13 4:53 ` [PATCH v6 0/4] Introduce mseal() Jeff Xu
2024-01-13 5:57 ` Randy Dunlap
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=c65170fe-f596-4ce0-96e3-ba83f4e60eaf@infradead.org \
--to=rdunlap@infradead.org \
--cc=akpm@linux-foundation.org \
--cc=dave.hansen@intel.com \
--cc=deraadt@openbsd.org \
--cc=gregkh@linuxfoundation.org \
--cc=groeck@chromium.org \
--cc=jannh@google.com \
--cc=jeffxu@chromium.org \
--cc=jeffxu@google.com \
--cc=jorgelo@chromium.org \
--cc=keescook@chromium.org \
--cc=linux-hardening@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=pedro.falcato@gmail.com \
--cc=sroettger@google.com \
--cc=torvalds@linux-foundation.org \
--cc=usama.anjum@collabora.com \
--cc=willy@infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox