-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrust.manifest.template
41 lines (34 loc) · 939 Bytes
/
rust.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
loader.entrypoint = "file:{{ gramine.libos }}"
libos.entrypoint = "entrypoint/app"
loader.log_level = "{{ log_level }}"
loader.argv0_override = "/entrypoint/app"
loader.env.LD_LIBRARY_PATH = "/lib:{{ arch_libdir }}:/usr/{{ arch_libdir }}"
sgx.debug = false
sgx.nonpie_binary = true
sgx.trusted_files = [
"file:{{ gramine.libos }}",
"file:{{ gramine.runtimedir() }}/",
"file:{{ arch_libdir }}/",
"file:/usr/{{ arch_libdir }}/",
"file:/entrypoint/",
]
[[fs.mounts]]
type = "chroot"
path = "/lib"
uri = "file:{{ gramine.runtimedir() }}"
[[fs.mounts]]
type = "chroot"
path = "{{ arch_libdir }}"
uri = "file:{{ arch_libdir }}"
[[fs.mounts]]
type = "chroot"
path = "/usr/{{ arch_libdir }}"
uri = "file:/usr/{{ arch_libdir }}"
[[fs.mounts]]
type = "chroot"
path = "/usr/local/{{ arch_libdir }}"
uri = "file:/usr/local/{{ arch_libdir }}"
[[fs.mounts]]
type = "chroot"
path = "/entrypoint/"
uri = "file:/entrypoint/"