bash.manifest.template 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. #!$(PAL)
  2. loader.preload = file:$(SHIMPATH)
  3. loader.exec = file:/bin/bash
  4. loader.execname = /bin/bash
  5. loader.env.LD_LIBRARY_PATH = /lib:/lib/x86_64-linux-gnu:/usr/lib:/usr/lib/x86_64-linux-gnu
  6. loader.env.PATH = /bin:/usr/bin
  7. loader.env.USERNAME =
  8. loader.env.HOME =
  9. loader.env.PWD =
  10. loader.debug_type = none
  11. fs.mount.lib1.type = chroot
  12. fs.mount.lib1.path = /lib
  13. fs.mount.lib1.uri = file:$(LIBCDIR)
  14. fs.mount.lib2.type = chroot
  15. fs.mount.lib2.path = /lib/x86_64-linux-gnu
  16. fs.mount.lib2.uri = file:/lib/x86_64-linux-gnu
  17. fs.mount.bin.type = chroot
  18. fs.mount.bin.path = /bin
  19. fs.mount.bin.uri = file:/bin
  20. fs.mount.usr.type = chroot
  21. fs.mount.usr.path = /usr
  22. fs.mount.usr.uri = file:/usr
  23. sys.brk.size = 256K
  24. sgx.trusted_files.ld = file:$(LIBCDIR)/ld-linux-x86-64.so.2
  25. sgx.trusted_files.libc = file:$(LIBCDIR)/libc.so.6
  26. sgx.trusted_files.libm = file:$(LIBCDIR)/libm.so.6
  27. sgx.trusted_files.libpthread = file:$(LIBCDIR)/libpthread.so.0
  28. sgx.trusted_files.libtinfo = file:/lib/x86_64-linux-gnu/libtinfo.so.5
  29. sgx.trusted_files.ls = file:/bin/ls
  30. sgx.trusted_files.rm = file:/bin/cp
  31. sgx.trusted_files.rm = file:/bin/rm
  32. sgx.trusted_children.ls = file:ls.sig
  33. sgx.trusted_children.cp = file:cp.sig
  34. sgx.trusted_children.rm = file:rm.sig
  35. sgx.allowed_files.test1 = file:bash_test.sh
  36. sgx.allowed_files.test2 = file:OUTPUT