[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c586aa93-52d7-bd6c-3d5-77be4ed4afae@namei.org>
Date: Wed, 20 Jan 2021 16:01:13 +1100 (AEDT)
From: James Morris <jmorris@...ei.org>
To: Suren Baghdasaryan <surenb@...gle.com>
cc: Andrew Morton <akpm@...ux-foundation.org>, jannh@...gle.com,
Kees Cook <keescook@...omium.org>, jeffv@...gle.com,
minchan@...nel.org, mhocko@...e.com, shakeelb@...gle.com,
rientjes@...gle.com, edgararriaga@...gle.com, timmurray@...gle.com,
linux-mm@...ck.org, selinux@...r.kernel.org,
linux-api@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-team@...roid.com, linux-security-module@...r.kernel.org
Subject: Re: [PATCH v2 1/1] mm/madvise: replace ptrace attach requirement
for process_madvise
On Mon, 11 Jan 2021, Suren Baghdasaryan wrote:
> Replace PTRACE_MODE_ATTACH with a combination of PTRACE_MODE_READ
> and CAP_SYS_NICE. PTRACE_MODE_READ to prevent leaking ASLR metadata
> and CAP_SYS_NICE for influencing process performance.
Almost missed these -- please cc the LSM mailing list when modifying
capabilities or other LSM-related things.
--
James Morris
<jmorris@...ei.org>
Powered by blists - more mailing lists