haiku/headers/private/kernel/fs
Adrien Destugues 8bca37d604 vfs: Bind flock locks to file descriptors
* File locks created by flock should only apply for the file descriptor
  that was used to lock the file. Another fd on the same file should then
  be denied access (calling flock should fail).
* fcntl based locks, however, are in a separate namespace and are global
  to a team.
* This issue was found when running webkitpy test suite, and should close
  ticket #13795.
* Don't use session or team as comparison in release_advisory_lock(), as
  that information might not be available anymore (e.g. when called from
  Team::~Team()). This fixes #14121.

Change-Id: I9efb96cfcefe7e72b0060220c635a665e7e643cc
Co-authored-by: Axel Dörfler <axeld@pinc-software.de>
2018-05-22 20:29:21 +00:00
..
devfs.h
fd.h vfs: Bind flock locks to file descriptors 2018-05-22 20:29:21 +00:00
KPath.h KPath: Added LAZY_ALLOC flag. 2017-04-30 17:14:45 +02:00
node_monitor.h
select_sync_pool.h