pub/scm/libs/librseq/librseq.git  about / heads / tags
Restartable Sequences Library
$ git log --pretty=format:'%h %s (%cs)%d'
2ca6d37 Add 'rseq-status' cli tool (2026-04-01)
	(HEAD -> master)
ee2bb12 Add 'slice_control' feature to the ABI (2026-04-01)
e8f14fb Remove support for 'standalone' rseq registration (2026-04-01)
6aa1880 Improve syscall errors test (2026-04-01)
97b21ae Move long running mempool tests at the end (2026-04-01)
f220432 Remove fork tests (2026-04-01)
b67e281 Add missing license file for Autoconf-exception-2.0 (2026-02-27)
cbdabc4 README: Add basics on running the test suite (2025-08-20)
8523d3d tests: Merge 'unit' tests in the base test suite (2025-08-20)
5393faa m4: update the pprint macro (2025-06-09)
...

$ git cat-file blob HEAD:README.md
<!--
SPDX-FileCopyrightText: 2022 EfficiOS Inc.

SPDX-License-Identifier: MIT
-->

Library for Restartable Sequences
=================================

by Mathieu Desnoyers


Required and optional dependencies
----------------------------------

The following dependencies are optional:

  - [libnuma](https://github.com/numactl/numactl)
    To build without this dependency run `./configure` with `--disable-numa`
  - [libseccomp](https://github.com/seccomp/libseccomp/)

Building
--------

### Prerequisites

This source tree is based on the Autotools suite from GNU to simplify
portability. Here are some things you should have on your system in order to
compile the Git repository tree:

  - [GNU Autotools](http://www.gnu.org/software/autoconf/)
    (**Automake >= 1.12**, **Autoconf >= 2.69**,
    **Autoheader >= 2.69**;
    make sure your system-wide `automake` points to a recent version!)
  - **[GNU Libtool](https://www.gnu.org/software/libtool/) >= 2.2**
  - **[GNU Make](https://www.gnu.org/software/make/)**
  - **[pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config)**
  - **Linux kernel headers** from kernel **>= 4.18** to build on x86, arm,
    ppc, and mips and from kernel **>= 4.19** to build on s390.


### Building steps

If you get the tree from the Git repository, you will need to run

    ./bootstrap

in its root. It calls all the GNU tools needed to prepare the tree
configuration.

To build and install, do:

    ./configure
    make
    sudo make install
    sudo ldconfig

**Note:** the `configure` script sets `/usr/local` as the default prefix for
files it installs. However, this path is not part of most distributions'
default library path, which will cause builds depending on `librseq`
to fail unless `-L/usr/local/lib` is added to `LDFLAGS`. You may provide a
custom prefix to `configure` by using the `--prefix` switch
(e.g., `--prefix=/usr`).


### Building against a local version of the kernel headers

    cd /path/to/kernel/sources
    make headers_install
    cd /path/to/librseq
    CPPFLAGS=-I/path/to/kernel/sources/usr/include ./configure
    make
    sudo make install
    sudo ldconfig

### Running the test suite

To run the test suite after a successful build:

    make check

The default list of tests to run can be overriden by the TESTS variable:

    make check TESTS="run_unregistered_test.tap"

# heads (aka `branches'):
$ git for-each-ref --sort=-creatordate refs/heads \
	--format='%(HEAD) %(refname:short) %(subject) (%(creatordate:short))'
* master       Add 'rseq-status' cli tool (2026-04-01)
  rseq-percpu-alloc rseq percpu alloc: Add percpu pool set (2024-02-29)
  pseudo-code  Rename RSEQ_ASM_DEFINE_CMPFAIL to RSEQ_ASM_DEFINE_TEARDOWN (2024-02-25)

# tags:
$ git for-each-ref --sort=-creatordate refs/tags \
	--format='%(refname:short) %(subject) (%(creatordate:short))'
# no tags, yet...

# associated public inboxes:
# (number on the left is used for dev purposes)
         19 lkml
         12 linux-kselftest
         11 linux-api
          9 ltp
          8 stable
          6 qemu-devel
          6 xen-devel
          6 lttng-dev
          5 linux-input
          5 linux-arm-kernel
          5 linux-bluetooth
          4 linux-devicetree
          4 linux-mm
          4 linux-btrfs
          4 linux-iio
          4 dpdk-dev
          4 kvm
          4 linux-fbdev
          4 buildroot
          4 openembedded-core
          3 linux-wireless
          3 linux-mtd
          3 linux-block
          3 linux-riscv
          3 linux-xfs
          3 bpf
          3 linux-mediatek
          3 linux-crypto
          3 linux-efi
          3 netfilter-devel
          3 linux-fsdevel
          3 linux-arm-msm
          3 linux-amlogic
          3 linux-erofs
          3 linux-iommu
          3 netdev
          3 linux-media
          3 linux-snps-arc
          3 linux-mips
          3 fstests
          3 linux-pm
          3 linux-hwmon
          3 linux-scsi
          3 kvmarm
          3 linux-usb
          3 linux-renesas-soc
          3 selinux
          3 linux-clk
          3 linux-gpio
          3 dmaengine
          3 linux-rdma
          3 linux-security-module
          3 linux-pci
          3 linuxppc-dev
          3 linux-ide
          3 linux-serial
          3 linux-watchdog
          3 linux-doc
          3 git
          3 linux-csky
          3 linux-mmc
          3 amd-gfx
          3 dri-devel
          3 intel-gfx
          3 cip-dev
          3 linux-i2c
          3 linux-pwm
          3 linux-tegra
          3 virtualization
          3 linux-kbuild
          3 linux-arch
          3 linux-rockchip
          3 platform-driver-x86
          3 openbmc
          3 linux-hardening
          3 linux-cxl
          3 linux-perf-users
          3 soc
          3 rust-for-linux
          3 nouveau
          3 linux-phy
          3 linux-s390
          3 sparclinux
          3 linux-staging
          3 linux-sunxi
          3 mptcp
          3 nvdimm
          3 u-boot
          3 llvm
          3 yocto-meta-arm
          3 openembedded-devel
          3 linux-patches
          3 yocto-meta-virtualization
          3 yocto-meta-arago
          3 xenomai
          3 loongarch
          3 imx
          3 b4-sent
          3 linux-trace-kernel
          3 intel-xe
          3 linux-um
          3 qemu-riscv
          3 grub-devel
          3 linux-sound
          3 igt-dev
          2 linux-samsung-soc
          2 linux-nvme
          2 linux-nfs
          2 linux-acpi
          2 linux-integrity
          2 linux-edac
          2 linux-cifs
          2 linux-rtc
          2 alsa-devel
          2 linux-parisc
          2 linux-ext4
          2 linux-leds
          2 linux-modules
          2 linux-rt-users
          2 linux-hyperv
          2 workflows
          2 rcu
          2 linux-m68k
          2 linux-i3c
          2 wireguard
          2 backports
          2 linux-kernel-mentees
          2 linux-man
          2 linux-unionfs
          2 linux-firmware
          2 linux-omap
          2 linux-spi
          2 linux-remoteproc
          2 linux-sparse
          2 linux-fpga
          2 ceph-devel
          2 linux-can
          2 linux-raid
          2 phone-devel
          2 dash
          2 dm-devel
          2 keyrings
          2 linux-sh
          2 kernel-janitors
          2 linux-coco
          2 linux-bcachefs
          2 fio
          2 iwd
          2 ofono
          2 yocto
          2 yocto-docs
          2 bitbake-devel
          2 chrome-platform
          2 yocto-meta-ti
          2 damon
          2 openrisc
          2 intel-wired-lan
          2 kexec
          2 oe-kbuild-all
          2 batman
          2 v9fs
          2 kdevops
          2 devicetree-compiler
          2 linux-alpha
          2 linux-hexagon
          2 u-boot-amlogic
          2 perfbook
          2 dtrace
          2 yocto-patches
          2 barebox
          2 linux-aspeed
          1 linux-fscrypt
          1 cocci
          1 live-patching
          1 linux-nvdimm
          1 driverdev-devel
          1 kernel-hardening
          1 linux-next
          1 linux-f2fs-devel
          1 kernelnewbies
          1 linux-sgx
          1 linux-trace-devel
          1 util-linux
          1 linux-spdx
          1 linux-wpan
          1 ksummit-discuss
          1 io-uring
          1 tpmdd-devel
          1 linux-audit
          1 linux-dash
          1 linux-bcache
          1 mm-commits
          1 containers
          1 xdp-newbies
          1 linux-sctp
          1 target-devel
          1 lustre-devel
          1 ocfs2-devel
          1 ath10k
          1 ath11k
          1 tools
          1 regressions
          1 ksummit
          1 b43-dev
          1 linux-nfc
          1 ath9k-devel
          1 ntfs3
          1 linux-ppp
          1 ell
          1 yocto-meta-freescale
          1 yocto-toaster
          1 ntb
          1 outreachy
          1 asahi
          1 ath12k
          1 oe-linux-nfc
          1 oe-chipsec
          1 fsverity
          1 virtio-dev
          1 virtio-comment
          1 ecryptfs
          1 poky
          1 linux-ia64
          1 cluster-devel
          1 kbd
          1 autofs
          1 cpufreq
          1 dccp
          1 cgroups
          1 devicetree-spec
          1 initramfs
          1 kvm-ppc
          1 hail-devel
          1 kvm-ia64
          1 linux-8086
          1 kernel-testers
          1 linux-btrace
          1 linux-embedded
          1 linux-hams
          1 linux-hotplug
          1 linux-laptop
          1 trinity
          1 reiserfs-devel
          1 linux-metag
          1 linux-x25
          1 linux-nilfs
          1 lvs-devel
          1 netfilter
          1 linux-oxnas
          1 lm-sensors
          1 lvm-devel
          1 acpica-devel
          1 virtio-fs
          1 smatch
          1 x86-cpuid
          1 fuego
          1 wireless-regdb
          1 netfs
          1 powertop
          1 lkmm
          1 kvm-riscv
          1 sophgo
          1 qemu-rust
          1 qemu-arm

git clone https://yhbt.net/lore/pub/scm/libs/librseq/librseq.git