lkml.org 
[lkml]   [2018]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] proc: make /proc/*/cmdline go through LSM
On Wed, 21 Feb 2018 22:23:39 +0300 Alexey Dobriyan <adobriyan@gmail.com> wrote:

> /proc/*/cmdline is not different from /proc/*/environ as it accesses
> target task's memory (and can access the very same region of memory)
> but it doesn't go through ptrace_may_access() and thus doesn't go through LSM.
>

I'd really like to see more thoughtful changelogging, please.

Why are we doing this? What is the advantage?

Doesn't this mean that code which could previously read
/proc/pid/cmdline may no longer be able to do so? Can't this break
userspace? Discuss. Lots!

\
 
 \ /
  Last update: 2018-02-21 21:06    [W:0.082 / U:1.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site