Skip to content

Commit 1023d7f

Browse files
authored
Merge pull request #92 from huliucheng1/fix_sgx_path_and_config_pccs
fix sgx path and config PCCS
2 parents 71eac68 + 9071407 commit 1023d7f

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

tools/packaging/build/agent-enclave-bundle/sgx-mode-config.filter

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,49 @@ else
1010
"minor": 125,
1111
"fileMode": 438
1212
}] |
13+
.linux.devices |= . +
14+
[{
15+
"path": "/dev/sgx_provision",
16+
"type": "c",
17+
"major": 10,
18+
"minor": 126,
19+
"fileMode": 438
20+
}] |
1321
.linux.resources.devices |= . +
1422
[{
1523
"allow": true,
1624
"type": "c",
1725
"major": 10,
1826
"minor": 125,
1927
"access": "rwm"
28+
}] |
29+
.linux.resources.devices |= . +
30+
[{
31+
"allow": true,
32+
"type": "c",
33+
"major": 10,
34+
"minor": 126,
35+
"access": "rwm"
36+
}] |
37+
.mounts |= . +
38+
[{
39+
"destination": "/etc/sgx_default_qcnl.conf",
40+
"type": "bind",
41+
"source": "/etc/sgx_default_qcnl.conf",
42+
"options": [
43+
"rbind",
44+
"rprivate",
45+
"ro"
46+
]
47+
}] |
48+
.mounts |= . +
49+
[{
50+
"destination": "/dev/sgx",
51+
"type": "bind",
52+
"source": "/dev/sgx",
53+
"options": [
54+
"rbind",
55+
"rw"
56+
]
2057
}]
2158
end

0 commit comments

Comments
 (0)