Re: [RFC][Patch 1/4]integrity: TPM internel kernel interface
From: Pavel Machek
Date: Thu May 22 2008 - 11:04:32 EST
On Wed 2008-05-21 11:54:16, Mimi Zohar wrote:
> This is a request for comments for a redesign of the integrity patches.
> This patchset contains 4 patches.
> Patch 1/4 integrity: TPM internal kernel interface
> Patch 2/4 integrity: special fs magic
> Patch 3/4 integrity: Linux Integrity Module(LIM)
> Patch 4/4 integrity: IMA as an integrity service provider
>
> Resubmitting integrity-tpm-internal-kernel-interface.patch, which
> was previously Signed-off-by Kylene Hall.
>
> Adds the following support:
> - internal kernel interface to transmit TPM commands
> - reading a pcr value
> - extending a pcr value
> - lookup the tpm_chip for given chip number and type
>
> Signed-off-by: Mimi Zohar <zohar@xxxxxxxxxx>
> /*
> - * Returns max number of jiffies to wait
> + * tpm_calc_ordinal_duration - returns max number of jiffies to wait
> */
> -unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip,
> - u32 ordinal)
> +unsigned long tpm_calc_ordinal_duration(struct tpm_chip *chip, u32 ordinal)
Please don't mix real changes and cleanups... and lots of your changes
are just cleanups.
> @@ -544,7 +549,7 @@ duration:
> data[TPM_CAP_SUBCAP_IDX] = TPM_CAP_PROP_TIS_DURATION;
>
> rc = transmit_cmd(chip, data, sizeof(data),
> - "attempting to determine the durations");
> + "attempting to determine the durations");
> if (rc)
> return;
>
...like this.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/