mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-10-26 19:01:56 -04:00
make changing credentials opportunistic + per thread setgroups cache
closes #129,#131
This commit is contained in:
parent
b194272e39
commit
3163258a33
31 changed files with 380 additions and 168 deletions
|
|
@ -25,6 +25,7 @@
|
|||
#include <fuse.h>
|
||||
|
||||
#include "config.hpp"
|
||||
#include "ugid.hpp"
|
||||
|
||||
namespace mergerfs
|
||||
{
|
||||
|
|
@ -33,6 +34,8 @@ namespace mergerfs
|
|||
void *
|
||||
init(fuse_conn_info *conn)
|
||||
{
|
||||
ugid::init();
|
||||
|
||||
#ifdef FUSE_CAP_ASYNC_READ
|
||||
conn->want |= FUSE_CAP_ASYNC_READ;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue