diff options
| author | Chi-Kuan Chiu <105687635+devarajabc@users.noreply.github.com> | 2025-05-03 17:40:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-03 11:40:29 +0200 |
| commit | 5ee43854771d711cc75fa75693efcd11e933498c (patch) | |
| tree | f2375abebe1d27927c1286d983ee6b3253316bda /src/include | |
| parent | 25000d0903a23dc942ad7ce2c7d289838b8af907 (diff) | |
| download | box64-5ee43854771d711cc75fa75693efcd11e933498c.tar.gz box64-5ee43854771d711cc75fa75693efcd11e933498c.zip | |
Use `setProtection_mmap` in `NewBrick` (#2599)
NewBrick() currently uses setProtection() after box_mmap(), which fails to mark the region with the `MEM_MMAP` label. As a result, getMmapped() returns 0, even though the memory was allocated via mmap. Closes #2598
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions