From: Rasmus Villemoes <linux@rasmusvillemoes.dk>
To: Kees Cook <keescook@chromium.org>
Cc: "Jason A. Donenfeld" <Jason@zx2c4.com>,
Andrew Morton <akpm@linux-foundation.org>,
LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v2] vsprintf: kptr_restrict is okay in IRQ when 2
Date: Sun, 07 Feb 2016 22:53:34 +0100 [thread overview]
Message-ID: <87zivcdw69.fsf@rasmusvillemoes.dk> (raw)
In-Reply-To: <CAGXu5jKGG7c0YoO_uQvDEFqgG1gWtfcfpm3yaeVeuzdO4-LPVQ@mail.gmail.com> (Kees Cook's message of "Fri, 5 Feb 2016 14:14:18 -0800")
On Fri, Feb 05 2016, Kees Cook <keescook@chromium.org> wrote:
>> switch (kptr_restrict) {
>> case 0:
>> /* Always print %pK values */
>> break;
>> case 1: {
>> + const struct cred *cred;
>> +
>> + /*
>> + * kptr_restrict==2 cannot be used in IRQ context because
^
should be 1, right?
Rasmus
next prev parent reply other threads:[~2016-02-07 21:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-05 13:45 [PATCH] " Jason A. Donenfeld
2016-02-05 20:46 ` Kees Cook
2016-02-05 21:56 ` Jason A. Donenfeld
2016-02-05 22:03 ` [PATCH v2] " Jason A. Donenfeld
2016-02-05 22:14 ` Kees Cook
2016-02-07 21:53 ` Rasmus Villemoes [this message]
2016-02-08 4:30 ` [PATCH v3] " Jason A. Donenfeld
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=87zivcdw69.fsf@rasmusvillemoes.dk \
--to=linux@rasmusvillemoes.dk \
--cc=Jason@zx2c4.com \
--cc=akpm@linux-foundation.org \
--cc=keescook@chromium.org \
--cc=linux-kernel@vger.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®