docs: rework the userspace-api top page

Add some subsection headings and reorder entries so that the page makes a
bit more sense.  With luck, adding some ordering will also reduce merge
conflicts due to everybody adding new entries at the end.

Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/87ttn5m2q1.fsf@meer.lwn.net
This commit is contained in:
Jonathan Corbet 2024-01-22 15:18:30 -07:00
parent 0c17bb5e36
commit 8722435d32

View file

@ -9,31 +9,55 @@ While much of the kernel's user-space API is documented elsewhere
also be found in the kernel tree itself. This manual is intended to be the also be found in the kernel tree itself. This manual is intended to be the
place where this information is gathered. place where this information is gathered.
System calls
============
.. toctree:: .. toctree::
:caption: Table of contents :maxdepth: 1
:maxdepth: 2
unshare
futex2
ebpf/index
ioctl/index
Security-related interfaces
===========================
.. toctree::
:maxdepth: 1
no_new_privs no_new_privs
seccomp_filter seccomp_filter
landlock landlock
unshare lsm
spec_ctrl spec_ctrl
tee
Devices and I/O
===============
.. toctree::
:maxdepth: 1
accelerators/ocxl accelerators/ocxl
dma-buf-alloc-exchange dma-buf-alloc-exchange
ebpf/index
ELF
ioctl/index
iommu iommu
iommufd iommufd
media/index media/index
dcdbas
vduse
isapnp
Everything else
===============
.. toctree::
:maxdepth: 1
ELF
netlink/index netlink/index
sysfs-platform_profile sysfs-platform_profile
vduse
futex2
lsm
tee
isapnp
dcdbas
.. only:: subproject and html .. only:: subproject and html