-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbash.manifest.template
141 lines (113 loc) · 5.4 KB
/
bash.manifest.template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
loader.preload = "file:{{ graphene.libos }}"
libos.entrypoint = "{{ execdir }}/bash"
loader.log_level = "debug"
#loader.log_level = "error"
#loader.log_level = "all"
loader.pal_internal_mem_size = "512M"
loader.insecure__use_cmdline_argv = true
sgx.file_check_policy = "allow_all_but_log"
sgx.static_address = 1
sgx.debug = 0
sgx.isvprodid = 1
sgx.isvsvn = 3
loader.env.LD_LIBRARY_PATH = "/usr/lib/python3.6/lib:/lib:/lib/x86_64-linux-gnu:/usr/lib:/usr/lib/x86_64-linux-gnu:{{ jdk_home }}:{{ jdk_home }}/lib/amd64/jli:/ppml/trusted-big-data-ml/work/lib"
loader.env.PATH = "/usr/lib/python3.6/bin:/:/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/jdk8/bin"
loader.env.PYTHONHOME = "/usr/lib/python3.6"
loader.env.PYTHONPATH = "/usr/lib/python36.zip:/usr/lib/python3.6:/usr/lib/python3.6/lib-dynload:/usr/local/lib/python3.6/dist-packages:/usr/lib/python3/dist-packages:/graphene/meson_build_output/lib/python3.6/site-packages"
loader.env.JAVA_HOME = "{{ jdk_home }}"
loader.env.JAVA_OPTS = "'-Djava.library.path={{ jdk_home }}/lib -Dsun.boot.library.path={{ jdk_home }}/lib'"
loader.env.SPARK_LOCAL_IP = "{{ spark_local_ip }}"
loader.env.SPARK_USER = "{{ spark_user }}"
loader.env.SPARK_SCALA_VERSION = "2.12"
loader.env.SPARK_HOME = "{{ spark_home }}"
loader.env.SPARK_MASTER_OPTS = "'-Dspark.worker.timeout=60'"
fs.mount.lib.type = "chroot"
fs.mount.lib.path = "/lib"
fs.mount.lib.uri = "file:/graphene/Runtime"
fs.mount.lib2.type = "chroot"
fs.mount.lib2.path = "/lib/x86_64-linux-gnu"
fs.mount.lib2.uri = "file:/lib/x86_64-linux-gnu"
fs.mount.lib3.type = "chroot"
fs.mount.lib3.path = "/usr/lib/x86_64-linux-gnu"
fs.mount.lib3.uri = "file:/usr/lib/x86_64-linux-gnu"
fs.mount.usrbin.type = "chroot"
fs.mount.usrbin.path = "/usr/bin"
fs.mount.usrbin.uri = "file:/usr/bin"
fs.mount.usrlocal.type = "chroot"
fs.mount.usrlocal.path = "/usr/local"
fs.mount.usrlocal.uri = "file:/usr/local"
fs.mount.etc.type = "chroot"
fs.mount.etc.path = "/etc"
fs.mount.etc.uri = "file:/etc"
fs.mount.opt.type = "chroot"
fs.mount.opt.path = "/opt"
fs.mount.opt.uri = "file:/opt"
fs.mount.bin.type = "chroot"
fs.mount.bin.path = "/bin"
fs.mount.bin.uri = "file:/bin"
fs.mount.tmp.type = "chroot"
fs.mount.tmp.path = "/tmp"
fs.mount.tmp.uri = "file:/tmp"
fs.mount.pyhome.type = "chroot"
fs.mount.pyhome.path = "/usr/lib/python3.6"
fs.mount.pyhome.uri = "file:/usr/lib/python3.6"
fs.mount.pydisthome.type = "chroot"
fs.mount.pydisthome.path = "/usr/lib/python3/dist-packages"
fs.mount.pydisthome.uri = "file:/usr/lib/python3/dist-packages"
fs.mount.keras.type = "chroot"
fs.mount.keras.path = "/root/.keras"
fs.mount.keras.uri = "file:/root/.keras"
fs.mount.m2.type = "chroot"
fs.mount.m2.path = "/root/.m2"
fs.mount.m2.uri = "file:/root/.m2"
fs.mount.zinc.type = "chroot"
fs.mount.zinc.path = "/root/.zinc"
fs.mount.zinc.uri = "file:/root/.zinc"
fs.mount.gcclib.type = "chroot"
fs.mount.gcclib.path = "/usr/lib/gcc"
fs.mount.gcclib.uri = "file:/usr/lib/gcc"
fs.mount.work.type = "chroot"
fs.mount.work.path = "/ppml/trusted-big-data-ml/work"
fs.mount.work.uri = "file:/ppml/trusted-big-data-ml/work"
sgx.nonpie_binary = true
sgx.enclave_size = "{{ sgx_enclave_size }}"
sgx.thread_num = 1024
sgx.allow_file_creation = 1
sgx.trusted_files.execs_bin = "file:/bin/"
sgx.trusted_files.execs_userbin = "file:/usr/bin/"
sgx.trusted_files.execs_userlocalbin = "file:/usr/local/bin/"
sgx.trusted_files.java = "file:/opt/jdk8/bin/java"
sgx.trusted_files.scala = "file:/opt/scala-2.11.8/bin/scala"
sgx.trusted_files.ldconfig = "file:/sbin/ldconfig"
# Glibc libraries
sgx.trusted_files.ld = "file:/graphene/Runtime/ld-linux-x86-64.so.2"
sgx.trusted_files.libc = "file:/graphene/Runtime/libc.so.6"
sgx.trusted_files.libm = "file:/graphene/Runtime/libm.so.6"
sgx.trusted_files.libdl = "file:/graphene/Runtime/libdl.so.2"
sgx.trusted_files.librt = "file:/graphene/Runtime/librt.so.1"
sgx.trusted_files.libpthread = "file:/graphene/Runtime/libpthread.so.0"
# Name Service Switch (NSS) libraries (Glibc dependencies)
sgx.trusted_files.libnsscompat = "file:/lib/x86_64-linux-gnu/libnss_compat.so.2"
sgx.trusted_files.libnssfiles = "file:/lib/x86_64-linux-gnu/libnss_files.so.2"
sgx.trusted_files.libnssnis = "file:/lib/x86_64-linux-gnu/libnss_nis.so.2"
# libNSL is a dependency of libnss_compat above.
sgx.trusted_files.libnsl = "file:/lib/x86_64-linux-gnu/libnsl.so.1"
sgx.trusted_files.libtinfo = "file:/lib/x86_64-linux-gnu/libtinfo.so.5"
sgx.trusted_files.libselinux = "file:/lib/x86_64-linux-gnu/libselinux.so.1"
sgx.trusted_files.libpcre = "file:/lib/x86_64-linux-gnu/libpcre.so.3"
sgx.trusted_files.libz = "file:/lib/x86_64-linux-gnu/libz.so.1"
sgx.trusted_files.libgcc_s = "file:/lib/x86_64-linux-gnu/libgcc_s.so.1"
sgx.trusted_files.libstdcpp = "file:/usr/lib/x86_64-linux-gnu/libstdc++.so.6"
sgx.trusted_files.bigdl = "file:/ppml/trusted-big-data-ml/work/bigdl-jar-with-dependencies.jar"
sgx.allowed_files.etc = "file:/etc"
sgx.allowed_files.tmp = "file:/tmp"
sgx.allowed_files.jdk = "file:/opt/jdk8"
sgx.allowed_files.spark = "file:/ppml/trusted-big-data-ml/work/spark-3.1.2"
sgx.allowed_files.sparkjars = "file:/ppml/trusted-big-data-ml/work/spark-3.1.2/jars"
sgx.allowed_files.work = "file:/ppml/trusted-big-data-ml/work"
sgx.allowed_files.pyhome = "file:/usr/lib/python3.6"
sgx.allowed_files.pydisthome = "file:/usr/local/lib/python3.6/dist-packages"
sgx.allowed_files.kerasdatas = "file:/root/.keras"
sgx.allowed_files.m2 = "file:/root/.m2"
sgx.allowed_files.zinc = "file:/root/.zinc"
sgx.allowed_files.gcclib = "file:/usr/lib/gcc"