cloudabi (4)
Leading comments
Copyright (c) 2015 Nuxi, https://nuxi.nl/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials ...
NAME
cloudabi cloudabi64 - CloudABI supportSYNOPSIS
Support for 64-bit CloudABI executables can be compiled into the kernel by adding this line to the kernel configuration file:options COMPAT_CLOUDABI64
CloudABI support can also be loaded at boot time from loader.conf5:
cloudabi_load="YES" cloudabi64_load="YES"
DESCRIPTION
CloudABI is a POSIX-like pure capability-based runtime environment, similar to capsicum(4). It can be used to develop applications that are cross-platform, easier to test, and hardened against security exploits.Support for CloudABI on Fx consists of two separate kernel modules. The cloudabi kernel module implements all of the system calls that do not depend on data structures that differ between architectures.
The cloudabi64 kernel module provides implementations of all of the machine-dependent system calls. It assumes that pointers stored in data structures provided as system call arguments are 64 bits in size. It also provides the image activator that loads and starts 64-bit ELF executables.
Though the cloudabi module can be loaded on any architecture supported by Fx , the cloudabi64 module is only available for amd64 and arm64.
A full cross compilation toolchain for CloudABI is available in the devel/cloudabi-toolchain port.
The sysutils/cloudabi-utils port provides the cloudabi-run1 utility. cloudabi-run1 can be used to safely execute CloudABI processes with access to a restricted set of resources.
SEE ALSO
cloudabi-run1, capsicum(4), linux(4), elf(5)cloudlibc on GitHub: github.com/NuxiNL/cloudlibc
The CloudABI Ports Collection on GitHub: github.com/NuxiNL/cloudabi-ports