dll: FspAccessCheckEx: test access checks without traverse privilege

This commit is contained in:
Bill Zissimopoulos
2016-10-19 11:54:22 -07:00
parent cb17b7e2e0
commit f642ea57be
9 changed files with 71 additions and 18 deletions

View File

@ -479,12 +479,14 @@ void dirnotify_test(void)
GetCurrentDirectoryW(MAX_PATH - 4, DirBuf + 4);
dirnotify_dotest(-1, DirBuf, 0, 0);
}
if (WinFspDiskTests)
if (WinFspDiskTests && !OptNoTraverseToken
/* WinFsp does not support change notifications without traverse privilege*/)
{
dirnotify_dotest(MemfsDisk, 0, 0, 0);
dirnotify_dotest(MemfsDisk, 0, 1000, 0);
}
if (WinFspNetTests)
if (WinFspNetTests && !OptNoTraverseToken
/* WinFsp does not support change notifications without traverse privilege*/)
{
dirnotify_dotest(MemfsNet, L"\\\\memfs\\share", 0, 0);
dirnotify_dotest(MemfsNet, L"\\\\memfs\\share", 1000, 0);