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