linux-api.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHSET v3 0/4] pagemap: make useable for non-privilege users
@ 2015-06-09 20:00 Konstantin Khlebnikov
  2015-06-09 20:00 ` [PATCH v3 1/4] pagemap: check permissions and capabilities at open time Konstantin Khlebnikov
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Konstantin Khlebnikov @ 2015-06-09 20:00 UTC (permalink / raw)
  To: linux-mm-Bw31MaZKKs3YtjvyW6yDsg, Andrew Morton, Naoya Horiguchi
  Cc: linux-api-u79uwXL29TY76Z2rM5mHXA, Mark Williamson,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Kirill A. Shutemov

This patchset makes pagemap useable again in the safe way. It adds bit
'map-exlusive' which is set if page is mapped only here and restores
access for non-privileged users but hides pfn from them.

Last patch removes page-shift bits and completes migration to the new
pagemap format: flags soft-dirty and mmap-exlusive are available only
in the new format.

v3: check permissions in ->open

---

Konstantin Khlebnikov (4):
      pagemap: check permissions and capabilities at open time
      pagemap: add mmap-exclusive bit for marking pages mapped only here
      pagemap: hide physical addresses from non-privileged users
      pagemap: switch to the new format and do some cleanup


 Documentation/vm/pagemap.txt |    3 -
 fs/proc/task_mmu.c           |  219 +++++++++++++++++++-----------------------
 tools/vm/page-types.c        |   35 +++----
 3 files changed, 118 insertions(+), 139 deletions(-)

--
Signature

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2015-06-17  8:11 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-09 20:00 [PATCHSET v3 0/4] pagemap: make useable for non-privilege users Konstantin Khlebnikov
2015-06-09 20:00 ` [PATCH v3 1/4] pagemap: check permissions and capabilities at open time Konstantin Khlebnikov
2015-06-12 18:44   ` Mark Williamson
2015-06-17  7:58   ` Naoya Horiguchi
2015-06-09 20:00 ` [PATCH v3 2/4] pagemap: add mmap-exclusive bit for marking pages mapped only here Konstantin Khlebnikov
2015-06-12 18:46   ` Mark Williamson
2015-06-17  8:11   ` Naoya Horiguchi
2015-06-09 20:00 ` [PATCH v3 3/4] pagemap: hide physical addresses from non-privileged users Konstantin Khlebnikov
2015-06-12 18:47   ` Mark Williamson
2015-06-09 20:00 ` [PATCH v3 4/4] pagemap: switch to the new format and do some cleanup Konstantin Khlebnikov
2015-06-12 18:49   ` Mark Williamson
2015-06-15  5:56   ` [PATCH v4] " Konstantin Khlebnikov
2015-06-15 14:57     ` Mark Williamson
2015-06-16 21:29     ` Andrew Morton
     [not found]       ` <20150616142935.b8f679650e35534e75806399-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2015-06-17  4:59         ` Konstantin Khlebnikov
2015-06-17  6:40           ` Konstantin Khlebnikov
2015-06-12 18:59 ` [PATCHSET v3 0/4] pagemap: make useable for non-privilege users Mark Williamson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).