From: Eric Paris <eparis@parisplace.org>
To: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
Cc: Mimi Zohar <zohar@linux.vnet.ibm.com>,
linux-kernel@vger.kernel.org, James Morris <jmorris@namei.org>,
Jean-Christophe Dubois <jcd@tribudubois.net>,
David Safford <safford@watson.ibm.com>,
Mimi Zohar <zohar@us.ibm.com>, Stable Kernel <stable@kernel.org>
Subject: Re: [PATCH] tpm add default function definitions
Date: Tue, 27 Oct 2009 10:08:44 -0400 [thread overview]
Message-ID: <7e0fb38c0910270708ue3619fage123c24893685189@mail.gmail.com> (raw)
In-Reply-To: <4AE5ACE3.30103@linux.vnet.ibm.com>
On Mon, Oct 26, 2009 at 10:06 AM, Rajiv Andrade
<srajiv@linux.vnet.ibm.com> wrote:
> Acked-by: Rajiv Andrade <srajiv@linux.vnet.ibm.com>
I don't see this as stable material, but it looks good for -next.
Acked-by: Eric Paris <eparis@redhat.com>
>
> Mimi Zohar wrote:
>> Add default tpm_pcr_read/extend function definitions required
>> by IMA/Kconfig changes.
>>
>> Signed-off-by: Mimi Zohar <zohar@us.ibm.com>
>> Cc: Stable Kernel <stable@kernel.org>
>> ---
>> include/linux/tpm.h | 7 +++++++
>> 1 files changed, 7 insertions(+), 0 deletions(-)
>>
>> diff --git a/include/linux/tpm.h b/include/linux/tpm.h
>> index 3338b3f..8eaa8f8 100644
>> --- a/include/linux/tpm.h
>> +++ b/include/linux/tpm.h
>> @@ -31,5 +31,12 @@
>>
>> extern int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf);
>> extern int tpm_pcr_extend(u32 chip_num, int pcr_idx, const u8 *hash);
>> +#else
>> +static inline int tpm_pcr_read(u32 chip_num, int pcr_idx, u8 *res_buf) {
>> + return -ENODEV;
>> +}
>> +static inline int tpm_pcr_extend(u32 chip_num, int pcr_idx, const u8 *hash) {
>> + return -ENODEV;
>> +}
>> #endif
>> #endif
>>
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
>
prev parent reply other threads:[~2009-10-27 14:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-26 13:26 Mimi Zohar
2009-10-26 13:26 ` [PATCH] ima: remove ACPI dependency Mimi Zohar
2009-10-27 13:58 ` Eric Paris
2009-10-27 15:59 ` David Safford
2009-10-27 16:36 ` Eric Paris
2009-10-27 20:42 ` David Safford
2009-10-27 20:56 ` Eric Paris
2009-10-28 18:51 ` Rajiv Andrade
2009-10-26 14:06 ` [PATCH] tpm add default function definitions Rajiv Andrade
2009-10-27 14:08 ` Eric Paris [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=7e0fb38c0910270708ue3619fage123c24893685189@mail.gmail.com \
--to=eparis@parisplace.org \
--cc=jcd@tribudubois.net \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=safford@watson.ibm.com \
--cc=srajiv@linux.vnet.ibm.com \
--cc=stable@kernel.org \
--cc=zohar@linux.vnet.ibm.com \
--cc=zohar@us.ibm.com \
/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®