GithubHelp home page GithubHelp logo

lsds / sgx-lkl-musl Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 9.0 5.1 MB

Modified musl libc for SGX-LKL

License: Other

Makefile 0.35% C++ 3.14% C 91.14% Objective-C 0.06% Assembly 4.75% Awk 0.43% Shell 0.12% sed 0.02%
musl sgx sgx-lkl

sgx-lkl-musl's People

Contributors

alexdowad avatar amonakov avatar armcc avatar awilfox avatar cpriebe avatar davidchisnall avatar doughdemon avatar dtzwill avatar fabled avatar gustedt avatar hauke avatar jlama avatar jow- avatar jxyang avatar kaniini avatar kraj avatar michaelforney avatar midipix avatar ncopa avatar niklata avatar nto avatar nwilson avatar pattop avatar pikhq avatar prp avatar rofl0r avatar seantallen avatar shizmob avatar smaeul avatar yeryomin avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sgx-lkl-musl's Issues

check for read/readv if file descriptor is actually a terminal

There is a shortcut, which delegates read/readv of the file descriptor 0 (usually stdin) to a host read/readv:

return (long)host_syscall_SYS_read((int)a1, (char*)a2, (size_t)a3);

This becomes a problem if some program has used dup2 to alter the file descriptor association. This is the case for dd. The fix is not so obvious but maybe there is a way to check if fd 0 is actually the host tty.

auxv entries

@davidchisnall @vtikoo: we have an SGX-LKL-specific entry for AT_HW_MODE in elf.h. I've started putting the attestation evidence into auxv as well, but I'm wondering whether this is the right place for these definitions. It looks like I can't see them from my test program; is the plan to make them available via #include <elf.h> (and my include paths are wrong) or should this go elsewhere?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.