CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/01/21 11:09:21
Modified files:
sys/kern : vfs_lockf.c vfs_subr.c
sys/msdosfs : denode.h
sys/nfs : nfsnode.h
sys/sys : fcntl.h lockf.h specdev.h
sys/tmpfs : tmpfs.h
sys/ufs/ufs : inode.h
Log message:
Introduce a dedicated entry point data structure for file locks. This new data
structure allows for better tracking of pending lock operations which is
essential in order to prevent a use-after-free once the underlying vnode is
gone.
Inspired by the lockf implementation in FreeBSD.
ok visa@
Reported-by: [email protected]