summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/strace/epoll.go
diff options
context:
space:
mode:
authorAndrei Vagin <avagin@google.com>2021-08-20 19:19:23 -0700
committerAndrei Vagin <avagin@google.com>2021-08-21 01:41:55 -0700
commit28887fb46fe8f40f75f398c27f0a1f64c01354e4 (patch)
tree1099fda8e3c131409f7d962353df568e47da4d8c /pkg/sentry/strace/epoll.go
parent0a15a216daab9523a5f0c7b93bbceae98dbcbcc1 (diff)
platform/kvm: set physical slots without overlapping
Right now, the first slot starts with an address of a memory region and its size is faultBlockSize, but the second slot starts with (physicalStart + faultBlockSize) & faultBlockMask. It means they will overlap if a start address of a memory region are not aligned to faultBlockSize. The kernel doesn't allow to add overlapped regions, but we ignore the EEXIST error. Signed-off-by: Andrei Vagin <avagin@google.com>
Diffstat (limited to 'pkg/sentry/strace/epoll.go')
0 files changed, 0 insertions, 0 deletions