diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-08-26 17:10:16 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-26 17:10:16 -0700 |
commit | a4b1c6f5a42e174ee9c1b286a3eade596507091c (patch) | |
tree | fa81ef0cf1eef4a16c7b7670ad4a0cddc64c8365 /pkg/sentry/platform | |
parent | 38895db3aa7a65c1c3b18d8bace5d407834b3145 (diff) | |
parent | 57bfbed1d6a4f00597568fee94e30cac297f7a32 (diff) |
Merge pull request #3742 from lubinszARM:pr_n1_1
PiperOrigin-RevId: 328639254
Diffstat (limited to 'pkg/sentry/platform')
-rw-r--r-- | pkg/sentry/platform/kvm/virtual_map.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/platform/kvm/virtual_map.go b/pkg/sentry/platform/kvm/virtual_map.go index c8897d34f..4dcdbf8a7 100644 --- a/pkg/sentry/platform/kvm/virtual_map.go +++ b/pkg/sentry/platform/kvm/virtual_map.go @@ -34,7 +34,7 @@ type virtualRegion struct { } // mapsLine matches a single line from /proc/PID/maps. -var mapsLine = regexp.MustCompile("([0-9a-f]+)-([0-9a-f]+) ([r-][w-][x-][sp]) ([0-9a-f]+) [0-9a-f]{2}:[0-9a-f]{2,} [0-9]+\\s+(.*)") +var mapsLine = regexp.MustCompile("([0-9a-f]+)-([0-9a-f]+) ([r-][w-][x-][sp]) ([0-9a-f]+) [0-9a-f]{2,3}:[0-9a-f]{2,} [0-9]+\\s+(.*)") // excludeRegion returns true if these regions should be excluded from the // physical map. Virtual regions need to be excluded if get_user_pages will |