Thread (148 messages) 148 messages, 20 authors, 2019-03-12

Re: [PATCH] mm/mincore: allow for making sys_mincore() privileged

From: Josh Snyder <hidden>
Date: 2019-01-16 07:52:43
Also in: linux-mm, lkml

On Tue, Jan 15, 2019 at 10:34 PM Dominique Martinet [off-list ref]
wrote:
There is a difference with your previous patch though, that used to list no
page in core when it didn't know; this patch lists pages as in core when it
refuses to tell. I don't think that's very important, though.
Is there a reason not to return -EPERM in this case?
If anything, the 0400 user-owner file might be a problem in some edge
case (e.g. if you're preloading git directories, many objects are 0444);
should we *also* check ownership?...
Yes, this seems valuable. Some databases with immutable files (e.g. git, as
you've mentioned) conceivably operate this way.

Josh
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help