sys: IoCreateDeviceSecure: tighten down who can open the device

This commit is contained in:
Bill Zissimopoulos
2015-11-21 16:37:46 -08:00
parent d6d98384f2
commit 7dda01ef48
5 changed files with 33 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/**
* @file sys/fsctl.h
* @file winfsp/fsctl.h
*
* @copyright 2015 Bill Zissimopoulos
*/
@@ -9,6 +9,10 @@
#include <devioctl.h>
// {6F9D25FA-6DEE-4A9D-80F5-E98E14F35E54}
extern const __declspec(selectany) GUID FspDeviceClassGuid =
{ 0x6f9d25fa, 0x6dee, 0x4a9d, { 0x80, 0xf5, 0xe9, 0x8e, 0x14, 0xf3, 0x5e, 0x54 } };
#define FSP_FSCTL_DISK_DEVICE_NAME "WinFsp.Disk"
#define FSP_FSCTL_NET_DEVICE_NAME "WinFsp.Net"