summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorSami Kerola2015-10-31 20:21:15 +0100
committerKarel Zak2015-11-09 09:56:14 +0100
commitd0a050e0f9343f3da7c3b865eff78ce36df14f2c (patch)
tree8fff6110f3babb152261fd7c398e527c17dcba7d /term-utils/agetty.c
parentswapon: fix stat(3) and open(3) race (diff)
downloadkernel-qcow2-util-linux-d0a050e0f9343f3da7c3b865eff78ce36df14f2c.tar.gz
kernel-qcow2-util-linux-d0a050e0f9343f3da7c3b865eff78ce36df14f2c.tar.xz
kernel-qcow2-util-linux-d0a050e0f9343f3da7c3b865eff78ce36df14f2c.zip
fsck: retire stat(3) when access(3) does better job
The stat(3) and access(3) are in this case almost interchangeable, so choose the lightweight function with additional advantage checking the file is executable. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'term-utils/agetty.c')
0 files changed, 0 insertions, 0 deletions