memcached.manifest.template 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. #!$(PAL)
  2. loader.preload = file:$(SHIMPATH)
  3. loader.exec = file:memcached
  4. loader.env.LD_LIBRARY_PATH = /lib:/usr/lib:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu
  5. loader.debug_type = none
  6. fs.mount.lib.type = chroot
  7. fs.mount.lib.path = /lib
  8. fs.mount.lib.uri = file:$(LIBCDIR)
  9. fs.mount.lib2.type = chroot
  10. fs.mount.lib2.path = /lib/x86_64-linux-gnu
  11. fs.mount.lib2.uri = file:/lib/x86_64-linux-gnu
  12. fs.mount.usr.type = chroot
  13. fs.mount.usr.path = /usr
  14. fs.mount.usr.uri = file:/usr
  15. fs.mount.passwd.type = chroot
  16. fs.mount.passwd.path = /etc/passwd
  17. fs.mount.passwd.uri = file:/etc/passwd
  18. fs.mount.shadow.type = chroot
  19. fs.mount.shadow.path = /etc/shadow
  20. fs.mount.shadow.uri = file:/etc/shadow
  21. fs.mount.tmp.type = chroot
  22. fs.mount.tmp.path = /tmp
  23. fs.mount.tmp.uri = file:/tmp
  24. # allow to bind on port for listening
  25. net.allow_bind.1 = $(HOST):$(PORT)
  26. sys.stack.size = 1m
  27. sys.brk.size = 64M
  28. glibc.heap_size = 16M
  29. sgx.enclave_size = $(MEMSIZE)
  30. sgx.thread_num = $(THREADNUM)
  31. sgx.trusted_files.ld = file:$(LIBCDIR)/ld-linux-x86-64.so.2
  32. sgx.trusted_files.libc = file:$(LIBCDIR)/libc.so.6
  33. sgx.trusted_files.libdl = file:$(LIBCDIR)/libdl.so.2
  34. sgx.trusted_files.libm = file:$(LIBCDIR)/libm.so.6
  35. sgx.trusted_files.libpthread = file:$(LIBCDIR)/libpthread.so.0
  36. sgx.trusted_files.libnss1 = file:/lib/x86_64-linux-gnu/libnss_compat.so.2
  37. sgx.trusted_files.libnss2 = file:/lib/x86_64-linux-gnu/libnss_files.so.2
  38. sgx.trusted_files.libnss3 = file:/lib/x86_64-linux-gnu/libnss_nis.so.2
  39. sgx.trusted_files.libnsl = file:/lib/x86_64-linux-gnu/libnsl.so.1
  40. sgx.trusted_files.libevent = file:/usr/lib/x86_64-linux-gnu/libevent-2.0.so.5
  41. sgx.allowed_files.passwd = file:/etc/passwd
  42. sgx.allowed_files.shadow = file:/etc/shadow