Update the occlum.json to align with the gen_enclave_conf design. Below is the two updated structures: "metadata": { "product_id": 0, "version_number": 0, "debuggable": true }, "resource_limits": { "max_num_of_threads": 32, "kernel_space_heap_size": "32MB", "kernel_space_stack_size": "1MB", "user_space_size": "256MB" }
56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
{
|
|
"metadata": {
|
|
"product_id": 0,
|
|
"version_number": 0,
|
|
"debuggable": true
|
|
},
|
|
"resource_limits": {
|
|
"max_num_of_threads": 32,
|
|
"kernel_space_heap_size": "32MB",
|
|
"kernel_space_stack_size": "1MB",
|
|
"user_space_size": "128MB"
|
|
},
|
|
"process": {
|
|
"default_stack_size": "4MB",
|
|
"default_heap_size": "8MB",
|
|
"default_mmap_size": "32MB"
|
|
},
|
|
"env": {
|
|
"default": [
|
|
"OCCLUM=yes",
|
|
"STABLE=yes",
|
|
"OVERRIDE=N"
|
|
],
|
|
"untrusted": [
|
|
"TEST",
|
|
"OVERRIDE"
|
|
]
|
|
},
|
|
"entry_points": [
|
|
"/bin"
|
|
],
|
|
"mount": [
|
|
{
|
|
"target": "/",
|
|
"type": "sefs",
|
|
"source": "./image",
|
|
"options": {
|
|
"integrity_only": true
|
|
}
|
|
},
|
|
{
|
|
"target": "/root",
|
|
"type": "sefs"
|
|
},
|
|
{
|
|
"target": "/host",
|
|
"type": "hostfs",
|
|
"source": "."
|
|
},
|
|
{
|
|
"target": "/tmp",
|
|
"type": "ramfs"
|
|
}
|
|
]
|
|
}
|