Giter VIP home page Giter VIP logo

sgx-lkl's People

Contributors

agowdamsft avatar antoniond avatar ashokchandran avatar bodzhang avatar cpriebe avatar davidchisnall avatar francis-liu avatar hukoyu avatar jhand2 avatar jxyang avatar kengordon avatar lanhaoxiang avatar lead4good avatar letmaik avatar levex avatar mic92 avatar mikbras avatar paulcallen avatar praenubilus avatar prp avatar rsrinivas01 avatar salsal97 avatar seantallen avatar sf3518 avatar shaikshavali1 avatar someone235 avatar triston996 avatar vamsikrishna935 avatar vtikoo avatar wintersteiger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sgx-lkl's Issues

TLS support in HW mode

I am trying to run nodejs via

SGXLKL_HEAP=900M SGXLKL_KEY=/root/sgx-lkl/build/config/enclave_debug.key sgx-lkl-run ./sgxlkl-miniroot-fs.img /usr/bin/node --version

[ SGX-LKL ] Warning: The application requires thread-local storage (TLS), but the current system configuration does not allow SGX-LKL to provide full TLS support in hardware mode. See sgx-lkl-run --help-tls for more information.

v8.14.0

so I run

sgx-lkl-run --help-tls

[ SGX-LKL ] Warning: Insufficient arguments. No application path provided.
Usage: sgx-lkl-run [--config=path/to/config] [--app=path/to/appconfig] path/to/encl/file/system path/to/executable
path/to/config: Optional: Path to JSON configuration file. If file system image is provided via configuration file it must not be provided on the command line (see below).
path/to/appconfig: Optional: Path to JSON application configuration file. Can be used to provide application configuration (executable path, arguments, environment variables). Not available in release mode.
path/to/encl/file/system: Path to the ext4 enclave file system image.
path/to/executable: Path to executable on enclave file system.
: Arguments for executable.

sgx-lkl-run --version to print version information.
sgx-lkl-run --help to print this help.
sgx-lkl-run --help-tls to print help on how to enable thread-local storage support in hardware mode.

but there is no info at all about how to enable thread-local storage support in hardware mode ...

please advise, thanks

IAS API subscription keys support

version 3 of the Attestation API switched from user certificate authentication to API subscription keys

does sgx-lkl support API subscription keys? couldn't find any reference to this anywhere

thanks!

Python error: <stdin> is a directory, cannot continue

When trying to run Python, it complains that stdin is a directory.

SGXLKL_VERBOSE=1 build/sgx-lkl-run apps/uwsgi/sgxlkl-miniroot-fs.img /usr/bin/python -c 'print "a"'

I'm curious where and how stdin is setup within SGX-LKL.

Missing statx syscall

A new statx system call has been introduced in Linux 4.11. It's supported by the 4.17 kernel used by SGX-LKL but we currently miss the corresponding x86_64 <-> LKL system call mapping, so applications trying to perform the system call receive a not implemented error.

SIGSEGV Error

Hi All,

I'm writing a Java Application to create a TLS Socket Server, which is working fine without sgx but makes problems with sgx-lkl.
The non-TLS socket was working out of the box, but for the TLS version I had to copy multiple files into the sgx image (nss.cfg, libnss3.so, libnssutil3.so, libplc4.so, libplds4.so, libnspr4.so).
After the last library libnspr4.so I got following error:

[    SGX-LKL   ] Warning: The application requires thread-local storage (TLS), but the current system configuration does not allow SGX-LKL to provide full TLS support in hardware mode. See sgx-lkl-run --help-tls for more information.
OpenJDK 64-Bit Server VM warning: Can't detect initial thread stack location - find_vma failed
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000000000ace6, pid=1, tid=0x00007f03672092e0
#
# JRE version: OpenJDK Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: OpenJDK 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.3.0
# Distribution: Custom build (Thu Jul  6 09:24:47 UTC 2017)
# Problematic frame:
# C  0x000000000000ace6
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
Unexpected exit reason from signal handler.
/usr/local/bin/sgx-lkl-java: Zeile 29:  6256 Speicherzugriffsfehler  (Speicherabzug geschrieben) env LD_LIBRARY_PATH=${JRE_LIB_PATH} ${SGX_LKL_OPTIONS} ${SGX_LKL_RUN_EXEC} ${DISK_IMAGE} /opt/j2re-image/bin/java ${DEFAULT_JRE_ARGS} ${ARGS}

Can someone please help me to find out how to proceed further to find the error?
I don't know where to look for further error messages or something.

My machine is an Ubuntu 16.04.6 LTS (GNU/Linux 4.15.0-46-generic x86_64).
I will give you all the details you need.

Thank you in advance!

JVM cannot handle https connections

I am trying to run a simple java application establish https connection and I got this exception:

java.security.ProviderException: Could not initialize NSS
at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:223)
at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:103)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:224)
at sun.security.jca.ProviderConfig$2.run(ProviderConfig.java:206)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jca.ProviderConfig.doLoadProvider(ProviderConfig.java:206)
at sun.security.jca.ProviderConfig.getProvider(ProviderConfig.java:187)
at sun.security.jca.ProviderList.loadAll(ProviderList.java:282)
at sun.security.jca.ProviderList.removeInvalid(ProviderList.java:299)
at sun.security.jca.Providers.getFullProviderList(Providers.java:173)
at java.security.Security.getProviders(Security.java:485)
at HelloWorld.main(HelloWorld.java:44)
Caused by: java.io.IOException: Error loading shared library libnss3.so: No such file or directory
at sun.security.pkcs11.Secmod.nssLoadLibrary(Native Method)
at sun.security.pkcs11.Secmod.initialize(Secmod.java:210)
at sun.security.pkcs11.SunPKCS11.(SunPKCS11.java:218)

Is there anyway I can set a custom library to the jre provided by sgx-lkl.

How large is the TCB of SGX-LKL?

Hi,

Could you clarify the trusted computing base (TCB) of SGX-LKL? My understanding is that almost the entire Linux kernel (i.e., LKL) is inside the enclave.

Thanks.

Extend signal support

Currently SGX-LKL has only limited signal support. Signal handlers can be installed for SIGSEGV and SIGFPE. SIGILL handling is currently only used for transparently handling CPUID and RDTSC instructions which are illegal in SGX v1. Custom handlers should be supported at least for the most common catchable signals.

Also, a number of signal related functions/system calls such as sigsuspend, sigprocmask, sigwait are currently not supported. Ultimately these should be implemented within the enclave.

Getting OutOfMemory exception when try to run a HelloWorld java file

Hi,

I am trying to install sgx-lkl and run a modified simple java file with socket programming and get this exception:
Exception in thread "main" java.lang.UnsatisfiedLinkError: /opt/j2re-image/lib/amd64/libnet.so: Error loading shared library /opt/j2re-image/lib/amd64/libnet.so: Out of memory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1845)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at java.net.AbstractPlainSocketImpl$1.run(AbstractPlainSocketImpl.java:84)
at java.net.AbstractPlainSocketImpl$1.run(AbstractPlainSocketImpl.java:82)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.AbstractPlainSocketImpl.(AbstractPlainSocketImpl.java:81)
at java.net.ServerSocket.setImpl(ServerSocket.java:288)
at java.net.ServerSocket.(ServerSocket.java:230)
at java.net.ServerSocket.(ServerSocket.java:128)
at HelloWorld.main(HelloWorld.java:16

Is it caused by the constrainted memory inside enclave. Do u know how I can tune the parameters to run it. I run the programme in hardware mode in Linux 16.04. Here is the hello world java file:

import java.io.IOException;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Date;

/**

  • A simple TCP server. When a client connects, it sends the client the current
  • datetime, then closes the connection. This is arguably the simplest server
  • you can write. Beware though that a client has to be completely served its
  • date before the server will be able to handle another client.
    */
    public class HelloWorld {
    public static void main(String[] args) throws IOException {
    try {
    ServerSocket listener = new ServerSocket(59090);
    System.out.println("The date server is running...");
    while (true) {
    try {
    Socket socket = listener.accept();
    PrintWriter out = new PrintWriter(socket.getOutputStream(), true);
    out.println(new Date().toString());
    } catch (Exception e) {
    }
    }
    } catch (Exception e) {
    }
    }
    }

Allow applications to install SIGINT/SIGTERM signal handlers

Currently, SGX-LKL only supports application-specific signal handlers for segfaults (SIGSEGV). In order to allow interrupted/long-running applications to shut down gracefully, SGX-LKL should allow them to register signal handlers for SIGINT/SIGTERM to which the corresponding signals should be passed to.

Segfault on syscall(sched_setaffinity,...)

Performing a sched_setaffinity system call via the syscall libc macro (instead of calling the corresponding sched_setaffinity libc function) causes a segfault. While SGX-LKL currently does not support CPU affinities, the syscall should correctly return -ENOSYS.

Not clear if miniroot sample fails or passes

I run make at: sgx-lkl/apps/miniroot
The output:
sudo SGXLKL_TAP=sgxlkl_tap0 SGXLKL_VERBOSE=1 ../../build/sgx-lkl-run ./sgxlkl-miniroot-fs.img /usr/bin/redis-server --bind 10.0.1.1
[ 0.000000] Linux version 4.10.0+ (sem@sem) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) ) #2 Mon Apr 23 14:25:43 EET 2018
[ 0.000000] bootmem address range: 0x480f000 - 0x540e000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 3029
[ 0.000000] Kernel command line: virtio_mmio.device=292@0x1000000:1 virtio_mmio.device=268@0x2000000:2
[ 0.000000] PID hash table entries: 64 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.000000] Memory available: 11988k/0k RAM
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:4096
[ 0.000000] lkl: irqs initialized
[ 0.000000] clocksource: lkl: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000254] lkl: time and timers initialized (irq3)
[ 0.000317] pid_max: default: 4096 minimum: 301
[ 0.000378] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000379] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.002107] devtmpfs: initialized
[ 0.006839] console [lkl_console0] enabled
[ 0.006902] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.007039] NET: Registered protocol family 16
[ 0.008537] clocksource: Switched to clocksource lkl
[ 0.009269] NET: Registered protocol family 2
[ 0.009463] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.009467] TCP bind hash table entries: 512 (order: 0, 4096 bytes)
[ 0.009471] TCP: Hash tables configured (established 512 bind 512)
[ 0.009539] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 0.009543] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 0.009620] NET: Registered protocol family 1
[ 0.009696] virtio-mmio: Registering device virtio-mmio.0 at 0x1000000-0x1000123, IRQ 1.
[ 0.009771] virtio-mmio: Registering device virtio-mmio.1 at 0x2000000-0x200010b, IRQ 2.
[ 0.010461] workingset: timestamp_bits=62 max_order=12 bucket_order=0
[ 0.014522] io scheduler noop registered
[ 0.014528] io scheduler deadline registered
[ 0.014591] io scheduler cfq registered (default)
[ 0.014654] virtio-mmio virtio-mmio.0: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.
[ 0.014706] virtio-mmio virtio-mmio.1: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.
[ 0.030019] mousedev: PS/2 mouse device common for all mice
[ 0.030310] NET: Registered protocol family 10
[ 0.030714] Segment Routing with IPv6
[ 0.030739] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.031071] Warning: unable to open an initial console.
[ 0.031134] This architecture does not have kernel memory protection.
[ 0.032332] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts:
[ 0.042897] random: host1: uninitialized urandom read (19 bytes read)
[ 0.042908] random: host1: uninitialized urandom read (1024 bytes read)
1:M 23 Apr 12:32:02.009 * Increased maximum number of open files to 10032 (it was originally set to 1024).
.
.-__ ''-._ _.- . . ''-._ Redis 3.2.11 (8e1aef66/0) 64 bit
.- .-```. ```\/ _.,_ ''-._ ( ' , .-` | `, ) Running in standalone mode |`-._`-...-` __...-.-.|'_.-'| Port: 6379 | -. ._ / _.-' | PID: 1 -._ -._ -./ .-' .-'
|-._-.
-.__.-' _.-'_.-'| | -.
-._ _.-'_.-' | http://redis.io -._ -._-..-'.-' .-'
|-._-.
-.__.-' _.-'_.-'| | -.
-._ _.-'_.-' | -._ -._-.
.-'_.-' _.-'
-._ -..-' _.-'
-._ _.-' -.
.-'

1:M 23 Apr 12:32:02.010 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 23 Apr 12:32:02.010 # Server started, Redis version 3.2.11
1:M 23 Apr 12:32:02.010 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:M 23 Apr 12:32:02.010 * The server is now ready to accept connections on port 6379
write to fd netdev fails: No error information
[ 1.978632] random: fast init done

On a different terminal I run:

sudo redis-cli -h 10.0.1.1

The output:

Could not connect to Redis at 10.0.1.1:6379: Connection timed out
not connected>

the issue: Segmentation fault (core dumped)

When I run the instance of helloworld in the apps/jvm/helloworld-java, I execute the statement "../../../tools/sgx-lkl-java ./sgxlkl-java-fs.img HelloWorld",and an error is reported each time-----"../../../tools/sgx-lkl-java: line 28: 13161 Segmentation fault (core dumped) env LD_LIBRARY_PATH=${JRE_LIB_PATH} ${SGX_LKL_OPTIONS} ${SGX_LKL_RUN_EXEC} ${DISK_IMAGE} # /opt/j2re-image/bin/java ${DEFAULT_JRE_ARGS} ${ARGS}",
What's the problem? I hope you can help me with it. thanks

Does SGX-LKL support multi-threaded applications?

I am confused whether SGX-LKL supports multi-threaded applications.

On the one side, from the presentation I found online, it looks like there is a SCONE-like user-level M:N threading support.

On the other side, the original paper on LKL has this quote: Even though we do not need to implement support for user processes.... The Google paper "User Space TCP - Getting LKL Ready for the Prime Time" has this quote: ...LKL is anyway a uniprocessor architecture.

So does it mean that SGX-LKL supports multi-threaded applications but effectively multiplexes all app threads onto one host-kernel thread (M:1 model)? Or am I misunderstanding the quotes on LKL, and it actually supports multi-core architectures and thus saturates all cores?

SGX-LKL documentation (paper?)

Hi,

I've tried sgx-lkl (jvm example) and it seems to run properly. There are few things that I'd like to clarify though.

First of all, is there any documentation available for this software? The Wiki section leads to the repo front page. There is no link to any documentation in the README file. Was there any paper published on sgx-lkl?

I mainly look for documentation to clarify my other concerns.

  • For instance, how I can verify that the HelloWorld example is indeed running in the SGX enclave?
  • What are the security guarantees SGX-LKL provides?
  • How can I prove those?

Finally, seems like the developers of SGX-LKL come from the same group that worked on SCONE, which I also tested previously. What system is more actively developed and should be thus used?

Thanks

How to modify the JRE so it can run in SGX-LKL enclave?

The jre from https://lsds.doc.ic.ac.uk/files/sgxlkl_openjdk_jre_alpine_8.121.13-r0.tar.gz that is used in the jvm sample apps does not contain a module I need (nss).
Trying to create my own image with a JRE from existing alpine packages fails, even though it's working perfectly in docker alpine-based container.
What changes need to be made to adjust the JRE to run in SGX-LKL?
(One obvious change is the use of LD_LIBRARY_PATH instead of relying on RPATH)

Can't run Hello world apps

My PC stats:
Dell precision 3630 Tower
Memory: 31,1 GiB
CPU: Intel:registered: Core:tm: i7-8700 CPU @ 3.20GHz ร— 12
OS: Ubuntu 18.04.1 LTS 64-bit
Kernel: 4.15.0-44-generic

Make finished without errors
But when i try to run the jvm hello world I got the following error

kanak@wp-04:~/sgx-lkl/apps/jvm/helloworld-java$ sudo SGXLKL_VERBOSE=1 ../../../tools/sgx-lkl-java ./sgxlkl-java-fs.img HelloWorld
[ SGX-LKL ] No tap device specified, networking will not be available.
Error while initializing enclave, error code: 1073741825

Then i tried to provide tap device using the following but the issue still remain.

@wp-04:~/sgx-lkl/apps/jvm/helloworld-java$ sudo SGXLKL_TAP=sgxlkl_tap0 SGXLKL_VERBOSE=1 ../../../tools/sgx-lkl-java ./sgxlkl-java-fs.img HelloWorld
Error while initializing enclave, error code: 1073741825

I'm using the sdk and driver version 2.0 on ubuntu 18.04
Help me resolve the problem

How does sgx-lkl support multi-process applications?

I am excited to see a new, open-source library OS for SGX. Good job on supporting JVM on SGX.

Before sgx-lkl, the only open-source alternative is Graphene-SGX, which puts an emphasis on its support for multi-process applications. So, I am wondering how sgx-lkl supports multi-process applications.

I am asking this question because there seems to be a dilemma: all processes must share a common Linux kernel (i.e. LKL), which means different processes must run in the same enclave, thus leading to no isolation between processes. Is my understanding right?

Thanks.

high cpu usage

following the redis example from wiki: "Running applications from the Alpine Linux repository"

I noticed that sgx-lkl-run "eats" all the CPU time it can get

image

stracing seams to indicate aggressive ioctl / nanosleep loops

is there anything that can be done to reduce idle cpu usage? the redis sample is not actually doing anything ... thx

node.js - Fatal process OOM in insufficient memory to create an Isolate

tried to run a simple benchmark (https://www.npmjs.com/package/cpu-benchmark) in node.js installed as described in #48

without increasing Heap size node.js fails:

SGXLKL_KEY=/root/sgx-lkl/build/config/enclave_debug.key sgx-lkl-run ./nodesjs.img /usr/bin/node /root/bench.js

Fatal process OOM in heap setup

with increased heap size - node.js fails (with full debug):

SGXLKL_VERBOSE=1 SGXLKL_TRACE_MMAP=1 SGXLKL_TRACE_HOST_SYSCALL=1 SGXLKL_TRACE_LKL_SYSCALL=1 SGXLKL_HD_RW=1 SGXLKL_HEAP=1024M SGXLKL_KEY=/root/sgx-lkl/build/config/enclave_debug.key /root/sgx-lkl/build/sgx-lkl-run ./nodesjs.img /usr/bin/node --max-old-space-size=1024 /root/bench.js

[ SGX-LKL ] No tap device specified, networking will not be available.
[ SGX-LKL ] No IAS SPID provided, enclave quote will not be verifiable by IAS.
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a8000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127ff7d000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a7000
[ SGX-LKL ] Maximum enclave threads (TCS): 8
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x32, 0x0, 0x0, 0x0) = 0x32
[ SGX-LKL ] Kernel command line: ""
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x29, 0x0, 0x0, 0x0) = 0x29
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 1036KB, MAX USED: 1036KB, FREE: 10484404KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127fefd000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0xa0, 0x0, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127fefd000, 0x80000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a6000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 33808KB, MAX USED: 33808KB, FREE: 10451632KB, ALLOCATED: 32772KB (addr = 0, ret = 0x7f127defc000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a6000, 0xa0, 0x0, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127defc000, 0x2001000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 34320KB, MAX USED: 34320KB, FREE: 10451120KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127de7c000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a6000, 0xa0, 0x0, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127de7c000, 0x80000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a5000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 34832KB, MAX USED: 34832KB, FREE: 10450608KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127ddfc000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a6000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127ddfc000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a4000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 35344KB, MAX USED: 35344KB, FREE: 10450096KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127dd7c000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a6000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127dd7c000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a3000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 35856KB, MAX USED: 35856KB, FREE: 10449584KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127dcfc000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x0, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127dcfc000, 0x80000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a2000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 36368KB, MAX USED: 36368KB, FREE: 10449072KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127dc7c000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127dc7c000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a1000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 36376KB, MAX USED: 36376KB, FREE: 10449064KB, ALLOCATED: 8KB (addr = 0, ret = 0x7f127dc7a000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127dc7a000, 0x2000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 36888KB, MAX USED: 36888KB, FREE: 10448552KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127dbfa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127dbfa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a0000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 37400KB, MAX USED: 37400KB, FREE: 10448040KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127db7a000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127db7a000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d429f000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 37912KB, MAX USED: 37912KB, FREE: 10447528KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127dafa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127dafa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d429e000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 38424KB, MAX USED: 38424KB, FREE: 10447016KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127da7a000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127da7a000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d429d000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 38936KB, MAX USED: 38936KB, FREE: 10446504KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d9fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d9fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d429c000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 39448KB, MAX USED: 39448KB, FREE: 10445992KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d97a000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d97a000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d429b000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 39960KB, MAX USED: 39960KB, FREE: 10445480KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d8fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d8fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d429a000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 40472KB, MAX USED: 40472KB, FREE: 10444968KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d87a000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d87a000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4299000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 40984KB, MAX USED: 40984KB, FREE: 10444456KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d7fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d7fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4298000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 41496KB, FREE: 10443944KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d77a000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d77a000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4297000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d4296000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 41496KB, MAX USED: 42008KB, FREE: 10443944KB, FREED: 512KB (addr = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d429e000, 0x98, 0x0, 0x0, 0x0) = 0x98
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42008KB, MAX USED: 42008KB, FREE: 10443432KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d6fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d6fa000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4296000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 42520KB, MAX USED: 42520KB, FREE: 10442920KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d67a000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d67a000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4295000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 43032KB, MAX USED: 43032KB, FREE: 10442408KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d5fa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a4000, 0xa0, 0x0, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d5fa000, 0x80000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4294000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f16d42a4000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 43040KB, MAX USED: 43040KB, FREE: 10442400KB, ALLOCATED: 8KB (addr = 0, ret = 0x7f127d5f8000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d5f8000, 0x2000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ SGX-LKL ] Adding entropy to entropy pool.
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x31, 0x22, 0x0, 0x0) = 0x31
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /proc/sys/kernel/random/poolsize, 0, 438) = 3
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x5b, 0x22, 0x0, 0x0) = 0x5b
[ LKL SYSCALL ] [tid=1 ] read 63 (3, 139717389553104, 1024, 0, 0, 0) = 5
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4b, 0x22, 0x0, 0x0) = 0x4b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /dev/random, 0, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x44, 0x22, 0x0, 0x0) = 0x44
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (4, 1074287107, 139717389554144, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x52, 0x22, 0x0, 0x0) = 0x52
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 43552KB, MAX USED: 43552KB, FREE: 10441888KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d578000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d578000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a4000
[ LKL SYSCALL ] [tid=1 ] close 57 (3, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x3b, 0x22, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x3b, 0x22, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /dev/urandom, 0, 0) = 3
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x45, 0x22, 0x0, 0x0) = 0x45
[ LKL SYSCALL ] [tid=1 ] read 63 (3, 139717433609752, 32, 0, 0, 0) = 32
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4a, 0x22, 0x0, 0x0) = 0x4a
[ LKL SYSCALL ] [tid=1 ] close 57 (3, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x3b, 0x22, 0x0, 0x0) = 0x3b
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 43568KB, MAX USED: 43568KB, FREE: 10441872KB, ALLOCATED: 16KB (addr = 0, ret = 0x7f127d574000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d574000, 0x4000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] socket 198 (16, 3, 0, 0, 0, 0) = 3
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x3e, 0x22, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] bind 200 (3, 139717389553252, 12, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4a, 0x22, 0x0, 0x0) = 0x4a
[ LKL SYSCALL ] [tid=1 ] getsockname 204 (3, 139717389553252, 139717433609528, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x5e, 0x22, 0x0, 0x0) = 0x5e
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 44080KB, MAX USED: 44080KB, FREE: 10441360KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d4f4000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d4f4000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4293000
[ LKL SYSCALL ] [tid=1 ] sendto 206 (3, 139717389008928, 60, 0, 139717439563968, 12) = 60
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x5c, 0x22, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] recvmsg 212 (3, 139717433609296, 0, 0, 0, 0) = 36
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4d, 0x22, 0x0, 0x0) = 0x4d
[ LKL SYSCALL ] [tid=1 ] close 57 (3, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x3b, 0x22, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] socket 198 (16, 3, 16, 0, 0, 0) = 3
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x3f, 0x22, 0x0, 0x0) = 0x3f
[ LKL SYSCALL ] [tid=1 ] bind 200 (3, 139717389553252, 12, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4a, 0x22, 0x0, 0x0) = 0x4a
[ LKL SYSCALL ] [tid=1 ] getsockname 204 (3, 139717389553252, 139717433609448, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x5e, 0x22, 0x0, 0x0) = 0x5e
[ LKL SYSCALL ] [tid=1 ] sendto 206 (3, 139717389008928, 36, 0, 139717439563968, 12) = 36
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x5c, 0x22, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] recvmsg 212 (3, 139717433609152, 0, 0, 0, 0) = 112
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4e, 0x22, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] recvmsg 212 (3, 139717433609152, 0, 0, 0, 0) = 36
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4d, 0x22, 0x0, 0x0) = 0x4d
[ LKL SYSCALL ] [tid=1 ] sendto 206 (3, 139717389008928, 72, 0, 139717439563968, 12) = 72
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x5c, 0x22, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] recvmsg 212 (3, 139717433609232, 0, 0, 0, 0) = 36
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4d, 0x22, 0x0, 0x0) = 0x4d
[ LKL SYSCALL ] [tid=1 ] close 57 (3, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x3b, 0x22, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] sethostname 161 (139717433618600, 3, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x50, 0x22, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] socket 198 (16, 3, 16, 0, 0, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x3f, 0x22, 0x0, 0x0) = 0x3f
[ LKL SYSCALL ] [tid=1 ] bind 200 (4, 139717389553252, 12, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4a, 0x22, 0x0, 0x0) = 0x4a
[ LKL SYSCALL ] [tid=1 ] getsockname 204 (4, 139717389553252, 139717433609784, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x5e, 0x22, 0x0, 0x0) = 0x5e
[ LKL SYSCALL ] [tid=1 ] sendto 206 (4, 139717389008928, 36, 0, 139717439563968, 12) = 36
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x5c, 0x22, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] recvmsg 212 (4, 139717433609488, 0, 0, 0, 0) = 112
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4e, 0x22, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] recvmsg 212 (4, 139717433609488, 0, 0, 0, 0) = 36
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4d, 0x22, 0x0, 0x0) = 0x4d
[ LKL SYSCALL ] [tid=1 ] sendto 206 (4, 139717389008928, 28, 0, 139717439563968, 12) = 28
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x5c, 0x22, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] recvmsg 212 (4, 139717433609568, 0, 0, 0, 0) = 144
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4e, 0x22, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x3b, 0x22, 0x0, 0x0) = 0x3b
[ SGX-LKL ] [ HOST SYSCALL ] [tid=???] writev 20 (0x2, 0x7f16d42a7000, 0x2, 0x22, 0x0, 0x0) = 0x11
wg0 has public key HvP6YL6UW87XfvJiEjk3Vo0S0h4dOjRFltsqDO4VAC0=
[ HOST SYSCALL ] [tid=???] writev 20 (0x2, 0x7f16d42a7000, 0x2, 0x22, 0x0, 0x0) = 0x40
[ SGX-LKL ] [ HOST SYSCALL ] [tid=???] writev 20 (0x2, 0x7f16d42a7000, 0x2, 0x22, 0x0, 0x0) = 0x11
Enclave report nonce: 0
[ HOST SYSCALL ] [tid=???] writev 20 (0x2, 0x7f16d42a7000, 0x2, 0x22, 0x0, 0x0) = 0x18
[ SGX-LKL ] Received quote from launch enclave:
[ SGX-LKL ] MRENCLAVE: 36a58f73992b529d5a7a4b529a5bdbbc09ec0621a562be1dea99608cda6d979b
[ SGX-LKL ] MRSIGNER: 1ae8b6b0c913e28b952ab7a599370784e40efcc9dc9c94301c259f08be843e76
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 44592KB, MAX USED: 44592KB, FREE: 10440848KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d474000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d474000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4292000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a1000, 0x1000, 0x0, 0x0, 0x0) = 0x1000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0xc00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x49400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x49800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x49c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4a000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4a400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4a800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4ac00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4b000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4b400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4b800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4bc00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4c000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4c400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4c800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4cc00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4d000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4d400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4d800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4dc00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4e000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4e400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4e800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4ec00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4f000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4f400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4f800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x4fc00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x50000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x50400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x50800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x50c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d42a7000, 0x400, 0x51000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x49000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5800400, 0x0, 0x0) = 0x400
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 45104KB, MAX USED: 45104KB, FREE: 10440336KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d3f4000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d3f4000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4291000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 45616KB, MAX USED: 45616KB, FREE: 10439824KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127d374000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a3000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d374000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d4290000
[ HOST SYSCALL ] [tid=???] pwrite64 18 (0x3, 0x7f16d4292000, 0x400, 0x400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x449000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x51400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x51800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x51c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x52000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x52400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x52800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x52c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x53000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x53400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x53800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x53c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x54000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x54400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x54800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x54c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x55000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x55400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x55800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x55c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x56000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x56400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x56800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x56c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x57000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x57400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x57800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x57c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x58000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x58800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x58c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x59000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x59400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x59800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x59c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5a000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5a400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5a800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5ac00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5b000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5b400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5b800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5bc00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5c000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5c400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5c800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5cc00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5d000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5d400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5d800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5dc00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5e000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5e400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5e800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5ec00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5f000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5f400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5f800, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x5fc00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x60000, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x58400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x451c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x452400, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x453000, 0x0, 0x0) = 0x400
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/bin/node, 0, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x46, 0x51000, 0x0, 0x0) = 0x46
[ HOST SYSCALL ] [tid=???] mremap 25 (0x7f16d42a7000, 0x1000, 0x4000, 0x1, 0x0, 0x0) = 0x7f16d428c000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d428c000, 0x4000, 0x1000400, 0x0, 0x0) = 0x4000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717433608384, 960, 0, 0, 0) = 960
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d428c000, 0x4c, 0x1000400, 0x0, 0x0) = 0x4c
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 70152KB, MAX USED: 70152KB, FREE: 10415288KB, ALLOCATED: 24536KB (addr = 0, ret = 0x7f127bb7e000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d428c000, 0xa0, 0x1000400, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127bb7e000, 0x17f6000, 0x7, 0x1000400, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d428c000, 0x3b, 0x1000400, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] mremap 25 (0x7f16d428c000, 0x4000, 0x10000, 0x1, 0x0, 0x0) = 0x7f16be2d1000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be2d1000, 0x10000, 0x1004400, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be2d1000, 0xc000, 0x1014400, 0x0, 0x0) = 0xc000
[ HOST SYSCALL ] [tid=???] mremap 25 (0x7f16be2d1000, 0x10000, 0x34000, 0x1, 0x0, 0x0) = 0x7f16be29d000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be29d000, 0x34000, 0x1020400, 0x0, 0x0) = 0x34000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be29d000, 0xc000, 0x1054400, 0x0, 0x0) = 0xc000
[ HOST SYSCALL ] [tid=???] mremap 25 (0x7f16be29d000, 0x34000, 0x74000, 0x1, 0x0, 0x0) = 0x7f16be229000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be229000, 0x74000, 0x1060400, 0x0, 0x0) = 0x74000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be229000, 0xc000, 0x10d4400, 0x0, 0x0) = 0xc000
[ HOST SYSCALL ] [tid=???] mremap 25 (0x7f16be229000, 0x74000, 0xf4000, 0x1, 0x0, 0x0) = 0x7f16be135000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xf4000, 0x10e0400, 0x0, 0x0) = 0xf4000
[ HOST SYSCALL ] [tid=???] mremap 25 (0x7f16be135000, 0xf4000, 0x100000, 0x1, 0x0, 0x0) = 0x7f16be135000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x11d4400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xc000, 0x12d4400, 0x0, 0x0) = 0xc000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x34000, 0x12e0400, 0x0, 0x0) = 0x34000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x1314400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x1414400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x1454400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x1554400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x1594400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x1694400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xc000, 0x16d4400, 0x0, 0x0) = 0xc000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x44000, 0x16e0400, 0x0, 0x0) = 0x44000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361786880, 6176768, 0, 0, 0) = 6176768
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x54, 0x16e0400, 0x0, 0x0) = 0x54
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 6176768, 0, 0, 0, 0) = 6176768
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x47, 0x16e0400, 0x0, 0x0) = 0x47
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xa0000, 0x1724400, 0x0, 0x0) = 0xa0000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x3c000, 0x17c4400, 0x0, 0x0) = 0x3c000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x2000400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x2100400, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x2104400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x2204400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x9c000, 0x2244400, 0x0, 0x0) = 0x9c000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x64000, 0x22e0400, 0x0, 0x0) = 0x64000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x2344400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x2384400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x2484400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x24c4400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x25c4400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x9f000, 0x2604400, 0x0, 0x0) = 0x9f000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717367963648, 7860224, 0, 0, 0) = 7860224
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x54, 0x2604400, 0x0, 0x0) = 0x54
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 14036992, 0, 0, 0, 0) = 14036992
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0x2604400, 0x0, 0x0) = 0x49
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x3d000, 0x26a3400, 0x0, 0x0) = 0x3d000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xc3000, 0x26e0400, 0x0, 0x0) = 0xc3000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x3e000, 0x27a3400, 0x0, 0x0) = 0x3e000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x1f000, 0x27e1400, 0x0, 0x0) = 0x1f000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x3000400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x21000, 0x3100400, 0x0, 0x0) = 0x21000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x3121400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x3221400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x7f000, 0x3261400, 0x0, 0x0) = 0x7f000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x81000, 0x32e0400, 0x0, 0x0) = 0x81000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x3361400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x33a1400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x34a1400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x100000, 0x34e1400, 0x0, 0x0) = 0x100000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x35e1400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xbf000, 0x3621400, 0x0, 0x0) = 0xbf000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x41000, 0x36e0400, 0x0, 0x0) = 0x41000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0x3721400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x7dc00, 0x3761400, 0x0, 0x0) = 0x7dc00
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717375823872, 10493952, 0, 0, 0) = 10493952
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x56, 0x3761400, 0x0, 0x0) = 0x56
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 24526848, 0, 0, 0, 0) = 24526848
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0x3761400, 0x0, 0x0) = 0x49
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717386317824, 593920, 0, 0, 0) = 501928
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x3761400, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717386819752, 91992, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0x3761400, 0x0, 0x0) = 0x4c
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x3761400, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x450400, 0x0, 0x0) = 0x400
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /opt/sgx/sgxsdk/sdk_libs/libz.so.1, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x84, 0x3761400, 0x0, 0x0) = 0x84
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x457800, 0x0, 0x0) = 0x400
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /etc/ld-musl-x86_64.path, 524288, 438) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x7c, 0x3761400, 0x0, 0x0) = 0x7c
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x44ec00, 0x0, 0x0) = 0x400
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /lib/libz.so.1, 524288, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0x3761400, 0x0, 0x0) = 0x4c
[ LKL SYSCALL ] [tid=1 ] fcntl 25 (4, 2, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x3761400, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] fstat 80 (4, 139717433608224, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0x3761400, 0x0, 0x0) = 0x49
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x9c8800, 0x0, 0x0) = 0x4000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717433607056, 960, 0, 0, 0) = 960
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0x9c8800, 0x0, 0x0) = 0x4c
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 70256KB, MAX USED: 70256KB, FREE: 10415184KB, ALLOCATED: 104KB (addr = 0, ret = 0x7f127bb64000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x9c8800, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127bb64000, 0x1a000, 0x7, 0x9c8800, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x9c8800, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0x9cc800, 0x0, 0x0) = 0x8000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361680384, 12288, 0, 0, 0) = 12288
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0x9cc800, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 12288, 0, 0, 0, 0) = 12288
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0x9cc800, 0x0, 0x0) = 0x43
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xc800, 0x9d4800, 0x0, 0x0) = 0xc800
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361692672, 57344, 0, 0, 0) = 57344
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0x9d4800, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 69632, 0, 0, 0, 0) = 69632
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0x9d4800, 0x0, 0x0) = 0x43
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361750016, 28672, 0, 0, 0) = 28672
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0x9d4800, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 94208, 0, 0, 0, 0) = 94208
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0x9d4800, 0x0, 0x0) = 0x43
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361778688, 8192, 0, 0, 0) = 5936
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x9d4800, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361784624, 2256, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4b, 0x9d4800, 0x0, 0x0) = 0x4b
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x9d4800, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /opt/sgx/sgxsdk/sdk_libs/libhttp_parser.so.2.9, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x90, 0x9d4800, 0x0, 0x0) = 0x90
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /lib/libhttp_parser.so.2.9, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x7c, 0x9d4800, 0x0, 0x0) = 0x7c
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x453c00, 0x0, 0x0) = 0x400
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x454400, 0x0, 0x0) = 0x400
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/local/lib/libhttp_parser.so.2.9, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x86, 0x9d4800, 0x0, 0x0) = 0x86
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16d4292000, 0x400, 0x453400, 0x0, 0x0) = 0x400
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/lib/libhttp_parser.so.2.9, 524288, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x5c, 0x9d4800, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] fcntl 25 (4, 2, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x9d4800, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] fstat 80 (4, 139717433608224, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0x9d4800, 0x0, 0x0) = 0x49
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0xde3400, 0x0, 0x0) = 0x4000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717433607056, 960, 0, 0, 0) = 960
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0xde3400, 0x0, 0x0) = 0x4c
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 70304KB, MAX USED: 70304KB, FREE: 10415136KB, ALLOCATED: 48KB (addr = 0, ret = 0x7f127bb58000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0xde3400, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127bb58000, 0xc000, 0x7, 0xde3400, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xde3400, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x6800, 0xde7400, 0x0, 0x0) = 0x6800
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361631232, 8192, 0, 0, 0) = 8192
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0xde7400, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 8192, 0, 0, 0, 0) = 8192
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x41, 0xde7400, 0x0, 0x0) = 0x41
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361639424, 20480, 0, 0, 0) = 20480
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0xde7400, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 28672, 0, 0, 0, 0) = 28672
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0xde7400, 0x0, 0x0) = 0x43
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361659904, 8192, 0, 0, 0) = 8192
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0xde7400, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 36864, 0, 0, 0, 0) = 36864
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0xde7400, 0x0, 0x0) = 0x43
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361672192, 8192, 0, 0, 0) = 5784
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0xde7400, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361677976, 2408, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4b, 0xde7400, 0x0, 0x0) = 0x4b
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xde7400, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /opt/sgx/sgxsdk/sdk_libs/libuv.so.1, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x85, 0xde7400, 0x0, 0x0) = 0x85
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /lib/libuv.so.1, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x71, 0xde7400, 0x0, 0x0) = 0x71
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/local/lib/libuv.so.1, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x7b, 0xde7400, 0x0, 0x0) = 0x7b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/lib/libuv.so.1, 524288, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x51, 0xde7400, 0x0, 0x0) = 0x51
[ LKL SYSCALL ] [tid=1 ] fcntl 25 (4, 2, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xde7400, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] fstat 80 (4, 139717433608224, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0xde7400, 0x0, 0x0) = 0x49
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x5b9800, 0x0, 0x0) = 0x4000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717433607056, 960, 0, 0, 0) = 960
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0x5b9800, 0x0, 0x0) = 0x4c
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 70468KB, MAX USED: 70468KB, FREE: 10414972KB, ALLOCATED: 164KB (addr = 0, ret = 0x7f127bb2f000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x5b9800, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127bb2f000, 0x29000, 0x7, 0x5b9800, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x5b9800, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0x5bd800, 0x0, 0x0) = 0x8000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0x5c5800, 0x0, 0x0) = 0x10000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361463296, 36864, 0, 0, 0) = 36864
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0x5c5800, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 36864, 0, 0, 0, 0) = 36864
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0x5c5800, 0x0, 0x0) = 0x43
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xb800, 0x5d5800, 0x0, 0x0) = 0xb800
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361500160, 86016, 0, 0, 0) = 86016
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0x5d5800, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 122880, 0, 0, 0, 0) = 122880
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x45, 0x5d5800, 0x0, 0x0) = 0x45
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361586176, 32768, 0, 0, 0) = 32768
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0x5d5800, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 155648, 0, 0, 0, 0) = 155648
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x45, 0x5d5800, 0x0, 0x0) = 0x45
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361623040, 8192, 0, 0, 0) = 5968
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x5d5800, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361629008, 2224, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4b, 0x5d5800, 0x0, 0x0) = 0x4b
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x5d5800, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /opt/sgx/sgxsdk/sdk_libs/libcares.so.2, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x88, 0x5d5800, 0x0, 0x0) = 0x88
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /lib/libcares.so.2, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x74, 0x5d5800, 0x0, 0x0) = 0x74
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/local/lib/libcares.so.2, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x7e, 0x5d5800, 0x0, 0x0) = 0x7e
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/lib/libcares.so.2, 524288, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x54, 0x5d5800, 0x0, 0x0) = 0x54
[ LKL SYSCALL ] [tid=1 ] fcntl 25 (4, 2, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x5d5800, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] fstat 80 (4, 139717433608224, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0x5d5800, 0x0, 0x0) = 0x49
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0xdc0400, 0x0, 0x0) = 0x4000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717433607056, 960, 0, 0, 0) = 960
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0xdc0400, 0x0, 0x0) = 0x4c
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 70540KB, MAX USED: 70540KB, FREE: 10414900KB, ALLOCATED: 72KB (addr = 0, ret = 0x7f127bb1d000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0xdc0400, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127bb1d000, 0x12000, 0x7, 0xdc0400, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xdc0400, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0xdc4400, 0x0, 0x0) = 0x8000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361389568, 8192, 0, 0, 0) = 8192
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0xdc4400, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 8192, 0, 0, 0, 0) = 8192
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x41, 0xdc4400, 0x0, 0x0) = 0x41
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4800, 0xdcc400, 0x0, 0x0) = 0x4800
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361397760, 45056, 0, 0, 0) = 45056
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0xdcc400, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 53248, 0, 0, 0, 0) = 53248
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0xdcc400, 0x0, 0x0) = 0x43
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361442816, 12288, 0, 0, 0) = 12288
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0xdcc400, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 61440, 0, 0, 0, 0) = 61440
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0xdcc400, 0x0, 0x0) = 0x43
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361455104, 8192, 0, 0, 0) = 5928
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0xdcc400, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361461032, 2264, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4b, 0xdcc400, 0x0, 0x0) = 0x4b
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xdcc400, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /opt/sgx/sgxsdk/sdk_libs/libcrypto.so.1.1, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x8b, 0xdcc400, 0x0, 0x0) = 0x8b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /lib/libcrypto.so.1.1, 524288, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x53, 0xdcc400, 0x0, 0x0) = 0x53
[ LKL SYSCALL ] [tid=1 ] fcntl 25 (4, 2, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xdcc400, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] fstat 80 (4, 139717433608224, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0xdcc400, 0x0, 0x0) = 0x49
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0xa00400, 0x0, 0x0) = 0x4000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717433607056, 960, 0, 0, 0) = 960
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0xa00400, 0x0, 0x0) = 0x4c
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 73092KB, MAX USED: 73092KB, FREE: 10412348KB, ALLOCATED: 2552KB (addr = 0, ret = 0x7f127b89f000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0xa00400, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b89f000, 0x27e000, 0x7, 0xa00400, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xa00400, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0xa04400, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x20000, 0xa14400, 0x0, 0x0) = 0x20000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0xa34400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x41000, 0xa74400, 0x0, 0x0) = 0x41000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x20000, 0xab5400, 0x0, 0x0) = 0x20000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717358776320, 479232, 0, 0, 0) = 479232
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0xab5400, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 479232, 0, 0, 0, 0) = 479232
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x45, 0xab5400, 0x0, 0x0) = 0x45
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x40000, 0xad5400, 0x0, 0x0) = 0x40000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x80000, 0xb15400, 0x0, 0x0) = 0x80000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x35000, 0xb95400, 0x0, 0x0) = 0x35000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x1000, 0xbca400, 0x0, 0x0) = 0x1000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x2000, 0xbcb400, 0x0, 0x0) = 0x2000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xe000, 0xbcd400, 0x0, 0x0) = 0xe000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0xbdb400, 0x0, 0x0) = 0x8000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0xbe3400, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0xbf3400, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x20000, 0xc03400, 0x0, 0x0) = 0x20000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x20000, 0xc23400, 0x0, 0x0) = 0x20000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xa000, 0xc43400, 0x0, 0x0) = 0xa000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x2000, 0xc4d400, 0x0, 0x0) = 0x2000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x2000, 0xc4f400, 0x0, 0x0) = 0x2000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0xc51400, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0xc55400, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0xc59400, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0xc5d400, 0x0, 0x0) = 0x8000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0xc65400, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x5400, 0xc75400, 0x0, 0x0) = 0x5400
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717359255552, 1409024, 0, 0, 0) = 1409024
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x54, 0xc75400, 0x0, 0x0) = 0x54
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 1888256, 0, 0, 0, 0) = 1888256
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x47, 0xc75400, 0x0, 0x0) = 0x47
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717360664576, 528384, 0, 0, 0) = 528384
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0xc75400, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 2416640, 0, 0, 0, 0) = 2416640
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x47, 0xc75400, 0x0, 0x0) = 0x47
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361197056, 192512, 0, 0, 0) = 180896
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0xc75400, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717361377952, 11616, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0xc75400, 0x0, 0x0) = 0x4c
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xc75400, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /opt/sgx/sgxsdk/sdk_libs/libssl.so.1.1, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x88, 0xc75400, 0x0, 0x0) = 0x88
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /lib/libssl.so.1.1, 524288, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0xc75400, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] fcntl 25 (4, 2, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xc75400, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] fstat 80 (4, 139717433608224, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0xc75400, 0x0, 0x0) = 0x49
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x949800, 0x0, 0x0) = 0x4000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717433607056, 960, 0, 0, 0) = 960
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0x949800, 0x0, 0x0) = 0x4c
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 73604KB, MAX USED: 73604KB, FREE: 10411836KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127b81f000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x949800, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b81f000, 0x80000, 0x7, 0x949800, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x949800, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0x94d800, 0x0, 0x0) = 0x8000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0x955800, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x2000, 0x965800, 0x0, 0x0) = 0x2000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x2000, 0x967800, 0x0, 0x0) = 0x2000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x969800, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x96d800, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x971800, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0x975800, 0x0, 0x0) = 0x8000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0x97d800, 0x0, 0x0) = 0x8000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717358252032, 114688, 0, 0, 0) = 114688
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x97d800, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 114688, 0, 0, 0, 0) = 114688
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x45, 0x97d800, 0x0, 0x0) = 0x45
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0x985800, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x20000, 0x995800, 0x0, 0x0) = 0x20000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0x9b5800, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x2000, 0x9c5800, 0x0, 0x0) = 0x2000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x1000, 0x9c7800, 0x0, 0x0) = 0x1000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717358366720, 262144, 0, 0, 0) = 262144
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x9c7800, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 376832, 0, 0, 0, 0) = 376832
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x45, 0x9c7800, 0x0, 0x0) = 0x45
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717358628864, 94208, 0, 0, 0) = 94208
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0x9c7800, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 466944, 0, 0, 0, 0) = 466944
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x45, 0x9c7800, 0x0, 0x0) = 0x45
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717358723072, 53248, 0, 0, 0) = 52688
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0x9c7800, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717358775760, 560, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4a, 0x9c7800, 0x0, 0x0) = 0x4a
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x9c7800, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /opt/sgx/sgxsdk/sdk_libs/libstdc++.so.6, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x89, 0x9c7800, 0x0, 0x0) = 0x89
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /lib/libstdc++.so.6, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x75, 0x9c7800, 0x0, 0x0) = 0x75
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/local/lib/libstdc++.so.6, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x7f, 0x9c7800, 0x0, 0x0) = 0x7f
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/lib/libstdc++.so.6, 524288, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x55, 0x9c7800, 0x0, 0x0) = 0x55
[ LKL SYSCALL ] [tid=1 ] fcntl 25 (4, 2, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x9c7800, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] fstat 80 (4, 139717433608224, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0x9c7800, 0x0, 0x0) = 0x49
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x468c00, 0x0, 0x0) = 0x4000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717433607056, 960, 0, 0, 0) = 960
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0x468c00, 0x0, 0x0) = 0x4c
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 74968KB, MAX USED: 74968KB, FREE: 10410472KB, ALLOCATED: 1364KB (addr = 0, ret = 0x7f127b6ca000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x468c00, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b6ca000, 0x155000, 0x7, 0x468c00, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x468c00, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x3000, 0x46cc00, 0x0, 0x0) = 0x3000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0x46fc00, 0x0, 0x0) = 0x8000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x5000, 0x477c00, 0x0, 0x0) = 0x5000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xb000, 0x47cc00, 0x0, 0x0) = 0xb000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0x487c00, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x5000, 0x497c00, 0x0, 0x0) = 0x5000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x3b000, 0x49cc00, 0x0, 0x0) = 0x3b000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x5000, 0x4d7c00, 0x0, 0x0) = 0x5000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x1000, 0x4dcc00, 0x0, 0x0) = 0x1000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x2000, 0x4ddc00, 0x0, 0x0) = 0x2000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x2000, 0x4dfc00, 0x0, 0x0) = 0x2000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0x4e1c00, 0x0, 0x0) = 0x8000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0x4e9c00, 0x0, 0x0) = 0x8000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x18000, 0x4f1c00, 0x0, 0x0) = 0x18000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0x509c00, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x20000, 0x519c00, 0x0, 0x0) = 0x20000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xb000, 0x539c00, 0x0, 0x0) = 0xb000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x1000, 0x544c00, 0x0, 0x0) = 0x1000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x2000, 0x545c00, 0x0, 0x0) = 0x2000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x547c00, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x54bc00, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x54fc00, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0x553c00, 0x0, 0x0) = 0x8000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x10000, 0x55bc00, 0x0, 0x0) = 0x10000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x1000, 0x56bc00, 0x0, 0x0) = 0x1000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717356855296, 638976, 0, 0, 0) = 638976
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x56bc00, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 638976, 0, 0, 0, 0) = 638976
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x45, 0x56bc00, 0x0, 0x0) = 0x45
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xf000, 0x56cc00, 0x0, 0x0) = 0xf000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x1f000, 0x57bc00, 0x0, 0x0) = 0x1f000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x1000, 0x59ac00, 0x0, 0x0) = 0x1000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x2000, 0x59bc00, 0x0, 0x0) = 0x2000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x59dc00, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0x5a1c00, 0x0, 0x0) = 0x4000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0x5a5c00, 0x0, 0x0) = 0x8000
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0xbc00, 0x5adc00, 0x0, 0x0) = 0xbc00
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717357494272, 450560, 0, 0, 0) = 450560
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x5adc00, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 1089536, 0, 0, 0, 0) = 1089536
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x47, 0x5adc00, 0x0, 0x0) = 0x47
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717357944832, 229376, 0, 0, 0) = 229376
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x5adc00, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 1318912, 0, 0, 0, 0) = 1318912
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x47, 0x5adc00, 0x0, 0x0) = 0x47
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717358178304, 73728, 0, 0, 0) = 59776
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0x5adc00, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717358238080, 13952, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0x5adc00, 0x0, 0x0) = 0x4c
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x5adc00, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /opt/sgx/sgxsdk/sdk_libs/libgcc_s.so.1, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x88, 0x5adc00, 0x0, 0x0) = 0x88
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /lib/libgcc_s.so.1, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x74, 0x5adc00, 0x0, 0x0) = 0x74
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/local/lib/libgcc_s.so.1, 524288, 0) = -2 (No such file or directory) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x7e, 0x5adc00, 0x0, 0x0) = 0x7e
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/lib/libgcc_s.so.1, 524288, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x54, 0x5adc00, 0x0, 0x0) = 0x54
[ LKL SYSCALL ] [tid=1 ] fcntl 25 (4, 2, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0x5adc00, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] fstat 80 (4, 139717433608224, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0x5adc00, 0x0, 0x0) = 0x49
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x4000, 0xdd0c00, 0x0, 0x0) = 0x4000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717433607056, 960, 0, 0, 0) = 960
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4c, 0xdd0c00, 0x0, 0x0) = 0x4c
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 75048KB, MAX USED: 75048KB, FREE: 10410392KB, ALLOCATED: 80KB (addr = 0, ret = 0x7f127b6b6000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0xdd0c00, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b6b6000, 0x14000, 0x7, 0xdd0c00, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xdd0c00, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x8000, 0xdd4c00, 0x0, 0x0) = 0x8000
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717356773376, 12288, 0, 0, 0) = 12288
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0xdd4c00, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 12288, 0, 0, 0, 0) = 12288
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0xdd4c00, 0x0, 0x0) = 0x43
[ HOST SYSCALL ] [tid=???] pread64 17 (0x3, 0x7f16be135000, 0x6800, 0xddcc00, 0x0, 0x0) = 0x6800
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717356785664, 49152, 0, 0, 0) = 49152
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0xddcc00, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 61440, 0, 0, 0, 0) = 61440
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0xddcc00, 0x0, 0x0) = 0x43
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717356834816, 12288, 0, 0, 0) = 12288
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0xddcc00, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] lseek 62 (4, 69632, 0, 0, 0, 0) = 69632
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0xddcc00, 0x0, 0x0) = 0x43
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717356847104, 8192, 0, 0, 0) = 5864
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0xddcc00, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] read 63 (4, 139717356852968, 2328, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4b, 0xddcc00, 0x0, 0x0) = 0x4b
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xddcc00, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127bb7c000, 0x1000, 0x1, 0xddcc00, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127bb62000, 0x1000, 0x1, 0xddcc00, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127bb56000, 0x1000, 0x1, 0xddcc00, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127bb2d000, 0x1000, 0x1, 0xddcc00, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127baee000, 0x2a000, 0x1, 0xddcc00, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b892000, 0x9000, 0x1, 0xddcc00, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b80d000, 0xe000, 0x1, 0xddcc00, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b6c8000, 0x1000, 0x1, 0xddcc00, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f12805c9000, 0x1c000, 0x1, 0xddcc00, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127d2e3000, 0x72000, 0x1, 0xddcc00, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 75064KB, MAX USED: 75064KB, FREE: 10410376KB, ALLOCATED: 16KB (addr = 0, ret = 0x7f127b6b2000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0xddcc00, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b6b2000, 0x4000, 0x3, 0xddcc00, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 75096KB, MAX USED: 75096KB, FREE: 10410344KB, ALLOCATED: 32KB (addr = 0, ret = 0x7f127b6aa000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0xddcc00, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b6aa000, 0x8000, 0x3, 0xddcc00, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 75128KB, MAX USED: 75128KB, FREE: 10410312KB, ALLOCATED: 32KB (addr = 0, ret = 0x7f127b6a2000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0xddcc00, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b6a2000, 0x8000, 0x3, 0xddcc00, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /usr/bin/node, 0, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x46, 0xddcc00, 0x0, 0x0) = 0x46
[ LKL SYSCALL ] [tid=1 ] prctl 167 (35, 13, 4, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0xddcc00, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3b, 0xddcc00, 0x0, 0x0) = 0x3b
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 75200KB, MAX USED: 75200KB, FREE: 10410240KB, ALLOCATED: 72KB (addr = 0, ret = 0x7f127b690000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0xddcc00, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b690000, 0x12000, 0x3, 0xddcc00, 0x0, 0x0) = 0x0
[ SGX-LKL ] Calling application main
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x2a, 0xddcc00, 0x0, 0x0) = 0x2a
[ HOST SYSCALL ] [tid=???] rt_sigprocmask 14 (0x2, 0x7f16be135000, 0x7f16be135080, 0x8, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] fstat 5 (0x0, 0x7f16be135000, 0x7f16be135080, 0x8, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] fstat 5 (0x1, 0x7f16be135000, 0x7f16be135080, 0x8, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] fstat 5 (0x2, 0x7f16be135000, 0x7f16be135080, 0x8, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (1, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x51, 0x8, 0x0, 0x0) = 0x51
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (2, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x51, 0x8, 0x0, 0x0) = 0x51
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (3, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x51, 0x8, 0x0, 0x0) = 0x51
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (4, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x51, 0x8, 0x0, 0x0) = 0x51
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (5, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x51, 0x8, 0x0, 0x0) = 0x51
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (6, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x51, 0x8, 0x0, 0x0) = 0x51
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (7, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x51, 0x8, 0x0, 0x0) = 0x51
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (8, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x51, 0x8, 0x0, 0x0) = 0x51
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (10, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (11, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (12, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (13, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (14, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (15, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (16, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (17, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (18, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (20, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (21, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (22, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (23, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (24, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (25, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (26, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (27, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (28, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (29, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (30, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (31, 139717433608992, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (2, 139717433608800, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x51, 0x8, 0x0, 0x0) = 0x51
[ LKL SYSCALL ] [tid=1 ] rt_sigaction 134 (15, 139717433608800, 0, 8, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x52, 0x8, 0x0, 0x0) = 0x52
[ LKL SYSCALL ] [tid=1 ] prlimit64 261 (0, 7, 0, 139717433609120, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x8, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] prlimit64 261 (0, 7, 139717433609120, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x8, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] epoll_create1 20 (524288, 0, 0, 0, 0, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x48, 0x8, 0x0, 0x0) = 0x48
[ LKL SYSCALL ] [tid=1 ] pipe2 59 (139717361627200, 524288, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x8, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] write 64 (6, 139717433609015, 1, 0, 0, 0) = 1
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0x8, 0x0, 0x0) = 0x49
[ LKL SYSCALL ] [tid=1 ] pipe2 59 (139717361628328, 526336, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x8, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] eventfd2 19 (0, 526336, 0, 0, 0, 0) = 9
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x43, 0x8, 0x0, 0x0) = 0x43
[ HOST SYSCALL ] [tid=???] ioctl 16 (0x0, 0x5451, 0x2b5c8b, 0x8, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] ioctl 16 (0x1, 0x5451, 0x4, 0x8, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] ioctl 16 (0x2, 0x5451, 0x2c3, 0x8, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (3, 21585, 708, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x41, 0x8, 0x0, 0x0) = 0x41
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (4, 21585, 709, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x41, 0x8, 0x0, 0x0) = 0x41
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (5, 21585, 710, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x41, 0x8, 0x0, 0x0) = 0x41
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (6, 21585, 711, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x41, 0x8, 0x0, 0x0) = 0x41
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (7, 21585, 712, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x41, 0x8, 0x0, 0x0) = 0x41
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (8, 21585, 713, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x41, 0x8, 0x0, 0x0) = 0x41
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (9, 21585, 714, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x41, 0x8, 0x0, 0x0) = 0x41
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (10, 21585, 715, 0, 0, 0) = -9 (Bad file number) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x5c, 0x8, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (11, 21585, 716, 0, 0, 0) = -9 (Bad file number) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x5c, 0x8, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (12, 21585, 717, 0, 0, 0) = -9 (Bad file number) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x5c, 0x8, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (13, 21585, 718, 0, 0, 0) = -9 (Bad file number) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x5c, 0x8, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (14, 21585, 719, 0, 0, 0) = -9 (Bad file number) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x5c, 0x8, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (15, 21585, 720, 0, 0, 0) = -9 (Bad file number) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x5c, 0x8, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (16, 21585, 721, 0, 0, 0) = -9 (Bad file number) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x5c, 0x8, 0x0, 0x0) = 0x5c
[ LKL SYSCALL ] [tid=1 ] getuid 174 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] geteuid 175 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getgid 176 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] getegid 177 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getuid 174 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] geteuid 175 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getgid 176 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] getegid 177 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getuid 174 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] geteuid 175 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getgid 176 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] getegid 177 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getuid 174 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] geteuid 175 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getgid 176 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] getegid 177 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getuid 174 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] geteuid 175 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getgid 176 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] getegid 177 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getuid 174 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] geteuid 175 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getgid 176 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] getegid 177 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getuid 174 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] geteuid 175 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getgid 176 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] getegid 177 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getuid 174 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] geteuid 175 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] getgid 176 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x8, 0x0, 0x0) = 0x3d
[ LKL SYSCALL ] [tid=1 ] getegid 177 (0, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3e, 0x8, 0x0, 0x0) = 0x3e
[ LKL SYSCALL ] [tid=1 ] epoll_create1 20 (524288, 0, 0, 0, 0, 0) = 10
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x49, 0x8, 0x0, 0x0) = 0x49
[ LKL SYSCALL ] [tid=1 ] pipe2 59 (139717356696400, 526336, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x8, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=1 ] eventfd2 19 (0, 526336, 0, 0, 0, 0) = 13
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x44, 0x8, 0x0, 0x0) = 0x44
[ LKL SYSCALL ] [tid=1 ] prlimit64 261 (0, 3, 0, 139717433609056, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x8, 0x0, 0x0) = 0x4e
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 75712KB, MAX USED: 75712KB, FREE: 10409728KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127b610000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x8, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b610000, 0x80000, 0x3, 0x8, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 75716KB, MAX USED: 75716KB, FREE: 10409724KB, ALLOCATED: 4KB (addr = 0, ret = 0x7f127b60f000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x8, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b60f000, 0x1000, 0x3, 0x8, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d42a7000
[ LKL SYSCALL ] [tid=52 ] epoll_create1 20 (524288, 0, 0, 0, 0, 0) = 14
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x49, 0x0, 0x0, 0x0) = 0x49
[ LKL SYSCALL ] [tid=52 ] pipe2 59 (139717356699280, 526336, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x4e, 0x0, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=52 ] eventfd2 19 (0, 526336, 0, 0, 0, 0) = 17
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x44, 0x0, 0x0, 0x0) = 0x44
[ LKL SYSCALL ] [tid=52 ] epoll_ctl 21 (14, 1, 15, 0x7f127b68ce3c {EPOLLIN}) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x53, 0x0, 0x0, 0x0) = 0x53
[ LKL SYSCALL ] [tid=1 ] prlimit64 261 (0, 3, 0, 139717433609056, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x22, 0x0, 0x0) = 0x4e
[ LKL SYSCALL ] [tid=52 ] epoll_ctl 21 (14, 1, 17, 0x7f127b68ce3c {EPOLLIN}) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16d42a7000, 0x53, 0x0, 0x0, 0x0) = 0x53
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 76228KB, MAX USED: 76228KB, FREE: 10409212KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127b58f000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b58f000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 76232KB, MAX USED: 76232KB, FREE: 10409208KB, ALLOCATED: 4KB (addr = 0, ret = 0x7f127b58e000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b58e000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d428f000
[ LKL SYSCALL ] [tid=1 ] prlimit64 261 (0, 3, 0, 139717433609056, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x22, 0x0, 0x0) = 0x4e
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 76744KB, MAX USED: 76744KB, FREE: 10408696KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127b50e000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b50e000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 76748KB, MAX USED: 76748KB, FREE: 10408692KB, ALLOCATED: 4KB (addr = 0, ret = 0x7f127b50d000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b50d000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d428e000
[ LKL SYSCALL ] [tid=1 ] prlimit64 261 (0, 3, 0, 139717433609056, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x22, 0x0, 0x0) = 0x4e
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 77260KB, MAX USED: 77260KB, FREE: 10408180KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127b48d000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b48d000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 77264KB, MAX USED: 77264KB, FREE: 10408176KB, ALLOCATED: 4KB (addr = 0, ret = 0x7f127b48c000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b48c000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d428d000
[ LKL SYSCALL ] [tid=1 ] prlimit64 261 (0, 3, 0, 139717433609056, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x4e, 0x22, 0x0, 0x0) = 0x4e
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 77776KB, MAX USED: 77776KB, FREE: 10407664KB, ALLOCATED: 512KB (addr = 0, ret = 0x7f127b40c000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b40c000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 77780KB, MAX USED: 77780KB, FREE: 10407660KB, ALLOCATED: 4KB (addr = 0, ret = 0x7f127b40b000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b40b000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f16d428c000
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 77844KB, MAX USED: 77844KB, FREE: 10407596KB, ALLOCATED: 64KB (addr = 0, ret = 0x7f127b3fb000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b3fb000, 0x10000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 77972KB, MAX USED: 77972KB, FREE: 10407468KB, ALLOCATED: 128KB (addr = 0, ret = 0x7f127b3db000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b3db000, 0x20000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 78100KB, MAX USED: 78100KB, FREE: 10407340KB, ALLOCATED: 128KB (addr = 0, ret = 0x7f127b3bb000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127b3bb000, 0x20000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] getrandom 278 (139717353958752, 32, 0, 0, 0, 0) = 32
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x50, 0x22, 0x0, 0x0) = 0x50
[ LKL SYSCALL ] [tid=1 ] getpid 172 (0, 0, 0, 0, 0, 0) = 1
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x3d, 0x22, 0x0, 0x0) = 0x3d
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 209172KB, MAX USED: 209172KB, FREE: 10276268KB, ALLOCATED: 131072KB (addr = 0x2577f1371000, ret = 0x7f12733bb000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xad, 0x22, 0x0, 0x0) = 0xad
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f12733bb000, 0x8000000, 0x0, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 209428KB, MAX USED: 209428KB, FREE: 10276012KB, ALLOCATED: 256KB (addr = 0, ret = 0x7f127337b000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xa0, 0x22, 0x0, 0x0) = 0xa0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127337b000, 0x40000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 210448KB, MAX USED: 210448KB, FREE: 10274992KB, ALLOCATED: 1020KB (addr = 0x1deffec00000, ret = 0x7f127327c000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xad, 0x22, 0x0, 0x0) = 0xad
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f127327c000, 0xff000, 0x0, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 210432KB, MAX USED: 210448KB, FREE: 10275008KB, FREED: 16KB (addr = 0x7f127327c000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x98, 0x22, 0x0, 0x0) = 0x98
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 209940KB, MAX USED: 210448KB, FREE: 10275500KB, FREED: 492KB (addr = 0x7f1273300000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x98, 0x22, 0x0, 0x0) = 0x98
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273280000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 210960KB, MAX USED: 210960KB, FREE: 10274480KB, ALLOCATED: 1020KB (addr = 0x3d2818300000, ret = 0x7f1273181000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xad, 0x22, 0x0, 0x0) = 0xad
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273181000, 0xff000, 0x0, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 210452KB, MAX USED: 210960KB, FREE: 10274988KB, FREED: 508KB (addr = 0x7f1273181000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x98, 0x22, 0x0, 0x0) = 0x98
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273200000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 210496KB, MAX USED: 210960KB, FREE: 10274944KB, ALLOCATED: 44KB (addr = 0x3aa1da878000, ret = 0x7f1273370000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xad, 0x22, 0x0, 0x0) = 0xad
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273370000, 0xb000, 0x0, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 210484KB, MAX USED: 210960KB, FREE: 10274956KB, FREED: 12KB (addr = 0x7f1273378000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x98, 0x22, 0x0, 0x0) = 0x98
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273370000, 0x8000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 211504KB, MAX USED: 211504KB, FREE: 10273936KB, ALLOCATED: 1020KB (addr = 0x1802e1e80000, ret = 0x7f1273101000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xad, 0x22, 0x0, 0x0) = 0xad
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273101000, 0xff000, 0x0, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 210996KB, MAX USED: 211504KB, FREE: 10274444KB, FREED: 508KB (addr = 0x7f1273101000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x98, 0x22, 0x0, 0x0) = 0x98
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273180000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] mmap stats: TOTAL: 10485440KB, USED: 212016KB, MAX USED: 212016KB, FREE: 10273424KB, ALLOCATED: 1020KB (addr = 0x1c7421b80000, ret = 0x7f1273081000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0xad, 0x22, 0x0, 0x0) = 0xad
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273081000, 0xff000, 0x0, 0x22, 0x0, 0x0) = 0x0
[ MMAP ] munmap stats: TOTAL: 10485440KB, USED: 211508KB, MAX USED: 212016KB, FREE: 10273932KB, FREED: 508KB (addr = 0x7f1273081000)
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x98, 0x22, 0x0, 0x0) = 0x98
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273100000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273400000, 0x3000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273403000, 0x1000, 0x0, 0x22, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] madvise 233 (139717219725312, 4096, 8, 0, 0, 0) = -38 (Invalid system call number) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x75, 0x22, 0x0, 0x0) = 0x75
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1273400000, 0x3000, 0x0, 0x22, 0x0, 0x0) = 0x0
[ LKL SYSCALL ] [tid=1 ] madvise 233 (139717219713024, 12288, 8, 0, 0, 0) = -38 (Invalid system call number) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f16be135000, 0x76, 0x22, 0x0, 0x0) = 0x76

<--- Last few GCs --->

[ HOST SYSCALL ] [tid=???] writev 20 (0x1, 0x7f16be135000, 0x2, 0x22, 0x0, 0x0) = 0x19

<--- JS stacktrace --->

[ HOST SYSCALL ] [tid=???] writev 20 (0x1, 0x7f16be135000, 0x2, 0x22, 0x0, 0x0) = 0x1a

Fatal process OOM in insufficient memory to create an Isolate

[ HOST SYSCALL ] [tid=???] writev 20 (0x2, 0x7f16be135000, 0x2, 0x22, 0x0, 0x0) = 0x46

it doesn't matter how high i go with heap / node.js max-old-space-size

SGXLKL_HEAP=8192M SGXLKL_KEY=/root/sgx-lkl/build/config/enclave_debug.key /root/sgx-lkl/build/sgx-lkl-run ./nodesjs.img /usr/bin/node --max-old-space-size=8192 /root/bench.js

<--- Last few GCs --->

<--- JS stacktrace --->

Fatal process OOM in insufficient memory to create an Isolate

JVM can't protect protection page

I am adding this issue for documentation purposes.

Recently, running more complex applications on the JVM on top of SGX-LKL fails with the following JVM error:

# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (virtualspace.cpp:325), pid=1, tid=0x00007fef70080a40
#  fatal error: cannot protect protection page
#
# JRE version:  (8.0_121-b13) (build )
# Java VM: OpenJDK 64-Bit Server VM (25.121-b13 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 3.3.0
# Distribution: Custom build (Thu Jul  6 09:24:47 UTC 2017)

The JVM fails to protect the protection page via mprotect([...], PROT_NONE). SGX-LKL forwards mprotect calls to the host as SGX version 1 currently does not support changes to the SGX-specific EPC page permissions, so we have to rely on the host OS. The corresponding mprotect call fails with an EACCES error. However, the JVM protection page lies within the enclave region and is mapped at the time of the mprotect call so that it should succeed.

Encrypting disk image using a sealed key

I am looking to use not the plaintext version by a sealed version of disk encyption key.

Basically :

  1. Key is initially generated inside the encave and used to encrypt disk image.

  2. Sealed key is input into the enclave by the user

  3. Enclave unseals the key.

  4. The plain text key is used to decrypt the disk image.

My question is - which modifications would I need to make to enable this? I would be happy to contribute them back

Error: crypt_load(): No error information (-22)

following "Full attestation and remote launch example" from wiki

on the client side:

sgx-lkl-ctl --server=10.0.1.1:56001 run --app=sgxlkl.redis.conf
Connecting to 10.0.1.1:56001... done.
[ SGX-LKL ] Request successful.

on the server side:

SGXLKL_VERBOSE=1 SGXLKL_TAP=sgxlkl_tap0 SGXLKL_REMOTE_CONFIG=1 SGXLKL_REPORT_NONCE=1086786471072294837 1 SGXLKL_IAS_SPID=91335C178CFD2623B9F1965D907B2D72 SGXLKL_IAS_KEY_FILE=/root/client.key SGXLKL_IAS_CERT=/root/client. crt SGXLKL_IAS_QUOTE_TYPE=1 SGXLKL_REMOTE_CMD_ETH0=1 SGXLKL_WG_PEERS='HsDGWBSmfODurz++XsTJfk+ctoKTahiGpvXRkzTx6Wc=:10 .0.2.2/32:10.0.1.254:56002' sgx-lkl-run ./disk.img
[ SGX-LKL ] Maximum enclave threads (TCS): 8
[ SGX-LKL ] Kernel command line: ""
[ SGX-LKL ] Adding entropy to entropy pool.
[ SGX-LKL ] wg0 has public key FiW4ynEn5HzUU/sX2DyzrJCUvHrd3xrUxFok2qyeXDY=
[ SGX-LKL ] Enclave report nonce: 10867864710722948371
[ SGX-LKL ] Received quote from launch enclave:
[ SGX-LKL ] MRENCLAVE: 6a7f2542b409ff038bc9b93907ba3a06b237e5f1b96244ce116140dcae0fa9e2
[ SGX-LKL ] MRSIGNER: 6fd82723204c46f5aee8d207c82c59b4afa1ede1a5d0fcebd2274fa48d60eac7
[ SGX-LKL ] Sending IAS request...
[ SGX-LKL ] Intel Attestation Service Response:
[ SGX-LKL ] Quote status: GROUP_OUT_OF_DATE
[ SGX-LKL ] EPID group flags: 0x4
[ SGX-LKL ] TCB evaluation flags: 0x09
[ SGX-LKL ] PSE evaluation flags: 0x00
[ SGX-LKL ] One or more advisories apply to the attested platform. Refer to https://security-center.intel.com f or more information:
[ SGX-LKL ] INTEL-SA-00233,INTEL-SA-00161
[ SGX-LKL ] Starting attestation server, listening on 10.0.1.1:56000...
[ SGX-LKL ] Starting remote control server, listening on 10.0.1.1:56001...
[ SGX-LKL ] Waiting for application run request...
Error: crypt_load(): No error information (-22)
[ SGX-LKL ] Set working directory /

How to deploy secure docker container with SGX-LKL?

Is it possible to deploy existing docker container to run with SGX-LKL support? e.g. I already have a working docker container without SGX support and I would like to integrate that docker container and SGX-LKL in simulation mode. Is it possible to integrate?Thanks for your suggestion.

Handle SIGINT/SIGTERM gracefully

Currently, sending a SIGINT/SIGTERM signal to SGX-LKL will result in the enclave being exited and destroyed without allowing SGX-LKL to shut down gracefully. Instead, LKL should be halted and SGX-LKL be instructed to do any necessary clean up work, e.g. syncing writes to the disk image.

remote attestation - how to debug?

following wiki instructions on remote attestation, I am getting:

SGXLKL_VERBOSE=1 SGXLKL_TAP=sgxlkl_tap0 SGXLKL_IAS_SPID=91335C178CFD2623B9F1965D907B2D72 SGXLKL_IAS_KEY_FILE=/root/client.key SGXLKL_IAS_CERT=/root/client.crt SGXLKL_IAS_QUOTE_TYPE=1 sgx-lkl-run ./sgxlkl-disk.img /app/helloworld
[ SGX-LKL ] Maximum enclave threads (TCS): 8
[ SGX-LKL ] Kernel command line: ""
[ SGX-LKL ] Adding entropy to entropy pool.

and it is stuck there, nothing else happening

key & cert are in PEM format, SPID is valid assigned by intel

with syscall tracing the output looks like:

SGXLKL_VERBOSE=1 SGXLKL_TAP=sgxlkl_tap0 SGXLKL_IAS_SPID=91335C178CFD2623B9F1965D907B2D72 SGXLKL_IAS_KEY_FILE=/root/client.key SGXLKL_IAS_CERT=/root/client.crt SGXLKL_IAS_QUOTE_TYPE=1 SGXLKL_TRACE_HOST_SYSCALL=1 SGXLKL_TRACE_LKL_SYSCALL=1 sgx-lkl-run ./sgxlkl-disk.img /app/helloworld
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b29000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc5536000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b28000
[ SGX-LKL ] Maximum enclave threads (TCS): 8
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f1dd7b28000, 0x32, 0x0, 0x0, 0x0) = 0x32
[ HOST SYSCALL ] [tid=???] pipe 22 (0x7f1dd7b28000, 0x7f1dd7b28000, 0x32, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] fcntl 72 (0x7, 0x4, 0x800, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc54b6000, 0x80000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b27000
[ SGX-LKL ] Kernel command line: ""
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f1dd7b28000, 0x29, 0x22, 0x0, 0x0) = 0x29
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc5436000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b26000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc3435000, 0x2001000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc33b5000, 0x80000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b25000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc3335000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b24000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc32b5000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b23000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc32b3000, 0x2000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc3233000, 0x80000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b22000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc31b3000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b21000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc3133000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b20000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc30b3000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b1f000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc3033000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b1e000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2fb3000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b1d000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2f33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b1c000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2eb3000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b1b000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2e33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b1a000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2db3000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b19000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2d33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b18000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2cb3000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b17000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b16000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2c33000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b16000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2bb3000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b15000
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2bb1000, 0x2000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2b31000, 0x80000, 0x3, 0x0, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b14000
[ HOST SYSCALL ] [tid=???] munmap 11 (0x7f1dd7b24000, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ SGX-LKL ] Adding entropy to entropy pool.
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f1dd7b28000, 0x31, 0x22, 0x0, 0x0) = 0x31
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /proc/sys/kernel/random/poolsize, 0, 438) = 3
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f1dd7b28000, 0x5b, 0x22, 0x0, 0x0) = 0x5b
[ LKL SYSCALL ] [tid=1 ] read 63 (3, 139765797822608, 1024, 0, 0, 0) = 5
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f1dd7b28000, 0x4b, 0x22, 0x0, 0x0) = 0x4b
[ LKL SYSCALL ] [tid=1 ] openat 56 (-100, /dev/random, 0, 0) = 4
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f1dd7b28000, 0x44, 0x22, 0x0, 0x0) = 0x44
[ LKL SYSCALL ] [tid=1 ] ioctl 29 (4, 1074287107, 139765797823648, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f1dd7b28000, 0x52, 0x22, 0x0, 0x0) = 0x52
[ HOST SYSCALL ] [tid=???] mprotect 10 (0x7f1dc2ab1000, 0x80000, 0x3, 0x22, 0x0, 0x0) = 0x0
[ HOST SYSCALL ] [tid=???] mmap 9 (0x0, 0x1000, 0x3, 0x22, 0x0, 0x0) = 0x7f1dd7b24000
[ LKL SYSCALL ] [tid=1 ] close 57 (3, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f1dd7b28000, 0x3b, 0x22, 0x0, 0x0) = 0x3b
[ LKL SYSCALL ] [tid=1 ] close 57 (4, 0, 0, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write 1 (0x2, 0x7f1dd7b28000, 0x3b, 0x22, 0x0, 0x0) = 0x3b
[ HOST SYSCALL ] [tid=???] readv 19 (0x4, 0x7f1dd7b28000, 0x1, 0x22, 0x0, 0x0) = 0x5a
[ HOST SYSCALL ] [tid=???] readv 19 (0x4, 0x7f1dd7b28000, 0x1, 0x22, 0x0, 0x0) = 0xfffffffffffffff5 (Resource temporarily unavailable) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x8, 0x7f1dd7b28000, 0x1, 0x22, 0x0, 0x0) = 0x1
[ HOST SYSCALL ] [tid=???] poll 7 (0x7f1dd7b27000, 0x2, 0xffffffffffffffff, 0x0, 0x0, 0x0) = 0x1
[ HOST SYSCALL ] [tid=???] read 0 (0x7, 0x7f1dd7b27000, 0x1000, 0x0, 0x0, 0x0) = 0x1
[ HOST SYSCALL ] [tid=???] poll 7 (0x7f1dd7b27000, 0x2, 0xffffffffffffffff, 0x0, 0x0, 0x0) = 0x1
[ HOST SYSCALL ] [tid=???] readv 19 (0x4, 0x7f1dd7b27000, 0x1, 0x0, 0x0, 0x0) = 0x5a
[ HOST SYSCALL ] [tid=???] readv 19 (0x4, 0x7f1dd7b27000, 0x1, 0x0, 0x0, 0x0) = 0xfffffffffffffff5 (Resource temporarily unavailable) <--- !
[ HOST SYSCALL ] [tid=???] write 1 (0x8, 0x7f1dd7b27000, 0x1, 0x0, 0x0, 0x0) = 0x1
[ HOST SYSCALL ] [tid=???] poll 7 (0x7f1dd7b27000, 0x2, 0xffffffffffffffff, 0x0, 0x0, 0x0) = 0x1
[ HOST SYSCALL ] [tid=???] read 0 (0x7, 0x7f1dd7b27000, 0x1000, 0x0, 0x0, 0x0) = 0x1

Remove --size requirement from sgx-lkl-disk when used with --docker flag

Docker has built-in tools that can give the exact image size without having to make the user explicitly specify it.

docker image inspect <image_name> --format='{{ .Size }}' returns the image size in bytes.

Ideally, a user should only have to do the following:
./sgx-lkl-disk --create --docker=<image_name|Dockerfile>

In the case "Dockerfile" is supplied, sgx-lkl-disk may have to define a default image name and use that name to run the image inspect command above.

On a side note, action based arguments like "create" should probably not be flags. In my mind, this looks better:
./sgx-lkl-disk create --docker=\<image\>

Remote attestation

This is an amazing project. However, I didn't find any support for remote attestation (including other projects like libSEAL and TaLoS based on some components of sgx-lkl). Remote attestation (or attestation) is one of the most essential feature of SGX.

Do you have any plan on this? Or, is there any implementation challenges on the attestation? I found you are developing some building blocks similar with Intel SGX PSW, so I guess the Quoting Enclave should be also included. Anyway, I would like to hear your plan on this. Thank you so much.

sgx-lkl-disk: Use Alpine version with kernel version <= SGX-LKL kernel version

The sgx-lkl-disk tool currently use an Alpine 3.10 root image and installs packages from the Alpine 3.10 package repository. However, both Alpine 3.9 and 3.10 are based on Linux kernel version 4.19 while SGX-LKL currently uses kernel version 4.17. This can cause problems when applications built on/for Alpine 3.9/3.10 rely on kernel features not yet available in 4.17, e.g. newly introduced system calls.

For now, sgx-lkl-disk should switch back to Alpine 3.8. We can change this to Alpine 3.10 again when we update SGX-LKL to use kernel version 4.19 or higher.

SIGILL when trying to run a golang program

I managed to make a go app run in simulation mode, but when I run it in SGX debug mode the application crashes with a SIGILL. I've traced the error to golang's runtime/sys_linux_amd64.s:

// set tls base to DI
TEXT runtimeยทsettls(SB),NOSPLIT,$32
#ifdef GOOS_android
        // Same as in sys_darwin_386.s:/ugliness, different constant.
        // DI currently holds m->tls, which must be fs:0x1d0.
        // See cgo/gcc_android_amd64.c for the derivation of the constant.
        SUBQ    $0x1d0, DI  // In android, the tls base
#else
        ADDQ    $8, DI  // ELF wants to use -8(FS)
#endif
        MOVQ    DI, SI
        MOVQ    $0x1002, DI     // ARCH_SET_FS
        MOVQ    $SYS_arch_prctl, AX
        SYSCALL                                                     // <---- CRASH
        CMPQ    AX, $0xfffffffffffff001
        JLS     2(PC)
        MOVL    $0xf1, 0xf1  // crash
        RET

This function is called during golang's startup and makes an arch_prctl system call passing ARCH_SET_FS as an argument to set a base for the FS segment register.

Is this something that is supported by sgx-lkl or is it a bug?

New hello world sample fails

Summary: new hellow world sample fails
Details: return value is 255
I run:
sgx-lkl/apps/helloworld$ SGXLKL_TRACE_HOST_SYSCALL=1 SGXLKL_TRACE_LKL_SYSCALL=1 SGXLKL_HD_RW=1 ../../build/sgx-lkl-run sgxlkl-disk.img /app/helloworld | grep -v clock_gettime
And get:

[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381250560
[ HOST SYSCALL ] [tid=???] mprotect	10	(0, 4096, 0, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(84160512, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(84156416, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(84156416, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381246464
[ HOST SYSCALL ] [tid=???] lseek	8	(5, 0, 2, 0, 0, 0) = 104857600
[ HOST SYSCALL ] [tid=???] mprotect	10	(83632128, 524288, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(83628032, 4096, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(83628032, 4096, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381242368
[ HOST SYSCALL ] [tid=???] mprotect	10	(71041024, 12587008, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(71036928, 4096, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(70512640, 524288, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(70508544, 4096, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(70508544, 4096, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381238272
[ HOST SYSCALL ] [tid=???] mprotect	10	(69984256, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(69980160, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(69980160, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381234176
[ HOST SYSCALL ] [tid=???] mprotect	10	(69455872, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(69451776, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(69451776, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381230080
[ HOST SYSCALL ] [tid=???] mprotect	10	(68927488, 524288, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(68923392, 4096, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(68923392, 4096, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381225984
[ HOST SYSCALL ] [tid=???] mprotect	10	(68399104, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(68395008, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(68395008, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381221888
[ HOST SYSCALL ] [tid=???] mprotect	10	(67870720, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(67866624, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(67866624, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381217792
[ HOST SYSCALL ] [tid=???] mprotect	10	(67342336, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(67338240, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(67338240, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381213696
[ HOST SYSCALL ] [tid=???] mprotect	10	(67330048, 8192, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(66805760, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(66801664, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(66801664, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381209600
[ HOST SYSCALL ] [tid=???] mprotect	10	(66277376, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(66273280, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(66273280, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381205504
[ HOST SYSCALL ] [tid=???] mprotect	10	(65748992, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(65744896, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(65744896, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381201408
[ HOST SYSCALL ] [tid=???] mprotect	10	(65220608, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(65216512, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(65216512, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381197312
[ HOST SYSCALL ] [tid=???] mprotect	10	(64692224, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(64688128, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(64688128, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381193216
[ HOST SYSCALL ] [tid=???] mprotect	10	(64163840, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(64159744, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(64159744, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381189120
[ HOST SYSCALL ] [tid=???] mprotect	10	(63635456, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(63631360, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(63631360, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381185024
[ HOST SYSCALL ] [tid=???] mprotect	10	(63107072, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(63102976, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(63102976, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381180928
[ HOST SYSCALL ] [tid=???] mprotect	10	(62578688, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62574592, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62574592, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381176832
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] mprotect	10	(61521920, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(61517824, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(61517824, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381168640
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381172736, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381168640, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62050304, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(62046208, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381172736
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381234176, 4096, 0, 0, 0) = 4096
[ HOST SYSCALL ] [tid=???] mprotect	10	(61521920, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(61517824, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(61517824, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381168640
[ HOST SYSCALL ] [tid=???] mprotect	10	(60993536, 524288, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(60989440, 4096, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(60989440, 4096, 3, 0, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381164544
[ HOST SYSCALL ] [tid=???] munmap	11	(139642381234176, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(60981248, 8192, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381246464, 1024, 1024, 0, 0) = 1024
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381246464, 1024, 2048, 0, 0) = 1024
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381246464, 1024, 292864, 0, 0) = 1024
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381246464, 1024, 291840, 0, 0) = 1024
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381246464, 1024, 50332672, 0, 0) = 1024
[ HOST SYSCALL ] [tid=???] mprotect	10	(60456960, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(60452864, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(60452864, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381234176
[ HOST SYSCALL ] [tid=???] mprotect	10	(59928576, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(59924480, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(59924480, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381144064
[ HOST SYSCALL ] [tid=???] mprotect	10	(59400192, 524288, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(59396096, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(9969664, 4096, 1, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mprotect	10	(59396096, 4096, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] mmap	9	(0, 4096, 3, 34, 0, 0) = 139642381139968
[ HOST SYSCALL ] [tid=???] pwrite64	18	(5, 139642381221888, 1024, 1024, 0, 0) = 1024
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381246464, 1024, 3579904, 0, 0) = 1024
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381246464, 1024, 278528, 0, 0) = 1024
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381246464, 1024, 265216, 0, 0) = 1024
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381246464, 1024, 266240, 0, 0) = 1024
[  LKL SYSCALL ] [tid=1  ] open	1024	(/app/helloworld, 0, 0, 0) = 3 
, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write	1	(1, 139642381246464, 80, 266240, 0, 0) = 80
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381246464, 1024, 3594240, 0, 0) = 1024
[ HOST SYSCALL ] [tid=???] write	1	(1, 139642381246464, 69, 3594240, 0, 0) = 69
[ HOST SYSCALL ] [tid=???] mremap	25	(139642381246464, 4096, 16384, 1, 0, 0) = 139642381123584
[  LKL SYSCALL ] [tid=1  ] lseek	62	(3, 0, 0, 0, 0, 0) = 0
[  LKL SYSCALL ] [tid=1  ] read	63	(3, 57266176, 28672, 0, 0, 0) = 28672
[  LKL SYSCALL ] [tid=1  ] lseek	62	(3, 24576, 0, 0, 0, 0) = 24576
[  LKL SYSCALL ] [tid=1  ] read	63	(3, 59387904, 8192, 0, 0, 0) = 8192
, 3, 34, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381123584, 16384, 8654848, 0, 0) = 16384
[ HOST SYSCALL ] [tid=???] write	1	(1, 139642381123584, 69, 8654848, 0, 0) = 69
[ HOST SYSCALL ] [tid=???] mprotect	10	(57266176, 2129920, 7, 8654848, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write	1	(1, 139642381123584, 59, 8654848, 0, 0) = 59
[ HOST SYSCALL ] [tid=???] mremap	25	(139642381123584, 16384, 32768, 1, 0, 0) = 139642381090816
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381090816, 32768, 8671232, 0, 0) = 32768
[ HOST SYSCALL ] [tid=???] mremap	25	(139642381090816, 32768, 65536, 1, 0, 0) = 139642381025280
[ HOST SYSCALL ] [tid=???] pread64	17	(5, 139642381025280, 65536, 8704000, 0, 0) = 65536
[ HOST SYSCALL ] [tid=???] write	1	(1, 139642381025280, 73, 8704000, 0, 0) = 73
[ HOST SYSCALL ] [tid=???] write	1	(1, 139642381025280, 67, 8704000, 0, 0) = 67
[ H[  LKL SYSCALL ] [tid=1  ] close	57	(3, 0, 0, 0, 0, 0) = 0
[  LKL SYSCALL ] [tid=1  ] open	1024	(/app/helloworld, 0, 0, 0) = 3 
[  LKL SYSCALL ] [tid=1  ] prctl	167	(35, 13, 3, 0, 0, 0) = 0
[  LKL SYSCALL ] [tid=1  ] close	57	(3, 0, 0, 0, 0, 0) = 0
OST SYSCALL ] [tid=???] write	1	(1, 139642381025280, 71, 8704000, 0, 0) = 71
[ HOST SYSCALL ] [tid=???] write	1	(1, 139642381025280, 59, 8704000, 0, 0) = 59
[ HOST SYSCALL ] [tid=???] mprotect	10	(59387904, 4096, 1, 8704000, 0, 0) = 0
[ HOST SYSCALL ] [tid=???] write	1	(1, 139642381025280, 69, 8704000, 0, 0) = 69
[ HOST SYSCALL ] [tid=???] write	1	(1, 139642381025280, 62, 8704000, 0, 0) = 62
[ HOST SYSCALL ] [tid=???] write	1	(1, 139642381025280, 59, 8704000, 0, 0) = 59

Not clear if miniport sample fails or passes

I run make at sgx-lkl/apps/miniroot

I then run:
sudo SGXLKL_TAP=sgxlkl_tap0 SGXLKL_VERBOSE=1 ../../build/sgx-lkl-run ./sgxlkl-miniroot-fs.img /usr/bin/redis-server --bind 10.0.1.1

The output:

[ 0.000000] Linux version 4.10.0+ (sem@sem) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.9) ) #2 Mon Apr 23 14:25:43 EET 2018
[ 0.000000] bootmem address range: 0x480f000 - 0x540e000
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 3029
[ 0.000000] Kernel command line: virtio_mmio.device=292@0x1000000:1 virtio_mmio.device=268@0x2000000:2
[ 0.000000] PID hash table entries: 64 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.000000] Memory available: 11988k/0k RAM
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:4096
[ 0.000000] lkl: irqs initialized
[ 0.000000] clocksource: lkl: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.000254] lkl: time and timers initialized (irq3)
[ 0.000317] pid_max: default: 4096 minimum: 301
[ 0.000378] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.000379] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.002107] devtmpfs: initialized
[ 0.006839] console [lkl_console0] enabled
[ 0.006902] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.007039] NET: Registered protocol family 16
[ 0.008537] clocksource: Switched to clocksource lkl
[ 0.009269] NET: Registered protocol family 2
[ 0.009463] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.009467] TCP bind hash table entries: 512 (order: 0, 4096 bytes)
[ 0.009471] TCP: Hash tables configured (established 512 bind 512)
[ 0.009539] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 0.009543] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 0.009620] NET: Registered protocol family 1
[ 0.009696] virtio-mmio: Registering device virtio-mmio.0 at 0x1000000-0x1000123, IRQ 1.
[ 0.009771] virtio-mmio: Registering device virtio-mmio.1 at 0x2000000-0x200010b, IRQ 2.
[ 0.010461] workingset: timestamp_bits=62 max_order=12 bucket_order=0
[ 0.014522] io scheduler noop registered
[ 0.014528] io scheduler deadline registered
[ 0.014591] io scheduler cfq registered (default)
[ 0.014654] virtio-mmio virtio-mmio.0: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.
[ 0.014706] virtio-mmio virtio-mmio.1: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.
[ 0.030019] mousedev: PS/2 mouse device common for all mice
[ 0.030310] NET: Registered protocol family 10
[ 0.030714] Segment Routing with IPv6
[ 0.030739] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.031071] Warning: unable to open an initial console.
[ 0.031134] This architecture does not have kernel memory protection.
[ 0.032332] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts:
[ 0.042897] random: host1: uninitialized urandom read (19 bytes read)
[ 0.042908] random: host1: uninitialized urandom read (1024 bytes read)
1:M 23 Apr 12:32:02.009 * Increased maximum number of open files to 10032 (it was originally set to 1024).
.
.-__ ''-._ .- .. ''-. Redis 3.2.11 (8e1aef66/0) 64 bit
.-.-. / ., ''-._ ( ' , .-|, ) Running in standalone mode |-._-...-` ...-.-.|'.-'| Port: 6379 |-. . / .-' | PID: 1-. -.-./ .-' .-'
|-.
-. -.
.-' .-'.-'| |-.-._ .-'.-' | http://redis.io-._ -.-..-'.-' .-'
|-.
-. -.__.-' .-'.-'| |-.-._ .-'.-' |-._ -.-..-'.-' .-'
-.
-..-' .-'
-.
_.-'-..-'

1:M 23 Apr 12:32:02.010 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
1:M 23 Apr 12:32:02.010 # Server started, Redis version 3.2.11
1:M 23 Apr 12:32:02.010 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
1:M 23 Apr 12:32:02.010 * The server is now ready to accept connections on port 6379
write to fd netdev fails: No error information
[ 1.978632] random: fast init done

On a different terminal I run:

sudo redis-cli -h 10.0.1.1

The output:

Could not connect to Redis at 10.0.1.1:6379: Connection timed out
not connected>

Add madvise support/Make madvise no-op

Right now madvise system calls are handled by LKL. However, application memory is currently not managed by the kernel but independently by SGX-LKL resulting in madvise returning a corresponding error code. Most madvise calls can be implemented as no-ops anyway as there is not much we can do from within the enclave.

Internal mmap syscall fails

I'm trying to run some Python program and running into some issue. When loading one of the dynamic dependencies a call to mmap seems to fail for some reason. My suspicion is that memory fragmentation leads to an OOM scenario, as the addresses returned by mmap are getting smaller and smaller while the failing mmap is for a fairly largish chunk of memory.

Alas, increasing SGXLKL_HEAP does not seem to help in this case. Is there any other way to optimize/change the behavior of the internal mmap allocator? Where exactly is that implemented? Is that part of lkl? sgx-lkl-musl? I'm still fuzzy on the overall organization.

I've attached the output of the command (SGXLKL_TRACE_SYSCALL=1 SGXLKL_TAP=sgxlkl_tap0 RATLS_AESMD_IP=10.0.1.254 SGXLKL_VERBOSE=1 SGXLKL_HEAP=$((40962000002)) build/sgx-lkl-run apps/python-https-ratls/sgxlkl-miniroot-fs.img /usr/bin/python /https-server.py) I am trying to run.
mmap.txt The failing call happens on line 76052 and again on line 76804.

Remote Attestation and Remote Control wiki page

Thanks for the wiki page on RA!

Couple questions:

  1. "The report data contains ... a nonce that can be specified when an SGX-LKL enclave is created." I do not understand how this nonce provides security. Given that it is provided in an envvar SGXLKL_REPORT_NONCE , the OS-controlling attacker can modify it to whatever value. Or maybe I misunderstand something about these SGXLKL_... variables?

  2. " he report data contains ... the enclave's public Wireguard key used for establishing a secure channel/VPN with the enclave". The Wireguard public/private key pair is created inside of the enclave, and the private key is never exposed to the outside world, similar to RA-TLS? Is my understanding correct (at least in release mode)?

  3. Is Wireguard code/libs embedded in the enclave? I am confused by the relation between the enclave application, the LKL layer, and Wireguard.

  4. It seems that you use your own protocol to send the quote from the enclave to the client (over an established Wireguard TLS connection). So, in contrast to RA-TLS, you do not embed RA in the TLS handshake but rather have explicit additional steps after TLS connection (i.e. Wireguard VPN tunnel) was established?

In general, could you provide a comparison to RA-TLS approach? And maybe a high-level diagram of communications?

Change default number of ethreads to match number of cores

Right now the default configuration for the number of enclave threads (configured via SGXLKL_ETHREADS) is 1. SGX-LKL should use a number of enclave threads equal to the number of cores by default.

This does not affect the number of application/user-level threads usable by applications (which are configurable via SGXLKL_MAX_USER_THREADS, default 256).

No network interface, cannot connect to host (JVM)

Hi everyone,

Background:
I am building an system consisting of one server sitting on the host and one client loaded into sgx-lkl. The connection is done via TCP sockets, so I need a connection from sgx-lkl to the host machine.
I followed the tutorial and got the JVM HelloWorld to run, adapted everything to load my jar application without networking at first and everything worked (after adjusting the sizes).
I also followed the steps in "Networking support", but still cannot reach the server from the sgx-lkl client. I iterated over the network interfaces in Java but got only the 127.0.0.1 one, so I think sgx-lkl is not using the IP 10.0.1.1.
I am using a fresh Ubuntu 18.04.01 server installation.
Can you please point me into some direction? I know its not much information, I am not good in networking and linux so I will provide everything you ask for.

Thank you in advance!

execv in SGX-LKL

Is it possible to do something like execv in SGX-LKL?

I tried execv and it gives me an errno 22: invalid argument. The code works in alpine docker container.

char *array[] = { "/bin/echo", "Hello World", 0 };
execv(array[0], array);

Currently we have two seperate programs and we want to run them consecutively. Since it is not able to do fork, I'm wondering if there is a way to switch current process to another program. Thanks in advance.

JDK 11 Support?

JDK 11 Support? The memory footprint is already much lower than 8.

Not clear if sample fails or passes

Summary:
Running the jvm sample, I cannot tell if run passed or not. Could you please update either printfs or README.md to clarify?

Details:

I run:

sgx-lkl/apps/jvm/helloworld-java$ sudo ../../../tools/sgx-lkl-java ./sgxlkl-java-fs.img HelloWorld

And get:

[ 0.000000] Linux version 4.10.0+ (my user name) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ) #1 Tue Apr 17 08:42:47 EET 2018
[ 0.000000] bootmem address range: <> - <>
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping off. Total pages: 3029
[ 0.000000] Kernel command line: virtio_mmio.device=292@0x1000000:1 virtio_mmio.device=268@0x2000000:2
[ 0.000000] PID hash table entries: 64 (order: -3, 512 bytes)
[ 0.000000] Dentry cache hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.000000] Inode-cache hash table entries: 1024 (order: 1, 8192 bytes)
[ 0.000000] Memory available: 11988k/0k RAM
[ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] NR_IRQS:4096
[ 0.000000] lkl: irqs initialized
[ 0.000000] clocksource: lkl: mask: 0xffffffffffffffff max_cycles: 0x1cd42e4dffb, max_idle_ns: 881590591483 ns
[ 0.004228] lkl: time and timers initialized (irq3)
[ 0.004289] pid_max: default: 4096 minimum: 301
[ 0.004350] Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.004353] Mountpoint-cache hash table entries: 512 (order: 0, 4096 bytes)
[ 0.006518] devtmpfs: initialized
[ 0.010606] console [lkl_console0] enabled
[ 0.010669] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.010734] NET: Registered protocol family 16
[ 0.011985] clocksource: Switched to clocksource lkl
[ 0.012564] NET: Registered protocol family 2
[ 0.012696] TCP established hash table entries: 512 (order: 0, 4096 bytes)
[ 0.012701] TCP bind hash table entries: 512 (order: 0, 4096 bytes)
[ 0.012706] TCP: Hash tables configured (established 512 bind 512)
[ 0.012769] UDP hash table entries: 128 (order: 0, 4096 bytes)
[ 0.012774] UDP-Lite hash table entries: 128 (order: 0, 4096 bytes)
[ 0.012826] NET: Registered protocol family 1
[ 0.012890] virtio-mmio: Registering device virtio-mmio.0 at <>-<>, IRQ 1.
[ 0.012958] virtio-mmio: Registering device virtio-mmio.1 at <>-<>, IRQ 2.
[ 0.013407] workingset: timestamp_bits=62 max_order=12 bucket_order=0
[ 0.017074] io scheduler noop registered
[ 0.017078] io scheduler deadline registered
[ 0.017141] io scheduler cfq registered (default)
[ 0.017210] virtio-mmio virtio-mmio.0: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.
[ 0.017276] virtio-mmio virtio-mmio.1: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work.
[ 0.043016] mousedev: PS/2 mouse device common for all mice
[ 0.043276] NET: Registered protocol family 10
[ 0.043622] Segment Routing with IPv6
[ 0.043686] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 0.043982] Warning: unable to open an initial console.
[ 0.044046] This architecture does not have kernel memory protection.
[ 0.045674] EXT4-fs (vda): mounted filesystem with ordered data mode. Opts:
[ 0.106180] random: fast init done
OpenJDK 64-Bit Server VM warning: Can't detect initial thread stack location - find_vma failed
Hello world!
[ 0.247625] reboot: Restarting system

Specifically, the confusing parts are:

  1. virtio-mmio virtio-mmio.0: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work. // Did it eventually work?
  2. virtio-mmio virtio-mmio.1: Failed to enable 64-bit or 32-bit DMA. Trying to continue, but this might not work. // Did it eventually work?
  3. Warning: unable to open an initial console. // Does this mean it fails?
  4. This architecture does not have kernel memory protection. // Does this mean it fails?
  5. warning: Can't detect initial thread stack location - find_vma failed // Does this mean it fails?
  6. Hello world! // Does this mean it succeeds?
  7. reboot: Restarting system // Does this mean it failed?

building apps for SGX-LKL on alpine 3.8 (x86-64 syscall 332 is greater than known syscall table length 331)

as instructed in #49 I build node.js from source (version 12.6.0, without extra config or build parameters) on alpine 3.8 (Linux 4.14.127-0-vanilla)

SGXLKL_ETHREADS=4 SGXLKL_HEAP=1G SGXLKL_KEY=/root/sgx-lkl/build/config/enclave_debug.key sgx-lkl-run disk.img /node /cpubench.js SGX-MUSL-LKL WARN: x86-64 syscall 332 is greater than known syscall table length 331
SGX-MUSL-LKL WARN: x86-64 syscall 332 is greater than known syscall table length 331
SGX-MUSL-LKL WARN: x86-64 syscall 332 is greater than known syscall table length 331
SGX-MUSL-LKL WARN: x86-64 syscall 332 is greater than known syscall table length 331
SGX-MUSL-LKL WARN: x86-64 syscall 332 is greater than known syscall table length 331
SGX-MUSL-LKL WARN: x86-64 syscall 332 is greater than known syscall table length 331
SGX-MUSL-LKL WARN: x86-64 syscall 332 is greater than known syscall table length 331
SGX-MUSL-LKL WARN: x86-64 syscall 332 is greater than known syscall table length 331
fs.js:126
throw err;
^

Error: EISDIR: illegal operation on a directory, read
at Object.readSync (fs.js:513:3)
at tryReadSync (fs.js:338:20)
at Object.readFileSync (fs.js:375:19)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:786:22)
at Module.load (internal/modules/cjs/loader.js:643:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:683:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Object. (/cpubench.js:1:23)
at Module._compile (internal/modules/cjs/loader.js:776:30) {
errno: -21,
syscall: 'read',
code: 'EISDIR'
}
READLINE: WARNING: TURNING OFF OUTPUT FLUSHING

notice the syscall table length warning

also the file is there so why illegal operation on directory:

sgx-lkl-run disk.img /bin/ls -lh /
total 47979
drwxr-xr-x 2 root root 3.0K Mar 6 2019 bin
-rw-r--r-- 1 root root 324 Jul 12 2019 cpubench.js
drwxr-xr-x 4 root root 0 Jan 1 1970 dev
drwxr-xr-x 16 root root 1.0K Jul 12 2019 etc
drwxr-xr-x 2 root root 1.0K Mar 6 2019 home
drwxr-xr-x 5 root root 1.0K Jul 12 2019 lib
drwx------ 2 root root 12.0K Jul 12 2019 lost+found
drwxr-xr-x 5 root root 1.0K Mar 6 2019 media
drwxrwxrwx 2 root root 0 Jan 1 1970 mnt
-rwxr-xr-x 1 root root 46.8M Jul 12 2019 node
drwxr-xr-x 3 root root 1.0K Jul 12 2019 node_modules
-rw-r--r-- 1 root root 332 Jul 12 2019 package-lock.json
dr-xr-xr-x 29 root root 0 Jan 1 1970 proc
drwx------ 4 root root 1.0K Jul 12 2019 root
drwx------ 2 root root 0 Jan 1 1970 run
drwxr-xr-x 2 root root 1.0K Mar 6 2019 sbin
drwxr-xr-x 2 root root 1.0K Mar 6 2019 srv
dr-xr-xr-x 11 root root 0 Jan 1 1970 sys
drwxrwxrwx 2 root root 0 Jan 1 1970 tmp
drwxr-xr-x 7 root root 1.0K Mar 6 2019 usr
drwxr-xr-x 11 root root 1.0K Mar 6 2019 var

full debug output

SGXLKL_VERBOSE=1 SGXLKL_TRACE_MMAP=1 SGXLKL_TRACE_HOST_SYSCALL=1 SGXLKL_TRACE_LKL_SYSCALL=1 SGXLKL_HD_RW=1 SGXLKL_ETHREADS=4 SGXLKL_HEAP=1G SGXLKL_KEY=/root/sgx-lkl/build/config/enclave_debug.key sgx-lkl-run disk.img /node /cpubench.js

is attached
debug_out.txt

How the application (running on the sgx-lkl) interaction with the local operating system

Recently,i meet a problem when i run application on the sgx-lkl, and i have some confusion about sgx-lkl.I hope to get your reply.Thank you!

  1. Is the Disk image named sgxlkl-java-fs.img running in the sgx environment? How to understand /sgx-lkl-run to execute it?
  2. When i start a jvm for an application process,the classpath I need a local temporary file,so i am trying to link a local file with the file in the Disk image,but when i run the process on the sgx-lkl, a error shows that file not exist.so i want to know how the application (running on the sgx-lkl) interaction with the local operating system.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.