Thread (3 messages) 3 messages, 2 authors, 2018-05-14

[PATCH v5 7/7] proc: add option to mount only a pids subset

flat view

From: Alexey Gladkov <hidden>
Date: 2018-05-14 09:09:11
Also in: linux-api, linux-fsdevel, lkml

On Fri, May 11, 2018 at 03:58:39PM +0200, Jann Horn wrote:
On Fri, May 11, 2018 at 11:37 AM, Alexey Gladkov
[off-list ref] wrote:
quoted
This allows to hide all files and directories in the procfs that are not
related to tasks.
/proc/$pid/net and /proc/$pid/task/$tid/net aren't in scope for this
protection, even though they contain information about the whole
network namespace of the task, right?
Yes. The pidonly makes visible only pids subset. You can still access the
process namespaces via /proc/$pid/ns.

We can think of additional constraints since the parameters are not
stored in the pid namespace anymore.

-- 
Rgrds, legion

--
To unsubscribe from this list: send the line "unsubscribe linux-security-module" in
the body of a message to majordomo at vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help