occlum/test/Occlum.json
Hui, Chunyang 79b264a6c8 Add support for Address Space Layout Randomization
ASLR is only enabled on release mode. Also manage the whole process
VM with VMManager.
2021-02-24 14:46:41 +08:00

75 lines
1.6 KiB
JSON

{
"resource_limits": {
"kernel_space_heap_size": "40MB",
"kernel_space_stack_size": "1MB",
"user_space_size": "400MB",
"max_num_of_threads": 32
},
"process": {
"default_stack_size": "4MB",
"default_heap_size": "8MB",
"default_mmap_size": "100MB"
},
"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": "/proc",
"type": "procfs"
},
{
"target": "/tmp",
"type": "sefs",
"options": {
"temporary": true
}
},
{
"target": "/dev",
"type": "devfs"
}
]
}