On Thu, Feb 23, 2017 at 04:23:39PM -0800, Dave Hansen wrote:
> 
> 
> Changes from v1:
>  * Also generate random negative numbers for protection key
> 
> --
> From: Dave Hansen <[email protected]>
> 
> The kernel pkeys code had a minor bug where it did some large shifts
> to an integer which is undefined behavior in C.  It didn't cause any
> real harm, but it is screwy behavior that the kernel should have
> rejected.
> 
> Add a test case for this.
> 
> Signed-off-by: Dave Hansen <[email protected]>

Acked-by: Kirill A. Shutemov <[email protected]>

-- 
 Kirill A. Shutemov

Reply via email to