bash.manifest.template 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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 = root
  8. loader.env.HOME = /
  9. loader.debug_type = none
  10. fs.mount.lib1.type = chroot
  11. fs.mount.lib1.path = /lib
  12. fs.mount.lib1.uri = file:$(LIBCDIR)
  13. fs.mount.lib2.type = chroot
  14. fs.mount.lib2.path = /lib/x86_64-linux-gnu
  15. fs.mount.lib2.uri = file:/lib/x86_64-linux-gnu
  16. fs.mount.bin.type = chroot
  17. fs.mount.bin.path = /bin
  18. fs.mount.bin.uri = file:/bin
  19. fs.mount.usr.type = chroot
  20. fs.mount.usr.path = /usr
  21. fs.mount.usr.uri = file:/usr
  22. sys.brk.size = 256K
  23. sgx.trusted_files.ld = file:$(LIBCDIR)/ld-linux-x86-64.so.2
  24. sgx.trusted_files.libc = file:$(LIBCDIR)/libc.so.6
  25. sgx.trusted_files.libdl = file:$(LIBCDIR)/libdl.so.2
  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.cp = file:/bin/cp
  31. sgx.trusted_files.rm = file:/bin/rm
  32. sgx.trusted_files.date = file:/bin/date
  33. sgx.trusted_files.cat = file:/bin/cat
  34. sgx.trusted_children.ls = file:ls.sig
  35. sgx.trusted_children.cp = file:cp.sig
  36. sgx.trusted_children.rm = file:rm.sig
  37. sgx.trusted_children.cat = file:cat.sig
  38. sgx.trusted_children.date = file:date.sig
  39. sgx.allowed_files.test1 = file:bash_test.sh
  40. sgx.allowed_files.test2 = file:OUTPUT
  41. sgx.allowed_files.test3 = file:somefile
  42. sgx.allowed_files.testdir = file:testdir