mirror of
https://github.com/winfsp/winfsp.git
synced 2025-06-14 15:52:47 -05:00
dll: FspAccessCheckEx: test access checks without traverse privilege
This commit is contained in:
@ -2102,12 +2102,14 @@ void stream_dirnotify_test(void)
|
||||
GetCurrentDirectoryW(MAX_PATH - 4, DirBuf + 4);
|
||||
stream_dirnotify_dotest(-1, DirBuf, 0, 0);
|
||||
}
|
||||
if (WinFspDiskTests)
|
||||
if (WinFspDiskTests && !OptNoTraverseToken
|
||||
/* WinFsp does not support change notifications without traverse privilege*/)
|
||||
{
|
||||
stream_dirnotify_dotest(MemfsDisk, 0, 0, 0);
|
||||
stream_dirnotify_dotest(MemfsDisk, 0, 1000, 0);
|
||||
}
|
||||
if (WinFspNetTests)
|
||||
if (WinFspNetTests && !OptNoTraverseToken
|
||||
/* WinFsp does not support change notifications without traverse privilege*/)
|
||||
{
|
||||
stream_dirnotify_dotest(MemfsNet, L"\\\\memfs\\share", 0, 0);
|
||||
stream_dirnotify_dotest(MemfsNet, L"\\\\memfs\\share", 1000, 0);
|
||||
|
Reference in New Issue
Block a user