Austin English : ksecdd.sys: Add stub driver.

Alexandre Julliard julliard at winehq.org
Fri Apr 5 16:04:59 CDT 2019


Module: wine
Branch: master
Commit: 107106220be454906a56e3ef0eba095ea2a7f280
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=107106220be454906a56e3ef0eba095ea2a7f280

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Apr  3 02:19:21 2019 -0500

ksecdd.sys: Add stub driver.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=46898
Signed-off-by: Austin English <austinenglish at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 configure                       |   2 +
 configure.ac                    |   1 +
 dlls/ksecdd.sys/Makefile.in     |   7 +++
 dlls/ksecdd.sys/ksecdd.sys.spec | 104 ++++++++++++++++++++++++++++++++++++++++
 dlls/ksecdd.sys/main.c          |  35 ++++++++++++++
 dlls/ksecdd.sys/version.rc      |  26 ++++++++++
 loader/wine.inf.in              |   2 +
 7 files changed, 177 insertions(+)

diff --git a/configure b/configure
index dd0473b..ee80a75 100755
--- a/configure
+++ b/configure
@@ -1359,6 +1359,7 @@ enable_jsproxy
 enable_kerberos
 enable_kernel32
 enable_kernelbase
+enable_ksecdd_sys
 enable_ksuser
 enable_ktmw32
 enable_l3codeca_acm
@@ -20214,6 +20215,7 @@ wine_fn_config_makefile dlls/kernelbase enable_kernelbase
 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
+wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
 wine_fn_config_makefile dlls/ksuser enable_ksuser
 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
diff --git a/configure.ac b/configure.ac
index 2b0c8e1..1311309 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3374,6 +3374,7 @@ WINE_CONFIG_MAKEFILE(dlls/kernelbase)
 WINE_CONFIG_MAKEFILE(dlls/kernelbase/tests)
 WINE_CONFIG_MAKEFILE(dlls/keyboard.drv16,enable_win16)
 WINE_CONFIG_MAKEFILE(dlls/krnl386.exe16,enable_win16)
+WINE_CONFIG_MAKEFILE(dlls/ksecdd.sys)
 WINE_CONFIG_MAKEFILE(dlls/ksuser)
 WINE_CONFIG_MAKEFILE(dlls/ktmw32)
 WINE_CONFIG_MAKEFILE(dlls/l3codeca.acm)
diff --git a/dlls/ksecdd.sys/Makefile.in b/dlls/ksecdd.sys/Makefile.in
new file mode 100644
index 0000000..9b6430e
--- /dev/null
+++ b/dlls/ksecdd.sys/Makefile.in
@@ -0,0 +1,7 @@
+MODULE    = ksecdd.sys
+EXTRADLLFLAGS = -Wl,--subsystem,native
+
+C_SRCS = \
+	main.c
+
+RC_SRCS = version.rc
diff --git a/dlls/ksecdd.sys/ksecdd.sys.spec b/dlls/ksecdd.sys/ksecdd.sys.spec
new file mode 100644
index 0000000..31b1b35
--- /dev/null
+++ b/dlls/ksecdd.sys/ksecdd.sys.spec
@@ -0,0 +1,104 @@
+@ stub SystemPrng
+@ stub AcceptSecurityContext
+@ stub AcquireCredentialsHandleW
+@ stub AddCredentialsW
+@ stub ApplyControlToken
+@ stub BCryptCloseAlgorithmProvider
+@ stub BCryptCreateHash
+@ stub BCryptDecrypt
+@ stub BCryptDeriveKey
+@ stub BCryptDeriveKeyCapi
+@ stub BCryptDeriveKeyPBKDF2
+@ stub BCryptDestroyHash
+@ stub BCryptDestroyKey
+@ stub BCryptDestroySecret
+@ stub BCryptDuplicateHash
+@ stub BCryptDuplicateKey
+@ stub BCryptEncrypt
+@ stub BCryptEnumAlgorithms
+@ stub BCryptEnumProviders
+@ stub BCryptExportKey
+@ stub BCryptFinalizeKeyPair
+@ stub BCryptFinishHash
+@ stub BCryptFreeBuffer
+@ stub BCryptGenRandom
+@ stub BCryptGenerateKeyPair
+@ stub BCryptGenerateSymmetricKey
+@ stub BCryptGetFipsAlgorithmMode
+@ stub BCryptGetProperty
+@ stub BCryptHashData
+@ stub BCryptImportKey
+@ stub BCryptImportKeyPair
+@ stub BCryptKeyDerivation
+@ stub BCryptOpenAlgorithmProvider
+@ stub BCryptRegisterConfigChangeNotify
+@ stub BCryptResolveProviders
+@ stub BCryptSecretAgreement
+@ stub BCryptSetProperty
+@ stub BCryptSignHash
+@ stub BCryptUnregisterConfigChangeNotify
+@ stub BCryptVerifySignature
+@ stub CompleteAuthToken
+@ stub CredMarshalTargetInfo
+@ stub DeleteSecurityContext
+@ stub EnumerateSecurityPackagesW
+@ stub ExportSecurityContext
+@ stub FreeContextBuffer
+@ stub FreeCredentialsHandle
+@ stub GetSecurityUserInfo
+@ stub ImpersonateSecurityContext
+@ stub ImportSecurityContextW
+@ stub InitSecurityInterfaceW
+@ stub InitializeSecurityContextW
+@ stub KSecRegisterSecurityProvider
+@ stub KSecValidateBuffer
+@ stub LsaEnumerateLogonSessions
+@ stub LsaGetLogonSessionData
+@ stub MakeSignature
+@ stub MapSecurityError
+@ stub QueryContextAttributesW
+@ stub QueryCredentialsAttributesW
+@ stub QuerySecurityContextToken
+@ stub QuerySecurityPackageInfoW
+@ stub RevertSecurityContext
+@ stub SealMessage
+@ stub SecLookupAccountName
+@ stub SecLookupAccountSid
+@ stub SecLookupWellKnownSid
+@ stub SecMakeSPN
+@ stub SecMakeSPNEx
+@ stub SecMakeSPNEx2
+@ stub SecSetPagingMode
+@ stub SetCredentialsAttributesW
+@ stub SslDecryptPacket
+@ stub SslEncryptPacket
+@ stub SslExportKey
+@ stub SslFreeObject
+@ stub SslGetServerIdentity
+@ stub SslImportKey
+@ stub SslLookupCipherSuiteInfo
+@ stub SslOpenProvider
+@ stub SspiAcceptSecurityContextAsync
+@ stub SspiAcquireCredentialsHandleAsyncW
+@ stub SspiCompareAuthIdentities
+@ stub SspiCopyAuthIdentity
+@ stub SspiCreateAsyncContext
+@ stub SspiDeleteSecurityContextAsync
+@ stub SspiEncodeAuthIdentityAsStrings
+@ stub SspiEncodeStringsAsAuthIdentity
+@ stub SspiFreeAsyncContext
+@ stub SspiFreeAuthIdentity
+@ stub SspiFreeCredentialsHandleAsync
+@ stub SspiGetAsyncCallStatus
+@ stub SspiInitializeSecurityContextAsyncW
+@ stub SspiLocalFree
+@ stub SspiMarshalAuthIdentity
+@ stub SspiReinitAsyncContext
+@ stub SspiSetAsyncNotifyCallback
+@ stub SspiUnmarshalAuthIdentity
+@ stub SspiValidateAuthIdentity
+@ stub SspiZeroAuthIdentity
+@ stub TokenBindingGetKeyTypesServer
+@ stub TokenBindingVerifyMessage
+@ stub UnsealMessage
+@ stub VerifySignature
diff --git a/dlls/ksecdd.sys/main.c b/dlls/ksecdd.sys/main.c
new file mode 100644
index 0000000..2773c49
--- /dev/null
+++ b/dlls/ksecdd.sys/main.c
@@ -0,0 +1,35 @@
+/*
+ * Copyright 2019 Austin English
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+#include <stdarg.h>
+
+#include "ntstatus.h"
+#define WIN32_NO_STATUS
+#include "windef.h"
+#include "winbase.h"
+#include "winternl.h"
+#include "ddk/wdm.h"
+#include "wine/debug.h"
+
+WINE_DEFAULT_DEBUG_CHANNEL(ksecdd);
+
+NTSTATUS WINAPI DriverEntry( DRIVER_OBJECT *driver, UNICODE_STRING *path )
+{
+    TRACE( "(%p, %s)\n", driver, debugstr_w(path->Buffer) );
+
+    return STATUS_SUCCESS;
+}
diff --git a/dlls/ksecdd.sys/version.rc b/dlls/ksecdd.sys/version.rc
new file mode 100644
index 0000000..5cea75f
--- /dev/null
+++ b/dlls/ksecdd.sys/version.rc
@@ -0,0 +1,26 @@
+/*
+ * Copyright (c) 2019 Austin English
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine ksecdd.sys"
+#define WINE_FILENAME_STR "ksecdd.sys"
+#define WINE_FILEVERSION 10,0,14393,187
+#define WINE_FILEVERSION_STR "10.0.14393.187"
+#define WINE_PRODUCTVERSION 10,0,14393,197
+#define WINE_PRODUCTVERSION_STR "10.0.14393.197"
+
+#include "wine/wine_common_ver.rc"
diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index 1fe8b11..48a9f4b 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -2554,6 +2554,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
 11,,iexplore.exe
 11,,winetest.exe,-
 12,,fltmgr.sys,-
+12,,ksecdd.sys,-
 12,,mountmgr.sys,-
 12,,ndis.sys,-
 12,,tdi.sys,-
@@ -2602,6 +2603,7 @@ HKLM,%CurrentVersion%\Telephony\Country List\998,"SameAreaRule",,"G"
 11,,notepad.exe
 11,,winetest.exe,-
 12,,fltmgr.sys
+12,,ksecdd.sys,
 12,,mountmgr.sys
 12,,ndis.sys
 12,,tdi.sys




More information about the wine-cvs mailing list