[Patch] Support for Nuxi CloudABI

Eric Christopher echristo at gmail.com
Fri Mar 6 16:45:39 PST 2015


Could use some unittests for the triple changes. :)

-eric

On Fri, Mar 6, 2015 at 11:24 AM Ed Schouten <ed at nuxi.nl> wrote:

> Hello,
>
> The last couple of months my company (Nuxi) has been working on a
> POSIX-like programming environment built on the concept of
> capability-based security called CloudABI. The intent behind CloudABI
> is that it can be used as a building block for large-scale
> cluster/cloud computing environments.
>
> Applications observe the operating system as a black box that only
> grants them access to just the small number of resources (read: file
> descriptors) that they require for execution. For example, a simple
> web server will only have access to its network connection and its web
> root directory. The idea behind this is that security flaws will only
> allow the single process to be compromised -- not the system the
> process is running on. (Live) migration of processes should also be
> simpler, as the resources they require can be derived easily.
>
> CloudABI uses BSD/MIT-licensed components as much as possible. I have
> released an initial version of the C library under a 2-clause BSD
> license:
>
> https://github.com/NuxiNL/cloudlibc
>
> CloudABI uses a lot of LLVM components, namely LLVM itself, Clang,
> libc++, libc++abi and compiler-rt. For most of these components we had
> to write small patches to get them to work. My plan is to have them
> upstreamed.
>
> Attached are the changes we made to LLVM itself. The changes are trivial:
>
> 1. Add support for "cloudabi" in target triples. Support for this has
> already been added to config.sub/config.guess:
>
> http://git.savannah.gnu.org/gitweb/?p=config.git;a=commit;h=
> 37d9d9d48e410d718ddeced7ffb605111780ea91
>
> 2. Let CloudABI use its own ABI number: ELFOSABI_CLOUDABI (== 17).
> This number has been allocated properly and will be part of the
> upcoming ELF specification draft. If needed, I can provide the
> approval email I received from SCO/XinuOS.
>
> I'll push in this change in a couple of days from now. Once submitted,
> I will also send out patches for the other LLVM components.
>
> Thanks,
> --
> Ed Schouten <ed at nuxi.nl>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150307/4ec27964/attachment.html>


More information about the llvm-commits mailing list