occlum/test/Occlum.json
2020-07-23 21:40:34 +08:00

64 lines
1.4 KiB
JSON

{
"resource_limits": {
"kernel_space_heap_size": "32MB",
"kernel_space_stack_size": "1MB",
"user_space_size": "128MB",
"max_num_of_threads": 32
},
"process": {
"default_stack_size": "4MB",
"default_heap_size": "8MB",
"default_mmap_size": "32MB"
},
"entry_points": [
"/bin"
],
"env": {
"default": [
"OCCLUM=yes",
"STABLE=yes",
"OVERRIDE=N"
],
"untrusted": [
"TEST",
"OVERRIDE"
]
},
"metadata": {
"product_id": 0,
"version_number": 0,
"debuggable": true
},
"mount": [
{
"target": "/",
"type": "unionfs",
"options": {
"layers": [
{
"target": "/",
"type": "sefs",
"source": "./image",
"options": {
"integrity_only": true
}
},
{
"target": "/",
"type": "sefs"
}
]
}
},
{
"target": "/host",
"type": "hostfs",
"source": "."
},
{
"target": "/tmp",
"type": "ramfs"
}
]
}