Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial set of patches for supporting CloudABI #16612

Closed
wants to merge 3 commits into from

Commits on Oct 30, 2017

  1. build: Add CloudABI as a POSIX-like runtime environment.

    CloudABI is a compact POSIX-like runtime that makes use of
    capability-based security. More details:
    
    	https://github.com/NuxiNL/cloudlibc
    EdSchouten committed Oct 30, 2017
    Configuration menu
    Copy the full SHA
    3a6b130 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2017

  1. src: Disable use of pwd.h, grp.h and get*uid() on CloudABI.

    As CloudABI is intended to run applications in cluster contexts (e.g.,
    on Kubernetes), they are oblivious of UNIX credentials. Extend the
    existing preprocessor checks to disable any use of these interfaces,
    just like on Windows, Android, etc.
    EdSchouten committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    c715007 View commit details
    Browse the repository at this point in the history
  2. src: Explicitly include <netdb.h>.

    cares_wrap.cc calls into functions like getnameinfo() and getaddrinfo().
    These functions tend to be available implicitly through <uv.h>, but we'd
    better still include this header explicitly.
    
    On CloudABI, we make use of a custom implementation of libuv that does
    not implicitly include header files like <netdb.h>.
    EdSchouten committed Nov 1, 2017
    Configuration menu
    Copy the full SHA
    dc2ae93 View commit details
    Browse the repository at this point in the history