Re: [RFC PATCH 10/12] x86: Secure Launch adding event log securityfs

From: Matthew Garrett
Date: Wed Mar 25 2020 - 16:21:30 EST


On Wed, Mar 25, 2020 at 12:43 PM Ross Philipson
<ross.philipson@xxxxxxxxxx> wrote:
>
> From: "Daniel P. Smith" <dpsmith@xxxxxxxxxxxxxxxxxxxx>
>
> The late init functionality registers securityfs nodes to allow fetching
> of and writing events to the late launch TPM log.

Is there a reason we would want this exposed separately from the
regular event log, rather than just appending it there?

> +static ssize_t sl_evtlog_write(struct file *file, const char __user *buf,
> + size_t datalen, loff_t *ppos)
> +{

What's expected to be writing to this?