From: Hajime Tazaki <thehajime@gmail.com>
To: linux-um@lists.infradead.org
Cc: thehajime@gmail.com, ricarkol@google.com,
Liam.Howlett@oracle.com, linux-kernel@vger.kernel.org
Subject: [PATCH v11 06/14] fixup seccomp
Date: Thu, 18 Sep 2025 14:15:59 +0900 [thread overview]
Message-ID: <6adb6305c2c84d715d37642ee9cd4f5a28719979.1758171893.git.thehajime@gmail.com> (raw)
In-Reply-To: <cover.1758171893.git.thehajime@gmail.com>
---
arch/um/nommu/os-Linux/Makefile | 2 +-
arch/um/{ => nommu}/os-Linux/seccomp.c | 0
arch/um/os-Linux/Makefile | 5 -----
3 files changed, 1 insertion(+), 6 deletions(-)
rename arch/um/{ => nommu}/os-Linux/seccomp.c (100%)
diff --git a/arch/um/nommu/os-Linux/Makefile b/arch/um/nommu/os-Linux/Makefile
index 68833c576437..805e26ccf63b 100644
--- a/arch/um/nommu/os-Linux/Makefile
+++ b/arch/um/nommu/os-Linux/Makefile
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0
-obj-y := signal.o
+obj-y := seccomp.o signal.o
USER_OBJS := $(obj-y)
include $(srctree)/arch/um/scripts/Makefile.rules
diff --git a/arch/um/os-Linux/seccomp.c b/arch/um/nommu/os-Linux/seccomp.c
similarity index 100%
rename from arch/um/os-Linux/seccomp.c
rename to arch/um/nommu/os-Linux/seccomp.c
diff --git a/arch/um/os-Linux/Makefile b/arch/um/os-Linux/Makefile
index 432476a4239a..c048fc838068 100644
--- a/arch/um/os-Linux/Makefile
+++ b/arch/um/os-Linux/Makefile
@@ -21,9 +21,4 @@ USER_OBJS := $(user-objs-y) elf_aux.o execvp.o file.o helper.o irq.o \
main.o mem.o process.o registers.o sigio.o signal.o start_up.o time.o \
tty.o umid.o util.o
-ifneq ($(CONFIG_MMU),y)
-obj-y += seccomp.o
-USER_OBJS += seccomp.o
-endif
-
include $(srctree)/arch/um/scripts/Makefile.rules
--
2.43.0
next prev parent reply other threads:[~2025-09-18 5:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-18 5:15 [PATCH v11 00/14] nommu UML Hajime Tazaki
2025-09-18 5:15 ` [PATCH v11 01/14] x86/um: nommu: elf loader for fdpic Hajime Tazaki
2025-09-18 5:15 ` [PATCH v11 02/14] um: decouple MMU specific code from the common part Hajime Tazaki
2025-09-18 5:15 ` [PATCH v11 03/14] um: nommu: memory handling Hajime Tazaki
2025-09-18 5:15 ` [PATCH v11 04/14] x86/um: nommu: syscall handling Hajime Tazaki
2025-09-18 5:15 ` [PATCH v11 05/14] um: nommu: seccomp syscalls hook Hajime Tazaki
2025-09-18 5:15 ` Hajime Tazaki [this message]
2025-09-18 5:16 ` [PATCH v11 07/14] x86/um: nommu: process/thread handling Hajime Tazaki
2025-09-18 5:16 ` [PATCH v11 08/14] um: nommu: configure fs register on host syscall invocation Hajime Tazaki
2025-09-18 5:16 ` [PATCH v11 09/14] x86/um/vdso: nommu: vdso memory update Hajime Tazaki
2025-09-18 5:16 ` [PATCH v11 10/14] x86/um: nommu: signal handling Hajime Tazaki
2025-09-18 5:16 ` [PATCH v11 11/14] um: nommu: a work around for MMU dependency to PCI driver Hajime Tazaki
2025-09-18 5:16 ` [PATCH v11 12/14] um: change machine name for uname output Hajime Tazaki
2025-09-18 5:16 ` [PATCH v11 13/14] um: nommu: add documentation of nommu UML Hajime Tazaki
2025-09-18 5:16 ` [PATCH v11 14/14] um: nommu: plug nommu code into build system Hajime Tazaki
2025-09-18 7:38 ` [PATCH v11 00/14] nommu UML Hajime Tazaki
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=6adb6305c2c84d715d37642ee9cd4f5a28719979.1758171893.git.thehajime@gmail.com \
--to=thehajime@gmail.com \
--cc=Liam.Howlett@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-um@lists.infradead.org \
--cc=ricarkol@google.com \
/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
all inboxes | Powered by JetHome®