]> git.ipfire.org Git - thirdparty/util-linux.git/commit
include/fileutils: add is_same_inode() check
authorSami Kerola <kerolasa@iki.fi>
Sat, 31 Oct 2015 17:26:51 +0000 (17:26 +0000)
committerSami Kerola <kerolasa@iki.fi>
Sun, 22 Nov 2015 20:55:34 +0000 (20:55 +0000)
commit3f684db0d93a86b3e9525c57e65a5b281c792a2e
treec861fe5ed281a7f27258399da536cee40a64b66a
parent0172ebba52718afe89b5d1941266825b065358cb
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>
include/fileutils.h