Re: [PATCH v2 1/1] mm/madvise: replace ptrace attach requirement for process_madvise

2 messages, 2 authors, 2021-01-20 · open the first message on its own page

Re: [PATCH v2 1/1] mm/madvise: replace ptrace attach requirement for process_madvise

From: James Morris <jmorris@namei.org>
Date: 2021-01-20 05:10:20

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
[off-list ref]

Re: [PATCH v2 1/1] mm/madvise: replace ptrace attach requirement for process_madvise

From: Suren Baghdasaryan <surenb@google.com>
Date: 2021-01-20 16:51:00

On Tue, Jan 19, 2021 at 9:02 PM James Morris [off-list ref] wrote:
On Mon, 11 Jan 2021, Suren Baghdasaryan wrote:
quoted
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.
Thanks for the note. Will definitely include it when sending the next version.
--
James Morris
[off-list ref]

--
To unsubscribe from this group and stop receiving emails from it, send an email to kernel-team+unsubscribe@android.com.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help