Re: [PATCH] tpm: factor out the user space mm from tpm_vtpm_set_locality()

Stefan Berger
2023-05-31T15:21:29Z

On 5/30/23 16:50, Jarkko Sakkinen wrote:
> From: Jarkko Sakkinen <jarkko.sakkinen@tuni.fi>
>
> vtpm_proxy_fops_set_locality() causes kernel buffers to be passed to
> copy_from_user() and copy_to_user().

And what is the problem with that? Is it not working?
>
> Factor out the crippled code away with help of an internal API for
> managing struct proxy_dev instances.

What is crippled code?

Stefan