From patchwork Mon Jan 22 15:28:47 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeff Xu X-Patchwork-Id: 13525656 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 707D1C47DAF for ; Mon, 22 Jan 2024 15:29:13 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id CF8408D0005; Mon, 22 Jan 2024 10:29:12 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id C812F8D0002; Mon, 22 Jan 2024 10:29:12 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AFB1B8D0005; Mon, 22 Jan 2024 10:29:12 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0011.hostedemail.com [216.40.44.11]) by kanga.kvack.org (Postfix) with ESMTP id 9A18B8D0002 for ; Mon, 22 Jan 2024 10:29:12 -0500 (EST) Received: from smtpin29.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id 45C041C13AD for ; Mon, 22 Jan 2024 15:29:12 +0000 (UTC) X-FDA: 81707330544.29.0AFB7DB Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by imf15.hostedemail.com (Postfix) with ESMTP id 5591CA0029 for ; Mon, 22 Jan 2024 15:29:10 +0000 (UTC) Authentication-Results: imf15.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=VdO9avIS; spf=pass (imf15.hostedemail.com: domain of jeffxu@chromium.org designates 209.85.210.175 as permitted sender) smtp.mailfrom=jeffxu@chromium.org; dmarc=pass (policy=none) header.from=chromium.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1705937350; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=o1nXFBm8Wq9fX7ppYWScs7k2sQNa6wcd9LyWfOMZwQs=; b=h/Lqq+spRUF4B1QMMSfY3Xo6airCfIfNtUJwY9iFEwRIMU4dUoL7FVFeSHDKooxW6t3N2T 2KRWAC+yOK13sSmwWZ0Zhs5pYZNY0jrXXjx3hg0M/JC6yEy471ISsX7y/OqOB7Pr1ko0mX HH4n3ll1L6phaU0XFRiV/SIYoMCeeu8= ARC-Authentication-Results: i=1; imf15.hostedemail.com; dkim=pass header.d=chromium.org header.s=google header.b=VdO9avIS; spf=pass (imf15.hostedemail.com: domain of jeffxu@chromium.org designates 209.85.210.175 as permitted sender) smtp.mailfrom=jeffxu@chromium.org; dmarc=pass (policy=none) header.from=chromium.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1705937350; a=rsa-sha256; cv=none; b=k1T6syQ+jV7Ps5J7duU9xI35B1xVWbC3De4SHneu5ykPk11exzlxGxQuC4LMR1yZgNXqa+ 2kkM7W+xO4fCzuDFHxEK0e7XKqN4j4bBYqgc/fFiUNpxaCHEbcnH9AE35Z4HFXGhcfGvqc ZlJ5VQxD/1lF/zl3tMhUJ8G90/7tZV0= Received: by mail-pf1-f175.google.com with SMTP id d2e1a72fcca58-6dbcc7647c9so1313709b3a.0 for ; Mon, 22 Jan 2024 07:29:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1705937349; x=1706542149; darn=kvack.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=o1nXFBm8Wq9fX7ppYWScs7k2sQNa6wcd9LyWfOMZwQs=; b=VdO9avISpghjXv2QM0MEgB+QkwMGOYElj8ja9275BSG3PBbAMnsYuHE7+xWD8UqJzh nOsYdu8Hh/N+KWzYyFmdh9ZywgvTZ/9io1UjwZLHzYEfsqJQhnXslaezv6YezHugyKZv luUXvTUYRPeQ9rMueNtxCLcaVNCu89UYbwSi8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705937349; x=1706542149; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=o1nXFBm8Wq9fX7ppYWScs7k2sQNa6wcd9LyWfOMZwQs=; b=CMmbRlAspvOKQo0QVBcVNhms84S5vcTCOqrz7f90/se9+7p8z4NAB4yE7fAX8WCo16 I7d/FU3VT7a9LPvacBMW+X/5qhyJH3L1ntSxBwk4X+a7nnceV8ckWvbemSZBHlwTe3w0 Ju+E09+51G0Ha07pPlBb1C2cJpdrA1ma57GKQcUGNA5sE2ZpX0A/Fsj2kVodXi75Gwg3 4gwwcoTL6P2bj9PaaG1EI9rDfD2xnEwmbO6AvcPWB9EtU0AUuO0TlvQZ0txomwLjJV12 03TW8di4mNRKf7lV3//+RIahEDMJSrrHM061BPdhJvqyr/b+DjWm+tB3Dev9ImMZXNPd 7YcQ== X-Gm-Message-State: AOJu0YyUyFzNuxJpX8A7z5DE2h1La5Q8SBDd1XFzJ4CPLavem1s3SdXW aJ4LYWU76hAV1NdPyoMmkFeym7dDJQlEtNPP7LlFZSJLkkVKA0eZyON5zWnfEA== X-Google-Smtp-Source: AGHT+IHeHeb65t+VJYqntENsZi5Hu4wtarN33a34Ye/qpiXFiCACGG0yxUCfuTgCve1300tEYccgRw== X-Received: by 2002:a17:90a:9e6:b0:290:34a0:212 with SMTP id 93-20020a17090a09e600b0029034a00212mr1363174pjo.40.1705937348991; Mon, 22 Jan 2024 07:29:08 -0800 (PST) Received: from localhost (34.85.168.34.bc.googleusercontent.com. [34.168.85.34]) by smtp.gmail.com with UTF8SMTPSA id so12-20020a17090b1f8c00b0028dfdfc9a8esm9552273pjb.37.2024.01.22.07.29.08 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 22 Jan 2024 07:29:08 -0800 (PST) From: jeffxu@chromium.org To: 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, rdunlap@infradead.org 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, Jeff Xu Subject: [PATCH v7 1/4] mseal: Wire up mseal syscall Date: Mon, 22 Jan 2024 15:28:47 +0000 Message-ID: <20240122152905.2220849-2-jeffxu@chromium.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240122152905.2220849-1-jeffxu@chromium.org> References: <20240122152905.2220849-1-jeffxu@chromium.org> MIME-Version: 1.0 X-Rspamd-Queue-Id: 5591CA0029 X-Rspam-User: X-Stat-Signature: qjkjw5pqa73x6kejm9abuj9ka6uihpg8 X-Rspamd-Server: rspam01 X-HE-Tag: 1705937350-593867 X-HE-Meta: U2FsdGVkX1+we6bGccwjsCTOm0HnmPChLY5gbqNZa7vHDncSbK/4eDPqTbENuyrkILXkPidzuiUFP2Sw8unOczIVKxRcPtA/8gpCQh1xZTugCb3tpOpcXXf9zGyfcb3U5l3M1FmYQqTQWgb1zjl6E7AMOOLe+wQfEvxF9kjGtdvYSRDfJuePfcF0b3dUUFr7IMgRxeLZ6UV80Il8jNca2bKwfkWiVebrVpYiPtHVYXJkDrxAiOFqkVmq7991TWgaSo54I4HOHKAs5tujVIz+N3HwvlkSHcIPXqqq1KLgTgdahO6psMkdEwKGn4tl1YsaDjiejeQesNvQ+MZ/O90yjBF0Ac+wOIFoD+QXyi7atTnNeVvgir02r4F1BAWNZioatXAPj46QtEuzjIKgs7bnlytWs6BIAs03qSL0VToGauB9YHOstJ1vGUEUJAie5mnKobGUdmiwrOTbPsCoX3R3JsmgiEYtBD14v79MmP6ifPwwX6SKUDY/b5ZtFEAomEphEBDTmzBGleQyVDHkyh3EFER/SI0LX2gZiTOHWxOHgD7oRSm91CC0CQe1rWreXY1yiJ+7N34ZnRmgPiNsoz+RlT9zSXgHHiaM1+6cFMQp18tO+yNSbzrQnDHB9izRX1gBmjZMglKy/U6t3uwHukCIGrARuXgmMYdbMzlyys3ZvJsyrtt0DVsAf6iI9RJUW1TT26bYmcvtBGT1OVaE4KCZF9wk8IHW3QRtfTSyG67O7gUSxEtFzJzQdEYObf5yfj44ZiNMKYHtFjbGe+5beLtqcUKecX+eHkPCr9g/xNSXsvopaA+kSIBCJZBZjrWJp/lLf17y8oyW/Uhq1+ioq/txNL9dSdj10YHYdT4RfdwghEfI/nwe1nncEBBgrR8AJvkZJuZ85fkzxsajqb8T14ZllnsOOIm+bmTsYk5maGRCKVEBsK3/MxYqeb10KfAxK4iN4IfDGNA3CroH72yAnBu AvwpdGN4 2oc8dcN0gP6lcEtePcHNqsHXrsfk3mZEk1ZdxWAzYK4YiqRL2pvb3QVQE3Rd+9+CfGXGaaki13wWem0LtQUrJe01VXnVr+MsJecEf36ollZbOW1g7RDigw11n8vdI9Usk62KpewXqELS3Mf9Ssva/ocCBskHK6+9DlT2hl9yIoKdU17bcVg2xT0upIEtR14mHaKb+uPB37xnJ7IOwgxzxRwVyBkjpQBlfctHhPiWLos/ozS6hhNHZX3GlZK9kxa6Q6VLZhkQcJmzfVZxTiQTAXN9NKP7Zc98CvPfAoxQb/qyoK9C0O9If4HSjmHKroOiwfpBXSSyHWdApaeLILlpyigk8gTv54/keJCVF1y5Fwyp7KnDYlhQgOWzZ7DqXkBuh/IhES+ngkBMIwEsa+qyQdWoQYXEfvLlVsBxPMHA290QfRe6OKQrGnJouew== X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: List-Subscribe: List-Unsubscribe: From: Jeff Xu Wire up mseal syscall for all architectures. Signed-off-by: Jeff Xu --- arch/alpha/kernel/syscalls/syscall.tbl | 1 + arch/arm/tools/syscall.tbl | 1 + arch/arm64/include/asm/unistd.h | 2 +- arch/arm64/include/asm/unistd32.h | 2 ++ arch/m68k/kernel/syscalls/syscall.tbl | 1 + arch/microblaze/kernel/syscalls/syscall.tbl | 1 + arch/mips/kernel/syscalls/syscall_n32.tbl | 1 + arch/mips/kernel/syscalls/syscall_n64.tbl | 1 + arch/mips/kernel/syscalls/syscall_o32.tbl | 1 + arch/parisc/kernel/syscalls/syscall.tbl | 1 + arch/powerpc/kernel/syscalls/syscall.tbl | 1 + arch/s390/kernel/syscalls/syscall.tbl | 1 + arch/sh/kernel/syscalls/syscall.tbl | 1 + arch/sparc/kernel/syscalls/syscall.tbl | 1 + arch/x86/entry/syscalls/syscall_32.tbl | 1 + arch/x86/entry/syscalls/syscall_64.tbl | 1 + arch/xtensa/kernel/syscalls/syscall.tbl | 1 + include/uapi/asm-generic/unistd.h | 5 ++++- kernel/sys_ni.c | 1 + 19 files changed, 23 insertions(+), 2 deletions(-) diff --git a/arch/alpha/kernel/syscalls/syscall.tbl b/arch/alpha/kernel/syscalls/syscall.tbl index 8ff110826ce2..d8f96362e9f8 100644 --- a/arch/alpha/kernel/syscalls/syscall.tbl +++ b/arch/alpha/kernel/syscalls/syscall.tbl @@ -501,3 +501,4 @@ 569 common lsm_get_self_attr sys_lsm_get_self_attr 570 common lsm_set_self_attr sys_lsm_set_self_attr 571 common lsm_list_modules sys_lsm_list_modules +572 common mseal sys_mseal diff --git a/arch/arm/tools/syscall.tbl b/arch/arm/tools/syscall.tbl index b6c9e01e14f5..2ed7d229c8f9 100644 --- a/arch/arm/tools/syscall.tbl +++ b/arch/arm/tools/syscall.tbl @@ -475,3 +475,4 @@ 459 common lsm_get_self_attr sys_lsm_get_self_attr 460 common lsm_set_self_attr sys_lsm_set_self_attr 461 common lsm_list_modules sys_lsm_list_modules +462 common mseal sys_mseal diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h index 491b2b9bd553..1346579f802f 100644 --- a/arch/arm64/include/asm/unistd.h +++ b/arch/arm64/include/asm/unistd.h @@ -39,7 +39,7 @@ #define __ARM_NR_compat_set_tls (__ARM_NR_COMPAT_BASE + 5) #define __ARM_NR_COMPAT_END (__ARM_NR_COMPAT_BASE + 0x800) -#define __NR_compat_syscalls 462 +#define __NR_compat_syscalls 463 #endif #define __ARCH_WANT_SYS_CLONE diff --git a/arch/arm64/include/asm/unistd32.h b/arch/arm64/include/asm/unistd32.h index 7118282d1c79..266b96acc014 100644 --- a/arch/arm64/include/asm/unistd32.h +++ b/arch/arm64/include/asm/unistd32.h @@ -929,6 +929,8 @@ __SYSCALL(__NR_lsm_get_self_attr, sys_lsm_get_self_attr) __SYSCALL(__NR_lsm_set_self_attr, sys_lsm_set_self_attr) #define __NR_lsm_list_modules 461 __SYSCALL(__NR_lsm_list_modules, sys_lsm_list_modules) +#define __NR_mseal 462 +__SYSCALL(__NR_mseal, sys_mseal) /* * Please add new compat syscalls above this comment and update diff --git a/arch/m68k/kernel/syscalls/syscall.tbl b/arch/m68k/kernel/syscalls/syscall.tbl index 7fd43fd4c9f2..22a3cbd4c602 100644 --- a/arch/m68k/kernel/syscalls/syscall.tbl +++ b/arch/m68k/kernel/syscalls/syscall.tbl @@ -461,3 +461,4 @@ 459 common lsm_get_self_attr sys_lsm_get_self_attr 460 common lsm_set_self_attr sys_lsm_set_self_attr 461 common lsm_list_modules sys_lsm_list_modules +462 common mseal sys_mseal diff --git a/arch/microblaze/kernel/syscalls/syscall.tbl b/arch/microblaze/kernel/syscalls/syscall.tbl index b00ab2cabab9..2b81a6bd78b2 100644 --- a/arch/microblaze/kernel/syscalls/syscall.tbl +++ b/arch/microblaze/kernel/syscalls/syscall.tbl @@ -467,3 +467,4 @@ 459 common lsm_get_self_attr sys_lsm_get_self_attr 460 common lsm_set_self_attr sys_lsm_set_self_attr 461 common lsm_list_modules sys_lsm_list_modules +462 common mseal sys_mseal diff --git a/arch/mips/kernel/syscalls/syscall_n32.tbl b/arch/mips/kernel/syscalls/syscall_n32.tbl index 83cfc9eb6b88..cc869f5d5693 100644 --- a/arch/mips/kernel/syscalls/syscall_n32.tbl +++ b/arch/mips/kernel/syscalls/syscall_n32.tbl @@ -400,3 +400,4 @@ 459 n32 lsm_get_self_attr sys_lsm_get_self_attr 460 n32 lsm_set_self_attr sys_lsm_set_self_attr 461 n32 lsm_list_modules sys_lsm_list_modules +462 n32 mseal sys_mseal diff --git a/arch/mips/kernel/syscalls/syscall_n64.tbl b/arch/mips/kernel/syscalls/syscall_n64.tbl index 532b855df589..1464c6be6eb3 100644 --- a/arch/mips/kernel/syscalls/syscall_n64.tbl +++ b/arch/mips/kernel/syscalls/syscall_n64.tbl @@ -376,3 +376,4 @@ 459 n64 lsm_get_self_attr sys_lsm_get_self_attr 460 n64 lsm_set_self_attr sys_lsm_set_self_attr 461 n64 lsm_list_modules sys_lsm_list_modules +462 n64 mseal sys_mseal diff --git a/arch/mips/kernel/syscalls/syscall_o32.tbl b/arch/mips/kernel/syscalls/syscall_o32.tbl index f45c9530ea93..008ebe60263e 100644 --- a/arch/mips/kernel/syscalls/syscall_o32.tbl +++ b/arch/mips/kernel/syscalls/syscall_o32.tbl @@ -449,3 +449,4 @@ 459 o32 lsm_get_self_attr sys_lsm_get_self_attr 460 o32 lsm_set_self_attr sys_lsm_set_self_attr 461 o32 lsm_list_modules sys_lsm_list_modules +462 o32 mseal sys_mseal diff --git a/arch/parisc/kernel/syscalls/syscall.tbl b/arch/parisc/kernel/syscalls/syscall.tbl index b236a84c4e12..b13c21373974 100644 --- a/arch/parisc/kernel/syscalls/syscall.tbl +++ b/arch/parisc/kernel/syscalls/syscall.tbl @@ -460,3 +460,4 @@ 459 common lsm_get_self_attr sys_lsm_get_self_attr 460 common lsm_set_self_attr sys_lsm_set_self_attr 461 common lsm_list_modules sys_lsm_list_modules +462 common mseal sys_mseal diff --git a/arch/powerpc/kernel/syscalls/syscall.tbl b/arch/powerpc/kernel/syscalls/syscall.tbl index 17173b82ca21..3656f1ca7a21 100644 --- a/arch/powerpc/kernel/syscalls/syscall.tbl +++ b/arch/powerpc/kernel/syscalls/syscall.tbl @@ -548,3 +548,4 @@ 459 common lsm_get_self_attr sys_lsm_get_self_attr 460 common lsm_set_self_attr sys_lsm_set_self_attr 461 common lsm_list_modules sys_lsm_list_modules +462 common mseal sys_mseal diff --git a/arch/s390/kernel/syscalls/syscall.tbl b/arch/s390/kernel/syscalls/syscall.tbl index 095bb86339a7..bd0fee24ad10 100644 --- a/arch/s390/kernel/syscalls/syscall.tbl +++ b/arch/s390/kernel/syscalls/syscall.tbl @@ -464,3 +464,4 @@ 459 common lsm_get_self_attr sys_lsm_get_self_attr sys_lsm_get_self_attr 460 common lsm_set_self_attr sys_lsm_set_self_attr sys_lsm_set_self_attr 461 common lsm_list_modules sys_lsm_list_modules sys_lsm_list_modules +462 common mseal sys_mseal sys_mseal diff --git a/arch/sh/kernel/syscalls/syscall.tbl b/arch/sh/kernel/syscalls/syscall.tbl index 86fe269f0220..bbf83a2db986 100644 --- a/arch/sh/kernel/syscalls/syscall.tbl +++ b/arch/sh/kernel/syscalls/syscall.tbl @@ -464,3 +464,4 @@ 459 common lsm_get_self_attr sys_lsm_get_self_attr 460 common lsm_set_self_attr sys_lsm_set_self_attr 461 common lsm_list_modules sys_lsm_list_modules +462 common mseal sys_mseal diff --git a/arch/sparc/kernel/syscalls/syscall.tbl b/arch/sparc/kernel/syscalls/syscall.tbl index b23d59313589..ac6c281ccfe0 100644 --- a/arch/sparc/kernel/syscalls/syscall.tbl +++ b/arch/sparc/kernel/syscalls/syscall.tbl @@ -507,3 +507,4 @@ 459 common lsm_get_self_attr sys_lsm_get_self_attr 460 common lsm_set_self_attr sys_lsm_set_self_attr 461 common lsm_list_modules sys_lsm_list_modules +462 common mseal sys_mseal diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl index 5f8591ce7f25..7fd1f57ad3d3 100644 --- a/arch/x86/entry/syscalls/syscall_32.tbl +++ b/arch/x86/entry/syscalls/syscall_32.tbl @@ -466,3 +466,4 @@ 459 i386 lsm_get_self_attr sys_lsm_get_self_attr 460 i386 lsm_set_self_attr sys_lsm_set_self_attr 461 i386 lsm_list_modules sys_lsm_list_modules +462 i386 mseal sys_mseal diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl index 7e8d46f4147f..52df0dec70da 100644 --- a/arch/x86/entry/syscalls/syscall_64.tbl +++ b/arch/x86/entry/syscalls/syscall_64.tbl @@ -383,6 +383,7 @@ 459 common lsm_get_self_attr sys_lsm_get_self_attr 460 common lsm_set_self_attr sys_lsm_set_self_attr 461 common lsm_list_modules sys_lsm_list_modules +462 common mseal sys_mseal # # Due to a historical design error, certain syscalls are numbered differently diff --git a/arch/xtensa/kernel/syscalls/syscall.tbl b/arch/xtensa/kernel/syscalls/syscall.tbl index dd116598fb25..67083fc1b2f5 100644 --- a/arch/xtensa/kernel/syscalls/syscall.tbl +++ b/arch/xtensa/kernel/syscalls/syscall.tbl @@ -432,3 +432,4 @@ 459 common lsm_get_self_attr sys_lsm_get_self_attr 460 common lsm_set_self_attr sys_lsm_set_self_attr 461 common lsm_list_modules sys_lsm_list_modules +462 common mseal sys_mseal diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h index 75f00965ab15..d983c48a3b6a 100644 --- a/include/uapi/asm-generic/unistd.h +++ b/include/uapi/asm-generic/unistd.h @@ -842,8 +842,11 @@ __SYSCALL(__NR_lsm_set_self_attr, sys_lsm_set_self_attr) #define __NR_lsm_list_modules 461 __SYSCALL(__NR_lsm_list_modules, sys_lsm_list_modules) +#define __NR_mseal 462 +__SYSCALL(__NR_mseal, sys_mseal) + #undef __NR_syscalls -#define __NR_syscalls 462 +#define __NR_syscalls 463 /* * 32 bit systems traditionally used different diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c index faad00cce269..d7eee421d4bc 100644 --- a/kernel/sys_ni.c +++ b/kernel/sys_ni.c @@ -196,6 +196,7 @@ COND_SYSCALL(migrate_pages); COND_SYSCALL(move_pages); COND_SYSCALL(set_mempolicy_home_node); COND_SYSCALL(cachestat); +COND_SYSCALL(mseal); COND_SYSCALL(perf_event_open); COND_SYSCALL(accept4);