summaryrefslogtreecommitdiff
path: root/tools/nfsd
diff options
context:
space:
mode:
authorStefan Berger <stefanb@linux.vnet.ibm.com>2017-05-25 00:39:41 +0300
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>2017-06-13 22:02:09 +0300
commitd8b5d94538eb1cb18be36048b0ddb9bd2e80a252 (patch)
tree258cf362703fd59e394eefe7697cc952b10c5d5e /tools/nfsd
parentbe4c9acfe2976b6e024d15656254d2eb207b83a8 (diff)
downloadlinux-d8b5d94538eb1cb18be36048b0ddb9bd2e80a252.tar.xz
tpm: vtpm_proxy: Prevent userspace from sending driver command
To prevent userspace from sending the TPM driver command to set the locality, we need to check every command that is sent from user space. To distinguish user space commands from internally sent commands we introduce an additional state flag STATE_DRIVER_COMMAND that is set while the driver sends this command. Similar to the TPM 2 space commands we return an error code when this command is detected. Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com> Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'tools/nfsd')
0 files changed, 0 insertions, 0 deletions