Merge branch 'rnou/357-missing-libc-interception-functions-may-lead-to-silently-working-calls' into 'master'
Resolve "missing libc interception functions may lead to silently working calls"
Closes #357
Closes #357
See merge request !251
- Lock system (server level) ([!245](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/245))
- Use PROTECT_FILES_GENERATOR=1 and PROTECT_FILES_CONSUMER=1 to enable. Generator, creates transparent .lockgekko files that blocks the open (for some seconds) of any consumer. Multiple opens / closes for generator are managed.
- Basic mmap support ([!247](https://storage.bsc.es/gitlab/hpc/gekkofs/-/merge_requests/245))
@@ -610,6 +610,7 @@ until the file is closed. The cache does not impact the consistency of the file
##### Protecting FDs
When the user creates a fd, this is protected from normal fds with a recolocation. This theoretically protects the fd from being closed from outside. However a new fd assignation system has been developed and is activated by default.
-`LIBGKFS_PROTECT_FD=1` - Enable the original method of assignation and protection.
-`LIBGKFS_RANGE_FD=1`- Enables FDs from 10000, virtual, but does not protect them.