From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796441315; b=UASEWS7C/NeLfVytZKqWit1XBHRi4ABEbRT4S9AFaBzWfhK7r5xw1NEQf91vQChYCx21 iB9LusTUggv2lx6uKEV9tE7q9ToSnlY3cr5we9ITeaTO06EqqaxeHPWuL59oLcrZfTlUV mSQOAhP4PzEvsP6z29ZroXaY3q8aut+r3d/6z2ZKrSlMRXBE4KSy2JPci1ZdvHt9v1lvH MiRzm24cxGrMsQKpQtwgKJiXPY/mDvjL5CB+bfRaW9knZuOfkQx/eBRGcRqN/1gwuqojL 2NINhtf99q9Q7P0UK6JGLqixww7J8wsGy8hwTreRUb7HbqmfiTGa8ddn6jfseplXFqw== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796441315; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: In-Reply-To:References:MIME-Version:Content-Transfer-Encoding; bh=Sq+AI/3M8qVawkNWvYSiTZIe+Sown3GaU1lyYnn3Jgo=; b=aUMI40KAwZ0+n/ZByAnu8w9olXm6Jgp38XAHQxLafVPCzkLuMTwQO6vgvZfG9t4PTxQq eYLxB+QnbLIoS1LadAvUxVS3lWhnIKvaWrUW/VUeBFYaN/YJ4igTbgdXmBnUJXlrqzS9s 67lGLonItN+MbwNle9opGQY2PMaSjRJ83UogHTnbPoknu3GrfFywqx3GcWJuSrB90AOhj p0EUCQw/krz+8GWlCDOd6N/1JH7e5YRK1c6+Ikdb/GVptzVvnLUzaW0qlNQVw9OwPRp5s c2nXBjFK+6WrLG2kYnhLf2Q44SpzKS3K7vhNNJnBKclSSD4hHuZkfEEnG8BV82jZ1XA== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Aqd0llBR; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with UTF8SMTPS id 613F7606C2BD; Sat, 5 Dec 2026 03:28:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20260515 header.b=Aqd0llBR Received: by smtp.kernel.org (Postfix) with UTF8SMTPSA id 367551F00A25; Sat, 5 Dec 2026 03:28:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1796441315; bh=Sq+AI/3M8qVawkNWvYSiTZIe+Sown3GaU1lyYnn3Jgo=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Aqd0llBRYA2yhK7m1rYOebQAsH2FMZocHrgCE11CRCuB0j/f8vImS7PpDZz0Byr5g AXXkXfzcB9ePZWuZYwjhUTAHhMyBm7MucugPsNPpFkyOJ6ri2CMvbpvizyoi8EX65n Jd+3AuLHhxUfd3or7oZf5W+kLzba1yqaNafW7fq3DmY50iFysZvUPeChL9S6Qpf/Xs d2+1P4ojuAioTJMsvPWRNIc6NGqcjIE2hzIwWNL5tbUoiJYM6ShJ5LtWu8QwmsNw0k wSYfaYVX1/Tx2ML35x/dB7b8MkNNsSRYuRB1hl1NnXrTc6Na6B9azyeQZK2zlepIvI UiYqHCemHbECw== From: Jarkko Sakkinen To: fsdevel@vger.kernel.org Cc: Jarkko Sakkinen , bpf@vger.kernel.org, containers@lists.linux.dev, linux-api@vger.kernel.org, linux-arch@vger.kernel.org, linux-doc@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-integrity@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-mm@kvack.org, linux-security-module@vger.kernel.org, Aleksa Sarai , Alexander Mikhalitsyn , Alexander Viro , Alexei Starovoitov , Andrew Morton , Andrii Nakryiko , Andy Lutomirski , Arnd Bergmann , Baolin Wang , Ben Segall , Christian Brauner , Daniel Borkmann , David Hildenbrand , David Howells , David Woodhouse , Davidlohr Bueso , Dietmar Eggemann , Eduard Zingerman , Emil Tsalapatis , Eric Biggers , Georgia Garcia , Giuseppe Scrivano , =?UTF-8?q?G=C3=BCnther=20Noack?= , Hugh Dickins , Ihor Solodrai , Ingo Molnar , James Morris , Jan Kara , Jason Gunthorpe , Jeff Layton , Jiri Olsa , John Johansen , Jonathan Corbet , Josef Bacik , Juri Lelli , Kees Cook , K Prateek Nayak , KP Singh , Kumar Kartikeya Dwivedi , Lennart Poettering , "Liam R. Howlett" , Manfred Spraul , Martin KaFai Lau , Matt Bobrowski , Mel Gorman , Michal Hocko , =?UTF-8?q?Micka=C3=ABl=20Sala=C3=BCn?= , Mike Rapoport , Neal Gompa , Oleg Nesterov , Paul Moore , Pavel Tikhomirov , Peter Zijlstra , Randy Dunlap , "Serge E. Hallyn" , Serge Hallyn , Shuah Khan , Song Liu , Stephen Smalley , Steven Rostedt , Valentin Schneider , Vincent Guittot , Yonghong Song , Zygmunt Krynicki Subject: [RFC PATCH v10 27/28] docs: Include runfd kernel-doc in the userspace API manual Date: Sat, 5 Dec 2026 05:26:32 +0200 Message-ID: <20261205032633.1702772-28-jarkko@kernel.org> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20261205032633.1702772-1-jarkko@kernel.org> References: <20261205032633.1702772-1-jarkko@kernel.org> X-Mailing-List: linux-api@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add a page that pulls in existing kernel-doc and link it from the userspace API index. Signed-off-by: Jarkko Sakkinen --- Documentation/userspace-api/index.rst | 1 + Documentation/userspace-api/runfd.rst | 77 +++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 Documentation/userspace-api/runfd.rst diff --git a/Documentation/userspace-api/index.rst b/Documentation/userspace-api/index.rst index a68b1bea57a8..01972f764ffc 100644 --- a/Documentation/userspace-api/index.rst +++ b/Documentation/userspace-api/index.rst @@ -17,6 +17,7 @@ System calls :maxdepth: 1 unshare + runfd futex2 ebpf/index ioctl/index diff --git a/Documentation/userspace-api/runfd.rst b/Documentation/userspace-api/runfd.rst new file mode 100644 index 000000000000..db6f2631d97a --- /dev/null +++ b/Documentation/userspace-api/runfd.rst @@ -0,0 +1,77 @@ +.. SPDX-License-Identifier: GPL-2.0 + +=========== +runfd uAPI +=========== + +Overview +======== + +.. kernel-doc:: kernel/runfd.c + :doc: Overview + +Lifecycle +========= + +.. kernel-doc:: include/linux/runfd.h + :identifiers: runfd_state + +Flags +===== + +.. kernel-doc:: include/uapi/linux/runfd.h + :identifiers: runfd_flags + +Ioctls +====== + +.. kernel-doc:: include/uapi/linux/runfd.h + :doc: RUNFD_GET_NSFD + +.. kernel-doc:: include/uapi/linux/runfd.h + :doc: RUNFD_SHARE_NSFD + +System calls +============ + +.. kernel-doc:: kernel/runfd.c + :identifiers: sys_runfd + +Process creation +================ + +.. kernel-doc:: kernel/runfd.c + :doc: CLONE_INTO_RUN + +Process waiting +=============== + +.. kernel-doc:: kernel/runfd.c + :doc: P_RUNFD + +Signal delivery +=============== + +.. kernel-doc:: kernel/runfd.c + :doc: pidfd_send_signal + +Filesystem configuration +======================== + +.. kernel-doc:: fs/fsopen.c + :doc: FSCONFIG_SET_RUN + +Mount tree installation +======================= + +.. kernel-doc:: fs/namespace.c + :doc: MOVE_MOUNT_T_MNTNS + +User namespace ID mapping +========================= + +.. kernel-doc:: include/uapi/linux/nsfs.h + :identifiers: userns_idmap_extent userns_flags userns_idmap + +.. kernel-doc:: kernel/user_namespace.c + :identifiers: userns_set_idmap -- 2.47.3