summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_lockf.c
AgeCommit message (Expand)Author
2022-06-02Stop hiding a few assertions behind the opt-in LOCKF_DIAGNOSTIC option.Anton Lindqvist
2022-06-01Fix ambiguity with lock range endVisa Hankala
2022-06-01Fix lock range start when l_whence == SEEK_END and l_len < 0.Visa Hankala
2022-04-27Remove the lock if an identical overlapping one is already present.Anton Lindqvist
2019-12-02Replace rwsleep(9) with rwsleep_nsec(9) in vfs_lockf.c.Visa Hankala
2019-12-02Remove now unneeded kernel locking from vfs_lockf.c.Visa Hankala
2019-05-12no need to store the wmesg passed to rwsleep() as a static variable anymoreanton
2019-05-11Restore previous behavior of limiting deadlock detection to posix-styleanton
2019-05-08group function prototypesanton
2019-05-06Bring back lockf deadlock detection from the dead. Back in 2007, the deadlockanton
2019-04-20print locked range in decimal in debug routinesanton
2019-04-20Move lockf structures from header to implementation since external usersanton
2019-04-19Add a subsystem lock for vfs_lockf.c. This enables calling lf_advlock()Visa Hankala
2019-03-31Move the prototypes of internal lockf functions from <sys/lockf.h>Visa Hankala
2019-02-24always include the lock id address in debug outputanton
2019-02-24initialize struct lockf fields in a consistent order; ok millert@ mpi@ visa@anton
2019-01-30Replace hand rolled linked list with TAILQ. All made possible by the recentanton
2019-01-21Introduce a dedicated entry point data structure for file locks. This new dataanton
2018-11-10use the LFPRINTF() debug macro consistently; ok mpi@anton
2018-11-10Conform to POSIX-2001 in which the behavior of passing a negative length usinganton
2018-11-02make debug flags continuousanton
2018-10-27Add assertions for lockf list manipulation, hidden behind LOCKF_DIAGNOSTIC.anton
2018-10-27Rework previous lockf fix; bluhm@ noticed a regress failure during consecutiveanton
2018-10-06When freeing a lockf struct that already is part of a linked list, make sure toanton
2018-02-26Serialize access to UID data with a rwlock.Martin Pieuchot
2016-11-07Split PID from TID, giving processes a PID unrelated to the TID of theirPhilip Guenther
2016-09-15all pools have their ipl set via pool_setipl, so fold it into pool_init.David Gwynne
2016-08-25pool_setiplDavid Gwynne
2015-12-22spliting -> splittingmmcc
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-19start retiring the nointr allocator. specify PR_WAITOK as a flag as aTed Unangst
2014-11-03include sys/unistd.h where needed instead of indirect reliance. ok jsgTed Unangst
2012-04-10POSIX locks should track the process's pid and not the thread's idPhilip Guenthe
2010-06-29correct some minor style violationsTed Unangst
2009-03-24only apply the strict limit on F_SETLK; ok deraadt@ fgsch@Otto Moerbeek
2009-03-23advisory locks should return ENOLCK if we're out of locks.Otto Moerbeek
2008-09-19Fix a bunch of problems and races with posix file locking.Artur Grabowski
2005-11-20Use ANSI function declarations and deregister, no binary changePedro Martelletto
2005-03-15revise lockf limit policy. after exceeding "soft limit", start enforcingTed Unangst
2005-03-10split out uidinfo from kern_proc.c private, use it to store lock count,Ted Unangst
2004-04-13useless caddr_t cast removal. same md5s.Ted Unangst
2004-01-14Get rid of M_LOCKF and use pool for allocating lockf structures.Alexander Yurchenko
2003-07-21remove caddr_t casts. it's just silly to cast something when the functionTed Unangst
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
2001-09-05use %ll instead of %qTheo de Raadt
2001-07-28Check for negative lock length.Grigoriy Orlov
2001-06-20Fix PR1826. tsleep in lf_setlock can return 0 if process was ptrace'd,Grigoriy Orlov
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt