Re: [PATCH v1] mm, sysctl: Add sysctl for controlling VM_MAYEXEC taint

2016-08-29 Thread Robert Foss
On 2016-08-29 11:25 AM, Will Drewry wrote: On Fri, Aug 26, 2016 at 4:32 PM, Kirill A. Shutemov mailto:kir...@shutemov.name>> wrote: On Fri, Aug 26, 2016 at 12:30:04PM -0400, robert.f...@collabora.com wrote: > From: Will Drewry mailto:w...@chromi

Re: [PATCH v1] mm, sysctl: Add sysctl for controlling VM_MAYEXEC taint

2016-08-26 Thread Kirill A. Shutemov
On Fri, Aug 26, 2016 at 12:30:04PM -0400, robert.f...@collabora.com wrote: > From: Will Drewry > > This patch proposes a sysctl knob that allows a privileged user to > disable ~VM_MAYEXEC tainting when mapping in a vma from a MNT_NOEXEC > mountpoint. It does not alter the normal behavior resulti

Re: [PATCH v1] mm, sysctl: Add sysctl for controlling VM_MAYEXEC taint

2016-08-26 Thread kbuild test robot
Hi Will, [auto build test ERROR on mmotm/master] [also build test ERROR on v4.8-rc3 next-20160825] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] [Suggest to use git(>=2.9.0) format-patch --base= (or --base=auto for convenience) to record what

[PATCH v1] mm, sysctl: Add sysctl for controlling VM_MAYEXEC taint

2016-08-26 Thread robert . foss
From: Will Drewry This patch proposes a sysctl knob that allows a privileged user to disable ~VM_MAYEXEC tainting when mapping in a vma from a MNT_NOEXEC mountpoint. It does not alter the normal behavior resulting from attempting to directly mmap(PROT_EXEC) a vma (-EPERM) nor the behavior of any