]> git.ipfire.org Git - thirdparty/man-pages.git/commit - man2/stat.2
stat.2: Add note about stat() being racy
authorJann Horn <jann@thejh.net>
Mon, 20 Apr 2015 20:46:01 +0000 (22:46 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Tue, 21 Apr 2015 12:40:39 +0000 (14:40 +0200)
commitf240296dee0aad3b143882cec00f1ac6d3d7a17c
treecf6ae2192888ceac689f7b0f0f815a55bdeb3759
parent9e1d8950a2fe6745e521936f5a325d69ec9c3da8
stat.2: Add note about stat() being racy

The same thing was fixed for execve() in kernel commit
8b01fc86b9f425899f8a3a8fc1c47d73c2c20543, but for performance
reasons, that simple patch won't work for stat().

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man2/stat.2