summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2017-12-23 00:05:11 +0000
committermidipix <writeonce@midipix.org>2017-12-25 08:25:00 -0500
commit20527e404356aff1fd4fb6501c6859a5cbbb4348 (patch)
tree409c0185446d045ee5310c6d9e6990912fcc46de
parent112cac7e8477bcb6f0432a0575c67d70d250eaa1 (diff)
downloadntapi-20527e404356aff1fd4fb6501c6859a5cbbb4348.tar.bz2
ntapi-20527e404356aff1fd4fb6501c6859a5cbbb4348.tar.xz
framework: port guids: replaced NT_PORT_GUID_SYMLNK with NT_PORT_GUID_BRIDGE.
-rw-r--r--include/ntapi/nt_port.h4
-rw-r--r--src/port/ntapi_port_name_helper.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/include/ntapi/nt_port.h b/include/ntapi/nt_port.h
index 86c3d93..ca98967 100644
--- a/include/ntapi/nt_port.h
+++ b/include/ntapi/nt_port.h
@@ -33,7 +33,7 @@ typedef enum _nt_port_type {
NT_PORT_TYPE_SUBSYSTEM, /* {'n','t','c','t','t','y'} */
NT_PORT_TYPE_VMOUNT, /* {'v','m','o','u','n','t'} */
NT_PORT_TYPE_DAEMON, /* {'d','a','e','m','o','n'} */
- NT_PORT_TYPE_SYMLNK, /* {'s','y','m','l','n','k'} */
+ NT_PORT_TYPE_BRIDGE, /* {'b','r','i','d','g','e'} */
NT_PORT_TYPE_NTPROC, /* {'n','t','p','r','o','c'} */
NT_PORT_TYPE_SEMCTL, /* {'s','e','m','c','t','l'} */
NT_PORT_TYPE_SEMSVC, /* {'s','e','m','s','v','c'} */
@@ -55,7 +55,7 @@ typedef enum _nt_port_subtype {
#define NT_PORT_GUID_SUBSYSTEM {0xce7f8d40,0x81cd,0x41c6,{0xa4,0xb7,0xb8,0x35,0x67,0xdf,0x15,0xd9}}
#define NT_PORT_GUID_VMOUNT {0x893d63d2,0x23e8,0x4caa,{0xa8,0x41,0x7f,0x6e,0x77,0x6b,0xd5,0x70}}
#define NT_PORT_GUID_DAEMON {0xcf765d9e,0x6bd8,0x4a8d,{0x8a,0x21,0x17,0x34,0xcd,0x3a,0x8d,0xa7}}
-#define NT_PORT_GUID_SYMLNK {0xfe1b8480,0x833d,0x44df,{0x90,0x99,0xc1,0xf6,0x9c,0x11,0xd4,0x0b}}
+#define NT_PORT_GUID_BRIDGE {0xf5e259cc,0x8bab,0x4c1f,{0x9b,0xf9,0xa8,0xad,0x5a,0xd1,0x34,0xf6}}
#define NT_PORT_GUID_NTPROC {0xd7f3f3a5,0x3e82,0x4f3e,{0x9d,0x6c,0x36,0x18,0xde,0xfa,0xc6,0x69}}
#define NT_PORT_GUID_SEMCTL {0x7850be42,0x7eef,0x4c3d,{0xa7,0x05,0xa4,0xd8,0x47,0x3f,0x67,0x56}}
#define NT_PORT_GUID_SEMSVC {0xa50f4380,0x854a,0x4260,{0x9d,0x8d,0xc2,0xc2,0xa1,0x16,0xde,0xf3}}
diff --git a/src/port/ntapi_port_name_helper.c b/src/port/ntapi_port_name_helper.c
index 3ade3e1..b4f0065 100644
--- a/src/port/ntapi_port_name_helper.c
+++ b/src/port/ntapi_port_name_helper.c
@@ -18,7 +18,7 @@ static const __port_service_prefix __port_service_prefixes[NT_PORT_TYPE_CAP][NT_
{{'n','t','c','t','t','y'}},
{{'v','m','o','u','n','t'}},
{{'d','a','e','m','o','n'}},
- {{'s','y','m','l','n','k'}},
+ {{'b','r','i','d','g','e'}},
{{'n','t','p','r','o','c'}},
{{'s','e','m','c','t','l'}},
{{'s','e','m','s','v','c'}},
@@ -30,7 +30,7 @@ static const nt_guid __port_guids[NT_PORT_TYPE_CAP][NT_PORT_SUBTYPE_CAP] = {
{NT_PORT_GUID_SUBSYSTEM},
{NT_PORT_GUID_VMOUNT},
{NT_PORT_GUID_DAEMON},
- {NT_PORT_GUID_SYMLNK},
+ {NT_PORT_GUID_BRIDGE},
{NT_PORT_GUID_NTPROC},
{NT_PORT_GUID_SEMCTL},
{NT_PORT_GUID_SEMSVC},