How amanieusystems/tango32-module works
Tango32 is a Linux kernel module that lets a 64-bit process, including the Tango translator’s translated 32-bit programs, invoke compatibility operations unavailable entirely in userspace. The workflow is ioctl requests on /dev/tango32, dispatched to handlers for process memory metadata and selected 32-bit syscall behaviors. The public ABI defines versioning and request structures; implementation details are sampled only partially, so the graph shows the handler branches visible in the excerpts and documented ABI capabilities without inferring their internal calls.
Main entry points: tango32.c Ioctl dispatcher · tango32.h Ioctl ABI
Components 9
Ioctl interface
- Ioctl dispatcher
tango32.c - Ioctl ABI
tango32.h
Compatibility handlers
- Memory metadata
tango32.c - Compat file ioctl
tango32.c - Robust list
tango32.c - Directory entries
tango32.c - Compat seek
tango32.c
Other components
- 64-bit process
- /dev/tango32
Connections 8
- 64-bit process → /dev/tango32: issues ioctls
README.md - /dev/tango32 → Ioctl dispatcher: dispatches
README.md - Ioctl dispatcher → Ioctl ABI: uses definitions
tango32.c - Ioctl dispatcher → Memory metadata: routes requests
tango32.c - Ioctl dispatcher → Compat file ioctl: routes requests
tango32.c - Ioctl dispatcher → Robust list: routes requests
tango32.c - Ioctl dispatcher → Directory entries: routes requests
tango32.c - Ioctl dispatcher → Compat seek: routes requests
tango32.c