diff options
| author | Stefan Berger <[email protected]> | 2017-01-31 18:43:59 +0000 |
|---|---|---|
| committer | Jarkko Sakkinen <[email protected]> | 2017-02-03 20:03:14 +0000 |
| commit | a118cf2a5b5a0d4541d04e8e8fcde8564803330c (patch) | |
| tree | be1c5e34aa6771b89c9b898d7e7ae90ee8cb9fea /security/selinux/hooks.c | |
| parent | tpm: add securityfs support for TPM 2.0 firmware event log (diff) | |
| download | kernel-a118cf2a5b5a0d4541d04e8e8fcde8564803330c.tar.gz kernel-a118cf2a5b5a0d4541d04e8e8fcde8564803330c.zip | |
tpm: fix the type of owned field in cap_t
In cap_t the size of the type bool is assumed to be one byte. This
commit sorts out the issue by changing the type to u8.
Fixes: c659af78eb7b ("tpm: Check size of response before accessing data")
Signed-off-by: Stefan Berger <[email protected]>
Reviewed-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
