ReactOS.org
Sign In
Sign Up
Sign In
Sign Up
Manage this list
×
Keyboard Shortcuts
Thread View
j
: Next unread message
k
: Previous unread message
j a
: Jump to all threads
j l
: Jump to MailingList overview
2024
December
November
October
September
August
July
June
May
April
March
February
January
2023
December
November
October
September
August
July
June
May
April
March
February
January
2022
December
November
October
September
August
July
June
May
April
March
February
January
2021
December
November
October
September
August
July
June
May
April
March
February
January
2020
December
November
October
September
August
July
June
May
April
March
February
January
2019
December
November
October
September
August
July
June
May
April
March
February
January
2018
December
November
October
September
August
July
June
May
April
March
February
January
2017
December
November
October
September
August
July
June
May
April
March
February
January
2016
December
November
October
September
August
July
June
May
April
March
February
January
2015
December
November
October
September
August
July
June
May
April
March
February
January
2014
December
November
October
September
August
July
June
May
April
March
February
January
2013
December
November
October
September
August
July
June
May
April
March
February
January
2012
December
November
October
September
August
July
June
May
April
March
February
January
2011
December
November
October
September
August
July
June
May
April
March
February
January
2010
December
November
October
September
August
July
June
May
April
March
February
January
2009
December
November
October
September
August
July
June
May
April
March
February
January
2008
December
November
October
September
August
July
June
May
April
March
February
January
2007
December
November
October
September
August
July
June
May
April
March
February
January
2006
December
November
October
September
August
July
June
May
April
March
February
January
2005
December
November
October
September
August
July
June
May
April
March
February
January
2004
December
November
October
September
August
July
June
May
April
March
February
List overview
Download
Ros-diffs
June 2017
----- 2024 -----
December 2024
November 2024
October 2024
September 2024
August 2024
July 2024
June 2024
May 2024
April 2024
March 2024
February 2024
January 2024
----- 2023 -----
December 2023
November 2023
October 2023
September 2023
August 2023
July 2023
June 2023
May 2023
April 2023
March 2023
February 2023
January 2023
----- 2022 -----
December 2022
November 2022
October 2022
September 2022
August 2022
July 2022
June 2022
May 2022
April 2022
March 2022
February 2022
January 2022
----- 2021 -----
December 2021
November 2021
October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
----- 2020 -----
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
----- 2019 -----
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
June 2019
May 2019
April 2019
March 2019
February 2019
January 2019
----- 2018 -----
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
----- 2017 -----
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
----- 2016 -----
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
----- 2015 -----
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
----- 2014 -----
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
----- 2013 -----
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
----- 2012 -----
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
----- 2011 -----
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
----- 2010 -----
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
----- 2009 -----
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
----- 2008 -----
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
----- 2007 -----
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
----- 2006 -----
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
----- 2005 -----
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005
----- 2004 -----
December 2004
November 2004
October 2004
September 2004
August 2004
July 2004
June 2004
May 2004
April 2004
March 2004
February 2004
ros-diffs@reactos.org
20 participants
526 discussions
Start a n
N
ew thread
[ekohl] 75111: [NETAPI32] Implement NetConnectionEnum(). This function calls its counterpart in the server service.
by ekohl@svn.reactos.org
Author: ekohl Date: Sun Jun 18 22:43:24 2017 New Revision: 75111 URL:
http://svn.reactos.org/svn/reactos?rev=75111&view=rev
Log: [NETAPI32] Implement NetConnectionEnum(). This function calls its counterpart in the server service. Modified: trunk/reactos/dll/win32/netapi32/netapi32.spec trunk/reactos/dll/win32/netapi32/srvsvc.c Modified: trunk/reactos/dll/win32/netapi32/netapi32.spec URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/netapi3…
============================================================================== --- trunk/reactos/dll/win32/netapi32/netapi32.spec [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netapi32/netapi32.spec [iso-8859-1] Sun Jun 18 22:43:24 2017 @@ -113,7 +113,7 @@ @ stdcall NetConfigGet(wstr wstr wstr ptr) @ stdcall NetConfigGetAll(wstr wstr ptr) @ stdcall NetConfigSet(wstr wstr wstr long long ptr long) -@ stub NetConnectionEnum +@ stdcall NetConnectionEnum(wstr wstr long ptr long ptr ptr ptr) @ stub NetDfsAdd @ stub NetDfsAddFtRoot @ stub NetDfsAddStdRoot Modified: trunk/reactos/dll/win32/netapi32/srvsvc.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/netapi32/srvsvc.…
============================================================================== --- trunk/reactos/dll/win32/netapi32/srvsvc.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/netapi32/srvsvc.c [iso-8859-1] Sun Jun 18 22:43:24 2017 @@ -67,6 +67,80 @@ { TRACE("RpcBindingFree returned 0x%x\n", status); } +} + + +NET_API_STATUS +WINAPI +NetConnectionEnum( + _In_ LMSTR servername, + _In_ LMSTR qualifier, + _In_ DWORD level, + _Out_ LPBYTE *bufptr, + _In_ DWORD prefmaxlen, + _Out_ LPDWORD entriesread, + _Out_ LPDWORD totalentries, + _Inout_ LPDWORD resume_handle) +{ + CONNECT_ENUM_STRUCT EnumStruct; + CONNECT_INFO_0_CONTAINER Level0Container = {0, NULL}; + CONNECT_INFO_1_CONTAINER Level1Container = {0, NULL}; + NET_API_STATUS status = 0; + + TRACE("NetConnectionEnum(%s %s %s %lu %p %lu %p %p %p)\n", + debugstr_w(servername), debugstr_w(qualifier), level, bufptr, + prefmaxlen, entriesread, totalentries, resume_handle); + + if (level > 1) + return ERROR_INVALID_LEVEL; + + EnumStruct.Level = level; + switch (level) + { + case 0: + EnumStruct.ConnectInfo.Level0 = &Level0Container; + break; + + case 1: + EnumStruct.ConnectInfo.Level1 = &Level1Container; + break; + } + + RpcTryExcept + { + status = NetrConnectionEnum(servername, + qualifier, + &EnumStruct, + prefmaxlen, + totalentries, + resume_handle); + + switch (level) + { + case 0: + if (EnumStruct.ConnectInfo.Level0->Buffer != NULL) + { + *bufptr = (LPBYTE)EnumStruct.ConnectInfo.Level0->Buffer; + *entriesread = EnumStruct.ConnectInfo.Level0->EntriesRead; + } + break; + + case 1: + if (EnumStruct.ConnectInfo.Level1->Buffer != NULL) + { + *bufptr = (LPBYTE)EnumStruct.ConnectInfo.Level1->Buffer; + *entriesread = EnumStruct.ConnectInfo.Level1->EntriesRead; + } + break; + } + } + RpcExcept(EXCEPTION_EXECUTE_HANDLER) + { + status = I_RpcMapWin32Status(RpcExceptionCode()); + } + RpcEndExcept; + + return status; }
7 years, 6 months
1
0
0
0
[pschweitzer] 75110: [RXCE] lolfix build
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Sun Jun 18 22:15:34 2017 New Revision: 75110 URL:
http://svn.reactos.org/svn/reactos?rev=75110&view=rev
Log: [RXCE] lolfix build Modified: trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt Modified: trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rxce/CMake…
============================================================================== --- trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt [iso-8859-1] Sun Jun 18 22:15:34 2017 @@ -6,5 +6,9 @@ rxce.c) add_library(rxce ${SOURCE}) +if(NOT MSVC) +target_link_libraries(rxce ntoskrnl memcmp) +else() target_link_libraries(rxce memcmp) +endif() add_dependencies(rxce bugcodes xdk)
7 years, 6 months
1
0
0
0
[hbelusca] 75109: [NFS][RXCE]: Fix MSVC build (definitively?)
by hbelusca@svn.reactos.org
Author: hbelusca Date: Sun Jun 18 21:47:52 2017 New Revision: 75109 URL:
http://svn.reactos.org/svn/reactos?rev=75109&view=rev
Log: [NFS][RXCE]: Fix MSVC build (definitively?) Modified: trunk/reactos/drivers/filesystems/nfs/CMakeLists.txt trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt Modified: trunk/reactos/drivers/filesystems/nfs/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/nfs/CM…
============================================================================== --- trunk/reactos/drivers/filesystems/nfs/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/nfs/CMakeLists.txt [iso-8859-1] Sun Jun 18 21:47:52 2017 @@ -12,7 +12,7 @@ add_library(nfs41_driver SHARED ${SOURCE} nfs.rc) set_module_type(nfs41_driver kernelmodedriver) target_link_libraries(nfs41_driver ntoskrnl_vista rdbsslib ${PSEH_LIB}) -add_importlibs(nfs41_driver hal) +add_importlibs(nfs41_driver ntoskrnl hal) if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")) add_target_compile_flags(nfs41_driver "-Wno-switch") Modified: trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rxce/CMake…
============================================================================== --- trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt [iso-8859-1] Sun Jun 18 21:47:52 2017 @@ -6,5 +6,5 @@ rxce.c) add_library(rxce ${SOURCE}) -target_link_libraries(rxce ntoskrnl memcmp) +target_link_libraries(rxce memcmp) add_dependencies(rxce bugcodes xdk)
7 years, 6 months
1
0
0
0
[ekohl] 75108: [NTOS:SE] Add the CmpAssignSecurityDescriptor() stub and improve some comments.
by ekohl@svn.reactos.org
Author: ekohl Date: Sun Jun 18 21:43:09 2017 New Revision: 75108 URL:
http://svn.reactos.org/svn/reactos?rev=75108&view=rev
Log: [NTOS:SE] Add the CmpAssignSecurityDescriptor() stub and improve some comments. Modified: trunk/reactos/ntoskrnl/config/cmse.c Modified: trunk/reactos/ntoskrnl/config/cmse.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/config/cmse.c?rev…
============================================================================== --- trunk/reactos/ntoskrnl/config/cmse.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/config/cmse.c [iso-8859-1] Sun Jun 18 21:43:09 2017 @@ -249,6 +249,15 @@ } NTSTATUS +CmpAssignSecurityDescriptor(IN PCM_KEY_CONTROL_BLOCK Kcb, + IN PSECURITY_DESCRIPTOR SecurityDescriptor) +{ + DPRINT("CmpAssignSecurityDescriptor(%p %p)\n", + Kcb, SecurityDescriptor); + return STATUS_SUCCESS; +} + +NTSTATUS NTAPI CmpSecurityMethod(IN PVOID ObjectBody, IN SECURITY_OPERATION_CODE OperationCode, @@ -267,7 +276,7 @@ Kcb = ((PCM_KEY_BODY)ObjectBody)->KeyControlBlock; - /* Acquire hive lock */ + /* Acquire the hive lock */ CmpLockRegistry(); /* Acquire the KCB lock */ @@ -283,10 +292,10 @@ /* Don't touch deleted keys */ if (Kcb->Delete) { - /* Unlock the KCB */ + /* Release the KCB lock */ CmpReleaseKcbLock(Kcb); - /* Unlock the HIVE */ + /* Release the hive lock */ CmpUnlockRegistry(); return STATUS_KEY_DELETED; } @@ -318,17 +327,18 @@ case AssignSecurityDescriptor: DPRINT("Assign security descriptor\n"); - /* HACK */ + Status = CmpAssignSecurityDescriptor(Kcb, + SecurityDescriptor); break; default: KeBugCheckEx(SECURITY_SYSTEM, 0, STATUS_INVALID_PARAMETER, 0, 0); } - /* Unlock the KCB */ + /* Release the KCB lock */ CmpReleaseKcbLock(Kcb); - /* Unlock the hive */ + /* Release the hive lock */ CmpUnlockRegistry(); return Status;
7 years, 6 months
1
0
0
0
[pschweitzer] 75107: [NFS] Remove dependency already brought in by rxce
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Sun Jun 18 21:40:52 2017 New Revision: 75107 URL:
http://svn.reactos.org/svn/reactos?rev=75107&view=rev
Log: [NFS] Remove dependency already brought in by rxce Modified: trunk/reactos/drivers/filesystems/nfs/CMakeLists.txt Modified: trunk/reactos/drivers/filesystems/nfs/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/nfs/CM…
============================================================================== --- trunk/reactos/drivers/filesystems/nfs/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/nfs/CMakeLists.txt [iso-8859-1] Sun Jun 18 21:40:52 2017 @@ -12,7 +12,7 @@ add_library(nfs41_driver SHARED ${SOURCE} nfs.rc) set_module_type(nfs41_driver kernelmodedriver) target_link_libraries(nfs41_driver ntoskrnl_vista rdbsslib ${PSEH_LIB}) -add_importlibs(nfs41_driver ntoskrnl hal) +add_importlibs(nfs41_driver hal) if((NOT MSVC) AND (NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")) add_target_compile_flags(nfs41_driver "-Wno-switch")
7 years, 6 months
1
0
0
0
[pschweitzer] 75106: [RDBSS] Clean up CMake files, based on suggestions by Hermès. Might fix MSVC build.
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Sun Jun 18 21:27:56 2017 New Revision: 75106 URL:
http://svn.reactos.org/svn/reactos?rev=75106&view=rev
Log: [RDBSS] Clean up CMake files, based on suggestions by Hermès. Might fix MSVC build. Modified: trunk/reactos/sdk/lib/drivers/rdbsslib/CMakeLists.txt trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt trunk/reactos/sdk/lib/drivers/rxce/rxce.c Modified: trunk/reactos/sdk/lib/drivers/rdbsslib/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rdbsslib/C…
============================================================================== --- trunk/reactos/sdk/lib/drivers/rdbsslib/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/sdk/lib/drivers/rdbsslib/CMakeLists.txt [iso-8859-1] Sun Jun 18 21:27:56 2017 @@ -1,4 +1,4 @@ -add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -DRDBSS_TRACKER) +add_definitions(-DUNICODE -D_UNICODE -DRDBSS_TRACKER) include_directories(${REACTOS_SOURCE_DIR}/drivers/filesystems/mup) @@ -7,4 +7,4 @@ add_library(rdbsslib ${SOURCE}) target_link_libraries(rdbsslib rxce) -add_dependencies(rdbsslib rxce bugcodes xdk) +add_dependencies(rdbsslib bugcodes xdk) Modified: trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rxce/CMake…
============================================================================== --- trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt [iso-8859-1] (original) +++ trunk/reactos/sdk/lib/drivers/rxce/CMakeLists.txt [iso-8859-1] Sun Jun 18 21:27:56 2017 @@ -1,4 +1,4 @@ -add_definitions(-DUNICODE -D_UNICODE -D__NTOSKRNL__ -D_NTOSKRNL_ -DRDBSS_TRACKER) +add_definitions(-DUNICODE -D_UNICODE -DRDBSS_TRACKER) include_directories(${REACTOS_SOURCE_DIR}/drivers/filesystems/mup) @@ -7,4 +7,4 @@ add_library(rxce ${SOURCE}) target_link_libraries(rxce ntoskrnl memcmp) -add_dependencies(rxce bugcodes xdk ntoskrnl) +add_dependencies(rxce bugcodes xdk) Modified: trunk/reactos/sdk/lib/drivers/rxce/rxce.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/sdk/lib/drivers/rxce/rxce.…
============================================================================== --- trunk/reactos/sdk/lib/drivers/rxce/rxce.c [iso-8859-1] (original) +++ trunk/reactos/sdk/lib/drivers/rxce/rxce.c [iso-8859-1] Sun Jun 18 21:27:56 2017 @@ -4686,7 +4686,7 @@ /* Reference ourselves */ CurrentThread = PsGetCurrentThread(); - Status = ObReferenceObjectByPointer(CurrentThread, THREAD_ALL_ACCESS, PsThreadType, KernelMode); + Status = ObReferenceObjectByPointer(CurrentThread, THREAD_ALL_ACCESS, *PsThreadType, KernelMode); ASSERT(NT_SUCCESS(Status)); /* Infinite loop for worker */ @@ -4926,7 +4926,7 @@ NTSTATUS Status; PRX_DISPATCHER RxDispatcher; - Status = ObReferenceObjectByPointer(PsGetCurrentThread(), THREAD_ALL_ACCESS, PsThreadType, KernelMode); + Status = ObReferenceObjectByPointer(PsGetCurrentThread(), THREAD_ALL_ACCESS, *PsThreadType, KernelMode); if (!NT_SUCCESS(Status)) { PsTerminateSystemThread(STATUS_SUCCESS);
7 years, 6 months
1
0
0
0
[pschweitzer] 75105: [NFS] Import the NFS file system mini-redirector and the associated network provider. Not all the pieces are in place to make it working. CORE-8204
by pschweitzer@svn.reactos.org
Author: pschweitzer Date: Sun Jun 18 20:49:46 2017 New Revision: 75105 URL:
http://svn.reactos.org/svn/reactos?rev=75105&view=rev
Log: [NFS] Import the NFS file system mini-redirector and the associated network provider. Not all the pieces are in place to make it working. CORE-8204 Added: trunk/reactos/dll/np/ trunk/reactos/dll/np/CMakeLists.txt (with props) trunk/reactos/dll/np/nfs/ trunk/reactos/dll/np/nfs/CMakeLists.txt (with props) trunk/reactos/dll/np/nfs/dllmain.c (with props) trunk/reactos/dll/np/nfs/nfs41_np.c (with props) trunk/reactos/dll/np/nfs/nfs41_np.h (with props) trunk/reactos/dll/np/nfs/nfs41_np.spec (with props) trunk/reactos/dll/np/nfs/nfsnp.rc (with props) trunk/reactos/dll/np/nfs/options.c (with props) trunk/reactos/dll/np/nfs/options.h (with props) trunk/reactos/drivers/filesystems/nfs/ trunk/reactos/drivers/filesystems/nfs/CMakeLists.txt (with props) trunk/reactos/drivers/filesystems/nfs/nfs.rc (with props) trunk/reactos/drivers/filesystems/nfs/nfs41_debug.c (with props) trunk/reactos/drivers/filesystems/nfs/nfs41_debug.h (with props) trunk/reactos/drivers/filesystems/nfs/nfs41_driver.c (with props) trunk/reactos/drivers/filesystems/nfs/nfs41_driver.h (with props) Modified: trunk/reactos/dll/CMakeLists.txt trunk/reactos/drivers/filesystems/CMakeLists.txt [This mail would be too long, it was shortened to contain the URLs only.] Modified: trunk/reactos/dll/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/CMakeLists.txt?rev=751…
Added: trunk/reactos/dll/np/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/np/CMakeLists.txt?rev=…
Added: trunk/reactos/dll/np/nfs/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/np/nfs/CMakeLists.txt?…
Added: trunk/reactos/dll/np/nfs/dllmain.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/np/nfs/dllmain.c?rev=7…
Added: trunk/reactos/dll/np/nfs/nfs41_np.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/np/nfs/nfs41_np.c?rev=…
Added: trunk/reactos/dll/np/nfs/nfs41_np.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/np/nfs/nfs41_np.h?rev=…
Added: trunk/reactos/dll/np/nfs/nfs41_np.spec URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/np/nfs/nfs41_np.spec?r…
Added: trunk/reactos/dll/np/nfs/nfsnp.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/np/nfs/nfsnp.rc?rev=75…
Added: trunk/reactos/dll/np/nfs/options.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/np/nfs/options.c?rev=7…
Added: trunk/reactos/dll/np/nfs/options.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/np/nfs/options.h?rev=7…
Modified: trunk/reactos/drivers/filesystems/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/CMakeL…
Added: trunk/reactos/drivers/filesystems/nfs/CMakeLists.txt URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/nfs/CM…
Added: trunk/reactos/drivers/filesystems/nfs/nfs.rc URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/nfs/nf…
Added: trunk/reactos/drivers/filesystems/nfs/nfs41_debug.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/nfs/nf…
Added: trunk/reactos/drivers/filesystems/nfs/nfs41_debug.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/nfs/nf…
Added: trunk/reactos/drivers/filesystems/nfs/nfs41_driver.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/nfs/nf…
Added: trunk/reactos/drivers/filesystems/nfs/nfs41_driver.h URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/nfs/nf…
7 years, 6 months
1
0
0
0
[tfaber] 75104: [NTOS:MM] - Directly pass the file object to MmCreateDataFileSection
by tfaber@svn.reactos.org
Author: tfaber Date: Sun Jun 18 20:10:44 2017 New Revision: 75104 URL:
http://svn.reactos.org/svn/reactos?rev=75104&view=rev
Log: [NTOS:MM] - Directly pass the file object to MmCreateDataFileSection Modified: trunk/reactos/ntoskrnl/mm/section.c Modified: trunk/reactos/ntoskrnl/mm/section.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/mm/section.c?rev=…
============================================================================== --- trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/mm/section.c [iso-8859-1] Sun Jun 18 20:10:44 2017 @@ -2898,7 +2898,7 @@ PLARGE_INTEGER UMaximumSize, ULONG SectionPageProtection, ULONG AllocationAttributes, - HANDLE FileHandle) + PFILE_OBJECT FileObject) /* * Create a section backed by a data file */ @@ -2906,9 +2906,7 @@ PROS_SECTION_OBJECT Section; NTSTATUS Status; LARGE_INTEGER MaximumSize; - PFILE_OBJECT FileObject; PMM_SECTION_SEGMENT Segment; - ULONG FileAccess; FILE_STANDARD_INFORMATION FileInfo; ULONG Length; @@ -2926,6 +2924,7 @@ (PVOID*)&Section); if (!NT_SUCCESS(Status)) { + ObDereferenceObject(FileObject); return(Status); } /* @@ -2936,22 +2935,6 @@ Section->Size = 'TN'; Section->SectionPageProtection = SectionPageProtection; Section->AllocationAttributes = AllocationAttributes; - - /* - * Reference the file handle - */ - FileAccess = MiArm3GetCorrectFileAccessMask(SectionPageProtection); - Status = ObReferenceObjectByHandle(FileHandle, - FileAccess, - IoFileObjectType, - ExGetPreviousMode(), - (PVOID*)(PVOID)&FileObject, - NULL); - if (!NT_SUCCESS(Status)) - { - ObDereferenceObject(Section); - return(Status); - } /* * FIXME: This is propably not entirely correct. We can't look into @@ -5132,9 +5115,7 @@ MaximumSize, SectionPageProtection, AllocationAttributes, - FileHandle); - if (FileObject) - ObDereferenceObject(FileObject); + FileObject); } #else else if (FileHandle != NULL || FileObject != NULL)
7 years, 6 months
1
0
0
0
[tfaber] 75103: [NTOS:PNP] - If PFN tracing is enabled, create a device object that allows the user to trigger a PFN dump (e.g. via "type \\.\Global\GLOBALROOT\Device\PfnDump")
by tfaber@svn.reactos.org
Author: tfaber Date: Sun Jun 18 19:48:45 2017 New Revision: 75103 URL:
http://svn.reactos.org/svn/reactos?rev=75103&view=rev
Log: [NTOS:PNP] - If PFN tracing is enabled, create a device object that allows the user to trigger a PFN dump (e.g. via "type \\.\Global\GLOBALROOT\Device\PfnDump") Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c Modified: trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/io/pnpmgr/pnproot…
============================================================================== --- trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c [iso-8859-1] (original) +++ trunk/reactos/ntoskrnl/io/pnpmgr/pnproot.c [iso-8859-1] Sun Jun 18 19:48:45 2017 @@ -1344,19 +1344,75 @@ return STATUS_SUCCESS; } +#if MI_TRACE_PFNS +PDEVICE_OBJECT IopPfnDumpDeviceObject; + +NTSTATUS NTAPI +PnpRootCreateClose( + _In_ PDEVICE_OBJECT DeviceObject, + _In_ PIRP Irp) +{ + PIO_STACK_LOCATION IoStack; + + if (DeviceObject != IopPfnDumpDeviceObject) + { + Irp->IoStatus.Status = STATUS_INVALID_DEVICE_REQUEST; + IoCompleteRequest(Irp, IO_NO_INCREMENT); + return STATUS_INVALID_DEVICE_REQUEST; + } + + IoStack = IoGetCurrentIrpStackLocation(Irp); + if (IoStack->MajorFunction == IRP_MJ_CREATE) + { + MmDumpArmPfnDatabase(TRUE); + } + + Irp->IoStatus.Status = STATUS_SUCCESS; + IoCompleteRequest(Irp, IO_NO_INCREMENT); + return STATUS_SUCCESS; +} +#endif + NTSTATUS NTAPI PnpRootDriverEntry( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath) { +#if MI_TRACE_PFNS + NTSTATUS Status; + UNICODE_STRING PfnDumpDeviceName = RTL_CONSTANT_STRING(L"\\Device\\PfnDump"); +#endif + DPRINT("PnpRootDriverEntry(%p %wZ)\n", DriverObject, RegistryPath); IopRootDriverObject = DriverObject; DriverObject->DriverExtension->AddDevice = PnpRootAddDevice; +#if MI_TRACE_PFNS + DriverObject->MajorFunction[IRP_MJ_CREATE] = PnpRootCreateClose; + DriverObject->MajorFunction[IRP_MJ_CLOSE] = PnpRootCreateClose; +#endif DriverObject->MajorFunction[IRP_MJ_PNP] = PnpRootPnpControl; DriverObject->MajorFunction[IRP_MJ_POWER] = PnpRootPowerControl; +#if MI_TRACE_PFNS + Status = IoCreateDevice(DriverObject, + 0, + &PfnDumpDeviceName, + FILE_DEVICE_UNKNOWN, + 0, + FALSE, + &IopPfnDumpDeviceObject); + if (!NT_SUCCESS(Status)) + { + DPRINT1("Creating PFN Dump device failed with %lx\n", Status); + } + else + { + IopPfnDumpDeviceObject->Flags &= ~DO_DEVICE_INITIALIZING; + } +#endif + return STATUS_SUCCESS; }
7 years, 6 months
1
0
0
0
[tfaber] 75102: [NPFS] - Misc changes to improve code clarity
by tfaber@svn.reactos.org
Author: tfaber Date: Sun Jun 18 18:08:52 2017 New Revision: 75102 URL:
http://svn.reactos.org/svn/reactos?rev=75102&view=rev
Log: [NPFS] - Misc changes to improve code clarity Modified: trunk/reactos/drivers/filesystems/npfs/create.c trunk/reactos/drivers/filesystems/npfs/fsctrl.c trunk/reactos/drivers/filesystems/npfs/strucsup.c trunk/reactos/drivers/filesystems/npfs/volinfo.c Modified: trunk/reactos/drivers/filesystems/npfs/create.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs/c…
============================================================================== --- trunk/reactos/drivers/filesystems/npfs/create.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/npfs/create.c [iso-8859-1] Sun Jun 18 18:08:52 2017 @@ -676,7 +676,7 @@ if (!(Parameters->TimeoutSpecified) || !(Parameters->MaximumInstances) || - (Parameters->DefaultTimeout.HighPart >= 0)) + (Parameters->DefaultTimeout.QuadPart >= 0)) { Status = STATUS_INVALID_PARAMETER; goto Quickie; @@ -706,7 +706,8 @@ goto Quickie; } - if (!Parameters->NamedPipeType && Parameters->ReadMode == 1) + if (Parameters->NamedPipeType == FILE_PIPE_BYTE_STREAM_TYPE && + Parameters->ReadMode == FILE_PIPE_MESSAGE_MODE) { Status = STATUS_INVALID_PARAMETER; goto Quickie; Modified: trunk/reactos/drivers/filesystems/npfs/fsctrl.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs/f…
============================================================================== --- trunk/reactos/drivers/filesystems/npfs/fsctrl.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/npfs/fsctrl.c [iso-8859-1] Sun Jun 18 18:08:52 2017 @@ -547,7 +547,7 @@ } Status = NpWriteDataQueue(WriteQueue, - 1, + FILE_PIPE_MESSAGE_MODE, InBuffer, InLength, Ccb->Fcb->NamedPipeType, Modified: trunk/reactos/drivers/filesystems/npfs/strucsup.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs/s…
============================================================================== --- trunk/reactos/drivers/filesystems/npfs/strucsup.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/npfs/strucsup.c [iso-8859-1] Sun Jun 18 18:08:52 2017 @@ -15,7 +15,7 @@ /* GLOBALS ********************************************************************/ -PWCHAR NpRootDCBName = L"\\"; +WCHAR NpRootDCBName[] = L"\\"; PNP_VCB NpVcb; /* FUNCTIONS ******************************************************************/ @@ -188,8 +188,8 @@ InitializeListHead(&Dcb->FcbList); Dcb->FullName.Buffer = NpRootDCBName; - Dcb->FullName.Length = 2; - Dcb->FullName.MaximumLength = 4; + Dcb->FullName.Length = sizeof(NpRootDCBName) - sizeof(UNICODE_NULL); + Dcb->FullName.MaximumLength = sizeof(NpRootDCBName); Dcb->ShortName.Length = Dcb->FullName.Length; Dcb->ShortName.MaximumLength = Dcb->FullName.MaximumLength; Modified: trunk/reactos/drivers/filesystems/npfs/volinfo.c URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/filesystems/npfs/v…
============================================================================== --- trunk/reactos/drivers/filesystems/npfs/volinfo.c [iso-8859-1] (original) +++ trunk/reactos/drivers/filesystems/npfs/volinfo.c [iso-8859-1] Sun Jun 18 18:08:52 2017 @@ -27,8 +27,7 @@ *Length -= FIELD_OFFSET(FILE_FS_VOLUME_INFORMATION, VolumeLabel); - InfoBuffer->VolumeCreationTime.LowPart = 0; - InfoBuffer->VolumeCreationTime.HighPart = 0; + InfoBuffer->VolumeCreationTime.QuadPart = 0; InfoBuffer->VolumeSerialNumber = 0; InfoBuffer->SupportsObjects = 0;
7 years, 6 months
1
0
0
0
← Newer
1
...
12
13
14
15
16
17
18
...
53
Older →
Jump to page:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Results per page:
10
25
50
100
200