summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2015-12-22 20:37:34 +0000
committerkib <kib@FreeBSD.org>2015-12-22 20:37:34 +0000
commit76abdf80abd52cbd12cc65ecf3dde21790190789 (patch)
treee2a5d62f098471bcf5bafa2b393dd67bf0fadc43 /tools
parent3808bf980c2c46dcb44722f214c1d89db5b6c04d (diff)
downloadFreeBSD-src-76abdf80abd52cbd12cc65ecf3dde21790190789.zip
FreeBSD-src-76abdf80abd52cbd12cc65ecf3dde21790190789.tar.gz
Make it possible for the cdevsw d_close() driver method to detect last
close and close due to revoke(2)-like operation. A new FLASTCLOSE flag indicates that this is last close. FREVOKE is set for revokes, and FNONBLOCK is also set, same as is already done for VOP_CLOSE() call from vgonel(). The flags reuse user open(2) flags which are never stored in f_flag, to not consume bit space in the ABI visible way. Assert this with the static check. Requested and reviewed by: bde Sponsored by: The FreeBSD Foundation MFC after: 2 weeks
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud