further abstraction of system calls

This commit is contained in:
Antonio SJ Musumeci 2016-10-20 16:51:49 -04:00
parent 1ad05d7783
commit d0b6cd1f38
8 changed files with 121 additions and 15 deletions

View file

@ -47,7 +47,7 @@ _access(Policy::Func::Search searchFunc,
fs::path::make(basepaths[0],fusepath,fullpath);
rv = fs::access(fullpath,mask,AT_EACCESS);
rv = fs::eaccess(fullpath,mask);
return ((rv == -1) ? -errno : 0);
}