From 901ed5da44f1ef28c67ce942eef978342a5f8766 Mon Sep 17 00:00:00 2001 From: Jamie Liu Date: Mon, 7 Jan 2019 15:16:37 -0800 Subject: Implement /proc/[pid]/smaps. PiperOrigin-RevId: 228245523 Change-Id: I5a4d0a6570b93958e51437e917e5331d83e23a7e --- pkg/sentry/mm/mm.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'pkg/sentry/mm/mm.go') diff --git a/pkg/sentry/mm/mm.go b/pkg/sentry/mm/mm.go index c0632d232..2154e7918 100644 --- a/pkg/sentry/mm/mm.go +++ b/pkg/sentry/mm/mm.go @@ -363,10 +363,6 @@ func (v *vma) loadRealPerms(b int) { } } -func (v *vma) isMappableAsWritable() bool { - return !v.private && v.maxPerms.Write -} - // pma represents a platform mapping area. // // +stateify savable -- cgit v1.2.3