Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
selftests/efivarfs: add check for disallowing file truncation
Now that the ability of arbitrary writes to set the inode size is fixed, verify that a variable file accepts a truncation operation but does not change the stat size because of it. Signed-off-by: James Bottomley <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
- Loading branch information