@@ -27,3 +27,5 @@ sgx.trusted_files.libm = file:$(LIBCDIR)/libm.so.6
sgx.trusted_files.libpthread = file:$(LIBCDIR)/libpthread.so.0
sgx.trusted_files.victim = file:exec_victim
sgx.trusted_children.victim = file:exec_victim.sig
+
+sgx.trusted_files.unix_pipe = file:unix.c
@@ -151,7 +151,7 @@ int client(void)
int main(int argc, char ** argv)
{
char fnamebuf[40];
- strcpy(fnamebuf, argv[0]);
+ strcpy(fnamebuf, "unix");
strcat(fnamebuf, ".c");
fname = fnamebuf;