aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi
diff options
context:
space:
mode:
authorVasily Averin <[email protected]>2020-02-25 09:26:22 +0300
committerJarkko Sakkinen <[email protected]>2020-03-13 03:53:16 +0200
commitf9bf8adb55cd5a357b247a16aafddf8c97b276e0 (patch)
tree0056b2dabea0238c2a4d61b0b2dae93c3ff3cee7 /lib/mpi
parentd7a47b96ed1102551eb7325f97937e276fb91045 (diff)
tpm: tpm2_bios_measurements_next should increase position index
If .next function does not change position index, following .show function will repeat output related to current position index. For /sys/kernel/security/tpm0/binary_bios_measurements: 1) read after lseek beyound end of file generates whole last line. 2) read after lseek to middle of last line generates expected end of last line and unexpected whole last line once again. Cc: [email protected] # 4.19.x Fixes: 1f4aace60b0e ("fs/seq_file.c: simplify seq_file iteration code ...") Link: https://bugzilla.kernel.org/show_bug.cgi?id=206283 Signed-off-by: Vasily Averin <[email protected]> Reviewed-by: Jarkko Sakkinen <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Diffstat (limited to 'lib/mpi')
0 files changed, 0 insertions, 0 deletions