diff options
author | Alexey Gladkov | 2008-11-24 16:15:36 +0100 |
---|---|---|
committer | Karel Zak | 2008-12-03 10:33:53 +0100 |
commit | ff5717391c3cebb4799c8e5d6dd9876fc5005fd0 (patch) | |
tree | 85a4f5c1c2cc88def62403810de87fa2643ae673 /misc-utils/setterm.1 | |
parent | docs: add feature-requests from RH bugzilla to TODO list (diff) | |
download | kernel-qcow2-util-linux-ff5717391c3cebb4799c8e5d6dd9876fc5005fd0.tar.gz kernel-qcow2-util-linux-ff5717391c3cebb4799c8e5d6dd9876fc5005fd0.tar.xz kernel-qcow2-util-linux-ff5717391c3cebb4799c8e5d6dd9876fc5005fd0.zip |
flock: Allow lock directory
With this patch, you can lock directory. Additionally,
lockfile opens with O_NOCTTY.
Try to open file with O_CREAT flag first, and without it
if open fails with EISDIR. Suggested by H. Peter Anvin.
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
Diffstat (limited to 'misc-utils/setterm.1')
0 files changed, 0 insertions, 0 deletions