ucells

Run Cells v3 programs on Linux.

Requires a kernel with CONFIG_RUNFD=y, NS_SET_IDMAP, and BPF LSM enabled at boot.

The Cells v3 syscall numbers are intercepted in the supervised program. In particular, slot 473 is cell_create there and runfd in the kernel.

Build and install

The build requires a C23 compiler, Clang with BPF support, bpftool, pkg-config, and libbpf 1.0 or later. Build on x86-64 or AArch64 with exported UAPI headers from the runfd kernel, not the SDK syscall tables:

make -C /path/to/linux headers_install INSTALL_HDR_PATH="$PWD/build/uapi"
make
sudo make install

If the headers are already exported elsewhere, set UAPI_DIR to their include directory when building or installing.

Usage

sudo ucells -- cat /proc/sys/user/max_cell_id_blocks

License

Licensed under GPL-2.0-only.