[Sorry for a very late reply] On Wed 10-01-18 10:21:31, Eric W. Biederman wrote: [...] > All of that said. I am wondering if we should have used > PTRACE_MODE_READ_FSCREDS on these permission checks. If this is really about preventing the layout discovery then we should be in sync with proc_mem_open and that uses PTRACE_MODE_FSCREDS|PTRACE_MODE_READ Should we do the same thing here? -- Michal Hocko SUSE Labs -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>