[LibOS/test/native] Add manifest template to make exec_fork and script work + fix tcp test

`tcp` test reads tcp.c. This patch adds it to manifest.template to make the test work.
This commit is contained in:
Isaku Yamahata
2019-04-24 17:37:31 +02:00
committed by Michał Kowalczyk
parent 6b17075687
commit 0fe0e028d8
3 changed files with 52 additions and 0 deletions
@@ -0,0 +1,24 @@
loader.preload = file:$(SHIMPATH)
loader.env.LD_LIBRARY_PATH = /lib
loader.debug_type = inline
loader.syscall_symbol = syscalldb
fs.mount.lib.type = chroot
fs.mount.lib.path = /lib
fs.mount.lib.uri = file:$(LIBCDIR)
fs.mount.bin.type = chroot
fs.mount.bin.path = /bin
fs.mount.bin.uri = file:/bin
sys.brk.size = 32M
sys.stack.size = 4M
sgx.trusted_files.ld = file:$(LIBCDIR)/ld-linux-x86-64.so.2
sgx.trusted_files.libc = file:$(LIBCDIR)/libc.so.6
sgx.trusted_files.libdl = file:$(LIBCDIR)/libdl.so.2
sgx.trusted_files.libm = file:$(LIBCDIR)/libm.so.6
sgx.trusted_files.libpthread = file:$(LIBCDIR)/libpthread.so.0
sgx.trusted_files.fork = file:fork
sgx.trusted_children.fork = file:fork.sig
+1
View File
@@ -27,3 +27,4 @@ sgx.trusted_files.libm = file:$(LIBCDIR)/libm.so.6
sgx.trusted_files.libpthread = file:$(LIBCDIR)/libpthread.so.0
sgx.trusted_files.unix_pipe = file:unix.c
sgx.trusted_files.tcp_c = file:tcp.c
@@ -0,0 +1,27 @@
loader.preload = file:$(SHIMPATH)
loader.env.LD_LIBRARY_PATH = /lib
loader.debug_type = inline
loader.syscall_symbol = syscalldb
fs.mount.lib.type = chroot
fs.mount.lib.path = /lib
fs.mount.lib.uri = file:$(LIBCDIR)
fs.mount.bin.type = chroot
fs.mount.bin.path = /bin
fs.mount.bin.uri = file:/bin
sys.brk.size = 32M
sys.stack.size = 4M
sgx.trusted_files.ld = file:$(LIBCDIR)/ld-linux-x86-64.so.2
sgx.trusted_files.libc = file:$(LIBCDIR)/libc.so.6
sgx.trusted_files.libdl = file:$(LIBCDIR)/libdl.so.2
sgx.trusted_files.libm = file:$(LIBCDIR)/libm.so.6
sgx.trusted_files.libpthread = file:$(LIBCDIR)/libpthread.so.0
sgx.trusted_files.script1_sh = file:script1.sh
sgx.trusted_files.script2_sh = file:script2.sh
sgx.trusted_files.script3_sh = file:script3.sh
sgx.trusted_files.helloworld = file:helloworld
sgx.trusted_children.helloworld = file:helloworld.sig