Repository navigation
Commit 1625cb6
committed
CoreLib: use the process temp directory for shared memory on OpenHarmony
The OpenHarmony /tmp mount denies file locks (fcntl(F_SETLK) returns EACCES
even on uncontended files), and the shared memory files rely on those locks
through the file-lock-backed named mutex path. Use the process temp directory
(which honors TMPDIR and falls back to /tmp) for the shared memory files
instead, and mirror the derivation in the mutex tests.1 parent 1d7bc42 commit 1625cb6
2 files changed
Lines changed: 15 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
403 | 403 | | |
404 | 404 | | |
405 | 405 | | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
406 | 412 | | |
| 413 | + | |
407 | 414 | | |
408 | 415 | | |
409 | 416 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1084 | 1084 | | |
1085 | 1085 | | |
1086 | 1086 | | |
1087 | | - | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
1088 | 1095 | | |
1089 | 1096 | | |
1090 | 1097 | | |
| |||
0 commit comments