From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: Dave Hansen <dave.hansen@linux.intel.com>
Cc: linux-kernel@vger.kernel.org, x86@kernel.org,
kirill.shutemov@linux.intel.com, shuah@kernel.org,
linux-kselftest@vger.kernel.org
Subject: Re: [PATCH] [v2] selftests, x86, pkeys: test with random, unallocated protection keys
Date: Fri, 24 Feb 2017 16:31:33 +0300 [thread overview]
Message-ID: <20170224133133.GA3796@node.shutemov.name> (raw)
In-Reply-To: <20170224002339.672BEF68@viggo.jf.intel.com>
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 <dave.hansen@linux.intel.com>
>
> 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 <dave.hansen@linux.intel.com>
Acked-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
--
Kirill A. Shutemov
prev parent reply other threads:[~2017-02-24 13:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-24 0:23 [PATCH] [v2] selftests, x86, pkeys: test with random, unallocated protection keys Dave Hansen
2017-02-24 13:31 ` Kirill A. Shutemov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170224133133.GA3796@node.shutemov.name \
--to=kirill@shutemov.name \
--cc=dave.hansen@linux.intel.com \
--cc=kirill.shutemov@linux.intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=shuah@kernel.org \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.