ucontext implementation featuring glibc-compatible ABI
 
 
 
 
Go to file
William Pitcock 3f63152bbc build: add -Iarch/${ARCH} to CFLAGS 2018-01-31 20:37:00 +00:00
arch arch: arm: add armv6+ port 2018-01-31 04:11:46 +00:00
.gitignore build: add libucontext test program 2018-01-30 03:53:04 +00:00
LICENSE don't bother with glibc stuff afterall, kernel defines ABI to use 2018-01-29 21:50:49 +00:00
Makefile build: add -Iarch/${ARCH} to CFLAGS 2018-01-31 20:37:00 +00:00
README.md README: we support ARM 2018-01-31 04:13:42 +00:00
test_libucontext.c build: add libucontext test program 2018-01-30 03:53:04 +00:00

README.md

libucontext

libucontext is a library which provides the ucontext.h C API. Unlike other implementations, it faithfully follows the kernel process ABI when doing context swaps.

Notably, when combined with gcompat, it provides a fully compatible implementation of the ucontext functions that are ABI compatible with glibc.

supported architectures

Adding support for new architectures is easy, but you need to know assembly language to do it.

Right now these archs are supported:

  • x86_64
  • armv6+ (arm)