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 Style cleanup. 2012-10-08 13:59:16 +02:00
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 * {add|remove}_node_listener() erroneously had "dev_t" as type of "node". 2008-07-09 13:04:54 +00:00
select_sync_pool.h * Renamed fs/vfs_select.cpp to wait_for_objects.cpp and got rid of 2007-10-02 19:47:31 +00:00