This repository was archived by the owner on Jun 9, 2020. It is now read-only.
Commit 1434bc5
committed
Fix shmat() to work correctly
shmat() maps the memory region without executable permission by default, while Noah tries to map the region onto the VM with executable permission, and it fails. It also incorrectly returns the host address instead of the guest address.1 parent 9468dcf commit 1434bc5
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
0 commit comments