-
Notifications
You must be signed in to change notification settings - Fork 22
/
mysqld.manifest.template
44 lines (36 loc) · 1.35 KB
/
mysqld.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
# mysql manifest example
loader.preload = "file:{{ gramine.libos }}" # for compatibility with v1.0
loader.entrypoint = "file:{{ gramine.libos }}"
libos.entrypoint = "{{ entrypoint }}"
loader.log_level = "{{ log_level }}"
loader.env.LD_LIBRARY_PATH = "/lib:{{ arch_libdir }}:/usr/lib:/usr/{{ arch_libdir }}"
loader.env.PATH = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
loader.insecure__use_cmdline_argv = true
sys.enable_sigterm_injection = true
sgx.nonpie_binary = true
sgx.enclave_size = "4G"
sys.stack.size = "16M"
sgx.thread_num = 64
fs.mounts = [
{ path = "/lib", uri = "file:{{ gramine.runtimedir() }}" },
{ path = "{{ arch_libdir }}", uri = "file:{{ arch_libdir }}" },
{ path = "/usr/{{ arch_libdir }}", uri = "file:/usr/{{ arch_libdir }}" },
{ path = "/usr", uri = "file:/usr" },
{ path = "/var/lib/mysql-files", uri = "file:/var/lib/mysql-files" },
{ path = "/var/lib/mysql-keyring", uri = "file:/var/lib/mysql-keyring" },
{ path = "/var/run/mysqld", uri = "file:/var/run/mysqld" },
{ path = "/tmp", uri = "file:/tmp" },
]
sgx.trusted_files = [
"file:{{ gramine.libos }}",
"file:{{ entrypoint }}",
"file:{{ gramine.runtimedir() }}/",
"file:{{ arch_libdir }}/",
"file:/usr/{{ arch_libdir }}/",
"file:/usr/lib/mysql/",
"file:/usr/share/mysql-8.0/",
]
sgx.allowed_files = [
"file:/var/run/mysqld/",
"file:/tmp/",
]