summaryrefslogtreecommitdiff
path: root/usr.bin/lockf/lockf.c
AgeCommit message (Expand)Author
2025-07-10lockf: minor cosmetic cleanups, no functional changeKyle Evans
2025-07-10lockf: add a -T option to terminate the child upon early abortKyle Evans
2025-07-10lockf: switch to a SIGCHLD model for reaping childKyle Evans
2025-07-10lockf: add a -p mode to write the child's pidKyle Evans
2023-11-26usr.bin: Automated cleanup of cdefs and other formattingWarner Losh
2023-11-25lockf: switch to strtonum() for parsing timeoutKyle Evans
2023-11-25lockf: allow locking file descriptorsKyle Evans
2023-11-25lockf: don't hold stdin/stdout/stderr openAlexander Melkov
2023-11-25lockf: correct omission in the usage statementKyle Evans
2023-11-25lockf: hide unavailable error with -n -sKyle Evans
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-07-07Mark usage function as __dead2 in programs where it does not returnAlfonso Gregory
2023-05-12spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSDWarner Losh
2020-08-26Add -w option to lockf(1).Colin Percival
2019-03-20lockf(1): return EX_UNAVAILABLE if -n is used and the lock file does notAndriy Voskoboinyk
2017-11-27various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni
2015-04-16Remove extra flags from r250462.Bryan Drewery
2013-05-10Add option to lockf to avoid creating a file if it does not exist.Eitan Adler
2008-08-21Lockf was exiting with status 1 if the command did not exit normally.David Malone
2007-10-12Revision 1.12 of lockf.c fixed a "thundering herd" scenario when theChristian S.J. Peron
2005-10-09Finish off style(9) fixes which I started two revisions ago. This basicallyChristian S.J. Peron
2005-10-07Do not ignore ENOENTChristian S.J. Peron
2005-10-05Un-break handling of -t 0 which was broken in my previous commit.Christian S.J. Peron
2005-10-05Fix long standing race condition associated with how lockf uses open(2)Christian S.J. Peron
2004-07-15Use warn() instead of perror().Tim J. Robbins
2002-06-30Consistently use FBSDIDDavid E. O'Brien
2001-12-03Warns cleanups.David Malone
1999-08-28$Id$ -> $FreeBSD$Peter Wemm
1998-07-08Add a "-k" option, to specify that the lock file should be keptJohn Polstra
1997-07-22lockf: usage : lockf -> usage: lockf by using fprintf instead of errx.Philippe Charnier
1997-03-29compare return value from getopt against -1 rather than EOF, per the finalWarner Losh
1997-02-22Revert $FreeBSD$ to $Id$Peter Wemm
1997-01-14Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard
1997-01-09On failure, return various exit codes from <sysexits.h>. In particular,John Polstra
1997-01-08Initial import of the lockf utility. It executes an arbitrary commandJohn Polstra