diff options
author | Sami Kerola | 2015-10-31 18:26:51 +0100 |
---|---|---|
committer | Sami Kerola | 2015-11-22 21:55:34 +0100 |
commit | 3f684db0d93a86b3e9525c57e65a5b281c792a2e (patch) | |
tree | c861fe5ed281a7f27258399da536cee40a64b66a /lib/blkdev.c | |
parent | tests: update ZFS test (diff) | |
download | kernel-qcow2-util-linux-3f684db0d93a86b3e9525c57e65a5b281c792a2e.tar.gz kernel-qcow2-util-linux-3f684db0d93a86b3e9525c57e65a5b281c792a2e.tar.xz kernel-qcow2-util-linux-3f684db0d93a86b3e9525c57e65a5b281c792a2e.zip |
include/fileutils: add is_same_inode() check
Check if a file descriptor and path or stat structure are represent the same
file. This function is needed for TACTOU avoidance.
Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'lib/blkdev.c')
0 files changed, 0 insertions, 0 deletions