diff options
author | Bin Lu <bin.lu@arm.com> | 2020-08-24 22:40:20 -0400 |
---|---|---|
committer | Andrei Vagin <avagin@gmail.com> | 2020-09-09 17:53:10 -0700 |
commit | dd8b3ffcb8eb7f7867dbea2c721f7fb7d0ec0342 (patch) | |
tree | fa81ef0cf1eef4a16c7b7670ad4a0cddc64c8365 /pkg | |
parent | 81d6499848783d79989f2a0280accfcfc9753378 (diff) |
Device major number greater than 2 digits in /proc/self/maps on arm64 N1 machine
Signed-off-by: Bin Lu <bin.lu@arm.com>
Diffstat (limited to 'pkg')
-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 |