From nobody Thu Feb 17 12:09:14 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 0B8D119C0F6D; Thu, 17 Feb 2022 12:09:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Jztsk6sjLz4rw8; Thu, 17 Feb 2022 12:09:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645099755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wf5po6E6ODix3TzSpnSV49RBeRzt15+h3bpyS+G2rtg=; b=wdwxfCnvl/PAA7zuSI79OQcQwddUFkd+fmK2ES77llEsfxXiKNGN3s+XIiAOvfDQilVCT1 a1kH0ABbefiiFruzwPcuwtE2eeCjBxLUrsGUylxLH73yNQRKcCxXEJsD3BjZDgH0i2+EWc DI0FyGqPttKZZjbwcGTvRBYw/9gDSSrgiIr56HeCC8hmsGyCaxBsxWG/vJTn8WApa9N17f an3fKBjx/a1nNbu3FecGOs7bZyD4X3A8Te8/WMqGrVJzQXiPHFZbDfw+YnGSKVU5YMpT1Q KNnpe8egbQhJ6wuXc5JSRdJy1MxEYOVkrVbWbpioyj8p7V51/YnjQnZvEnE/3Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CC7A91647; Thu, 17 Feb 2022 12:09:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 21HC9EEU014152; Thu, 17 Feb 2022 12:09:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 21HC9EjY014151; Thu, 17 Feb 2022 12:09:14 GMT (envelope-from git) Date: Thu, 17 Feb 2022 12:09:14 GMT Message-Id: <202202171209.21HC9EjY014151@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Edward Tomasz Napierala Subject: git: 2e2337522fcc - stable/13 - linux: add new syscall numbers List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: trasz X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 2e2337522fccc7f7af8b4a11f1ef5e83f8f15a0b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1645099755; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wf5po6E6ODix3TzSpnSV49RBeRzt15+h3bpyS+G2rtg=; b=kUNn8x78qHuG+O22lZEeEXJCNURaz0vgY6bh55Gs9Risvdl8be3KIbFNchGUCM8PV3JZsg oLBEVs8OpKn/xENp2xtfN9B4h75SF+b7hpEm60WrBb+UeTEJE31Au5JRn5xczDCBRPMvym GCou63r1lbPHz7rpb34cwxd/+w1Ogbzqtw+yX28YBOPo1TDLd+R+O0iUnGI6M9rII8iqXP bh0Afv37StpVwBbAIT6rgzeEu82r70iRgEdLtpNiwrdPolQx/hDGUtvjmvA1I+yeyOomTJ lPSrsMT0kLiGvZnXZJRMt7NlmOGjbRkg/f+UFkAjzwydSXYjP8zDn/JTCE1Vww== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1645099755; a=rsa-sha256; cv=none; b=YuPJJv5NT9JCTuvYx9tImdyzAj8G1qJLZarftYd596ASONKQ+84jtdHYCeVuHjKaI4C20x Og8oL50fjUNOjl4mLPWYx/e3iotwi5prReIU7ZrNggCU5xNzC6REsudkBF6oEK1gTJtBXO V7iydRFsbskbCW7G05L9tcJ0cMBket7DYXAEW2D12wzd86YNEUC1uwVUgx/jxa/OMmaqMt 3VGcrvDozcr1INw1REetlXFlY2HdvUKXyp9I8u2SLSvE+gbdvvxSPBlw3dIq82YhNjBpsO 9gv2Ebbl/Vo12S23MR4WSph7j60DVyCG+Y3ezuqAPa2zOw0+pmE2g2dgDzakLA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by trasz: URL: https://cgit.FreeBSD.org/src/commit/?id=2e2337522fccc7f7af8b4a11f1ef5e83f8f15a0b commit 2e2337522fccc7f7af8b4a11f1ef5e83f8f15a0b Author: Edward Tomasz Napierala AuthorDate: 2021-05-28 08:02:10 +0000 Commit: Edward Tomasz Napierala CommitDate: 2022-02-13 21:30:49 +0000 linux: add new syscall numbers Sponsored By: EPSRC Differential Revision: https://reviews.freebsd.org/D30193 (cherry picked from commit 6d926e850d22c5c563571561c446c3c0dec16143) --- sys/amd64/linux/syscalls.master | 47 ++++++++++++++++++++- sys/amd64/linux32/syscalls.master | 47 ++++++++++++++++++++- sys/arm64/linux/syscalls.master | 87 +++++++++++++++++++++++++++++++++++++-- sys/compat/linux/linux_dummy.c | 15 +++++++ sys/i386/linux/syscalls.master | 47 ++++++++++++++++++++- 5 files changed, 237 insertions(+), 6 deletions(-) diff --git a/sys/amd64/linux/syscalls.master b/sys/amd64/linux/syscalls.master index cfa6dab84965..d99aaa019111 100644 --- a/sys/amd64/linux/syscalls.master +++ b/sys/amd64/linux/syscalls.master @@ -2060,6 +2060,51 @@ 427 AUE_NULL STD { int linux_io_uring_register(void); } +428 AUE_NULL STD { + int linux_open_tree(void); + } +429 AUE_NULL STD { + int linux_move_mount(void); + } +430 AUE_NULL STD { + int linux_fsopen(void); + } +431 AUE_NULL STD { + int linux_fsconfig(void); + } +432 AUE_NULL STD { + int linux_fsmount(void); + } +433 AUE_NULL STD { + int linux_fspick(void); + } +434 AUE_NULL STD { + int linux_pidfd_open(void); + } +435 AUE_NULL STD { + int linux_clone3(void); + } +436 AUE_NULL STD { + int linux_close_range(void); + } +437 AUE_NULL STD { + int linux_openat2(void); + } +438 AUE_NULL STD { + int linux_pidfd_getfd(void); + } +439 AUE_NULL STD { + int linux_faccessat2(void); + } +440 AUE_NULL STD { + int linux_process_madvise(void); + } +441 AUE_NULL STD { + int linux_epoll_pwait2(void); + } +442 AUE_NULL STD { + int linux_mount_setattr(void); + } ; please, keep this line at the end. -428 AUE_NULL UNIMPL nosys +443 AUE_NULL UNIMPL nosys ; vim: syntax=off diff --git a/sys/amd64/linux32/syscalls.master b/sys/amd64/linux32/syscalls.master index 9c0cf347d7f4..d7002ed5ac72 100644 --- a/sys/amd64/linux32/syscalls.master +++ b/sys/amd64/linux32/syscalls.master @@ -2418,6 +2418,51 @@ 427 AUE_NULL STD { int linux_io_uring_register(void); } +428 AUE_NULL STD { + int linux_open_tree(void); + } +429 AUE_NULL STD { + int linux_move_mount(void); + } +430 AUE_NULL STD { + int linux_fsopen(void); + } +431 AUE_NULL STD { + int linux_fsconfig(void); + } +432 AUE_NULL STD { + int linux_fsmount(void); + } +433 AUE_NULL STD { + int linux_fspick(void); + } +434 AUE_NULL STD { + int linux_pidfd_open(void); + } +435 AUE_NULL STD { + int linux_clone3(void); + } +436 AUE_NULL STD { + int linux_close_range(void); + } +437 AUE_NULL STD { + int linux_openat2(void); + } +438 AUE_NULL STD { + int linux_pidfd_getfd(void); + } +439 AUE_NULL STD { + int linux_faccessat2(void); + } +440 AUE_NULL STD { + int linux_process_madvise(void); + } +441 AUE_NULL STD { + int linux_epoll_pwait2(void); + } +442 AUE_NULL STD { + int linux_mount_setattr(void); + } ; please, keep this line at the end. -428 AUE_NULL UNIMPL nosys +443 AUE_NULL UNIMPL nosys ; vim: syntax=off diff --git a/sys/arm64/linux/syscalls.master b/sys/arm64/linux/syscalls.master index 8b624d0687b6..c8e7a2da812a 100644 --- a/sys/arm64/linux/syscalls.master +++ b/sys/arm64/linux/syscalls.master @@ -1672,8 +1672,89 @@ l_int pkey ); } - +; Linux 4.11: +291 AUE_NULL STD { + int linux_statx( + l_int dirfd, + const char *pathname, + l_uint flags, + l_uint mask, + void *statxbuf + ); + } +; Linux 4.18: +292 AUE_NULL STD { + int linux_io_pgetevents(void); + } +293 AUE_NULL STD { + int linux_rseq(void); + } +294 AUE_NULL STD { + int linux_kexec_file_load(void); + } +295-423 AUE_NULL UNIMPL unimpl_md_syscall +424 AUE_NULL STD { + int linux_pidfd_send_signal( + l_int pidfd, + l_int sig, + l_siginfo_t *info, + l_uint flags + ); + } +425 AUE_NULL STD { + int linux_io_uring_setup(void); + } +426 AUE_NULL STD { + int linux_io_uring_enter(void); + } +427 AUE_NULL STD { + int linux_io_uring_register(void); + } +428 AUE_NULL STD { + int linux_open_tree(void); + } +429 AUE_NULL STD { + int linux_move_mount(void); + } +430 AUE_NULL STD { + int linux_fsopen(void); + } +431 AUE_NULL STD { + int linux_fsconfig(void); + } +432 AUE_NULL STD { + int linux_fsmount(void); + } +433 AUE_NULL STD { + int linux_fspick(void); + } +434 AUE_NULL STD { + int linux_pidfd_open(void); + } +435 AUE_NULL STD { + int linux_clone3(void); + } +436 AUE_NULL STD { + int linux_close_range(void); + } +437 AUE_NULL STD { + int linux_openat2(void); + } +438 AUE_NULL STD { + int linux_pidfd_getfd(void); + } +439 AUE_NULL STD { + int linux_faccessat2(void); + } +440 AUE_NULL STD { + int linux_process_madvise(void); + } +441 AUE_NULL STD { + int linux_epoll_pwait2(void); + } +442 AUE_NULL STD { + int linux_mount_setattr(void); + } ; please, keep this line at the end. -291 AUE_NULL UNIMPL nosys - +443 AUE_NULL UNIMPL nosys ; vim: syntax=off diff --git a/sys/compat/linux/linux_dummy.c b/sys/compat/linux/linux_dummy.c index ae551da7fb43..5f174d0e4994 100644 --- a/sys/compat/linux/linux_dummy.c +++ b/sys/compat/linux/linux_dummy.c @@ -132,6 +132,21 @@ DUMMY(pwritev2); DUMMY(pkey_mprotect); DUMMY(pkey_alloc); DUMMY(pkey_free); +DUMMY(open_tree); +DUMMY(move_mount); +DUMMY(fsopen); +DUMMY(fsconfig); +DUMMY(fsmount); +DUMMY(fspick); +DUMMY(pidfd_open); +DUMMY(clone3); +DUMMY(close_range); +DUMMY(openat2); +DUMMY(pidfd_getfd); +DUMMY(faccessat2); +DUMMY(process_madvise); +DUMMY(epoll_pwait2); +DUMMY(mount_setattr); #define DUMMY_XATTR(s) \ int \ diff --git a/sys/i386/linux/syscalls.master b/sys/i386/linux/syscalls.master index ae053febd656..e2732d211235 100644 --- a/sys/i386/linux/syscalls.master +++ b/sys/i386/linux/syscalls.master @@ -2436,6 +2436,51 @@ 427 AUE_NULL STD { int linux_io_uring_register(void); } +428 AUE_NULL STD { + int linux_open_tree(void); + } +429 AUE_NULL STD { + int linux_move_mount(void); + } +430 AUE_NULL STD { + int linux_fsopen(void); + } +431 AUE_NULL STD { + int linux_fsconfig(void); + } +432 AUE_NULL STD { + int linux_fsmount(void); + } +433 AUE_NULL STD { + int linux_fspick(void); + } +434 AUE_NULL STD { + int linux_pidfd_open(void); + } +435 AUE_NULL STD { + int linux_clone3(void); + } +436 AUE_NULL STD { + int linux_close_range(void); + } +437 AUE_NULL STD { + int linux_openat2(void); + } +438 AUE_NULL STD { + int linux_pidfd_getfd(void); + } +439 AUE_NULL STD { + int linux_faccessat2(void); + } +440 AUE_NULL STD { + int linux_process_madvise(void); + } +441 AUE_NULL STD { + int linux_epoll_pwait2(void); + } +442 AUE_NULL STD { + int linux_mount_setattr(void); + } ; please, keep this line at the end. -428 AUE_NULL UNIMPL nosys +443 AUE_NULL UNIMPL nosys ; vim: syntax=off