Add callbacks for newer functions

* setupmapping
* removemapping
* syncfs
* tmpfile
This commit is contained in:
Antonio SJ Musumeci 2023-08-12 01:50:37 -05:00
parent 9849bcd3cf
commit 6dcf6111af
14 changed files with 411 additions and 2 deletions

View file

@ -28,7 +28,7 @@ namespace ugid
initgroups(const uid_t uid_,
const gid_t gid_)
{
static __thread gid_t_cache cache = {0};
static thread_local gid_t_cache cache = {0};
cache.initgroups(uid_,gid_);
}