stop clonepath at base directory. fixes #467

This commit is contained in:
Antonio SJ Musumeci 2018-03-07 18:24:47 -05:00
parent 62ae871d51
commit f48c16d162
14 changed files with 238 additions and 267 deletions

View file

@ -22,17 +22,14 @@
#include "ugid_rwlock.icpp"
#endif
namespace mergerfs
namespace ugid
{
namespace ugid
void
initgroups(const uid_t uid,
const gid_t gid)
{
void
initgroups(const uid_t uid,
const gid_t gid)
{
static __thread gid_t_cache cache = {0};
static __thread gid_t_cache cache = {0};
cache.initgroups(uid,gid);
}
cache.initgroups(uid,gid);
}
}