Signed-off-by: Mark Harmstone <[email protected]>
---
mingw-w64-crt/Makefile.am | 4 +-
.../api-ms-win-security-base-l1-1-0.def | 40 +++++++++++++
...ms-win-security-base-l1-1-0_windowsapp.def | 59 ++++++++++++++++++
.../api-ms-win-security-base-l1-2-0.def | 6 ++
...ms-win-security-base-l1-2-0_windowsapp.def | 60 +++++++++++++++++++
mingw-w64-crt/lib-common/windowsapp.mri | 4 +-
.../lib32/api-ms-win-security-base-l1-1-0.def | 40 +++++++++++++
...ms-win-security-base-l1-1-0_windowsapp.def | 59 ++++++++++++++++++
.../lib32/api-ms-win-security-base-l1-2-0.def | 6 ++
...ms-win-security-base-l1-2-0_windowsapp.def | 60 +++++++++++++++++++
10 files changed, 334 insertions(+), 4 deletions(-)
create mode 100644
mingw-w64-crt/lib-common/api-ms-win-security-base-l1-1-0_windowsapp.def
create mode 100644
mingw-w64-crt/lib-common/api-ms-win-security-base-l1-2-0_windowsapp.def
create mode 100644
mingw-w64-crt/lib32/api-ms-win-security-base-l1-1-0_windowsapp.def
create mode 100644
mingw-w64-crt/lib32/api-ms-win-security-base-l1-2-0_windowsapp.def
diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index 117f685d5..2b8a5fc21 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -2418,8 +2418,8 @@ endif
%/libapi-ms-win-ro-typeresolution-l1-1-1.a \
%/libapi-ms-win-security-appcontainer-l1-1-0.a \
%/libapi-ms-win-security-base-ansi-l1-1-0.a \
- %/libapi-ms-win-security-base-l1-1-0.a \
- %/libapi-ms-win-security-base-l1-2-0.a \
+ %/libapi-ms-win-security-base-l1-1-0_windowsapp.a \
+ %/libapi-ms-win-security-base-l1-2-0_windowsapp.a \
%/libapi-ms-win-security-base-l1-2-1.a \
%/libapi-ms-win-security-base-l1-2-2.a \
%/libapi-ms-win-security-cpwl-l1-1-0.a \
diff --git a/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-1-0.def
b/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-1-0.def
index e4fd623c8..674953651 100644
--- a/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-1-0.def
+++ b/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-1-0.def
@@ -2,28 +2,53 @@ LIBRARY api-ms-win-security-base-l1-1-0
EXPORTS
+AccessCheck
+AccessCheckAndAuditAlarmW
+AccessCheckByType
+AccessCheckByTypeAndAuditAlarmW
+AccessCheckByTypeResultList
+AccessCheckByTypeResultListAndAuditAlarmByHandleW
+AccessCheckByTypeResultListAndAuditAlarmW
AddAccessAllowedAce
AddAccessAllowedAceEx
+AddAccessAllowedObjectAce
+AddAccessDeniedAce
+AddAccessDeniedAceEx
+AddAccessDeniedObjectAce
AddAce
+AddAuditAccessAce
+AddAuditAccessAceEx
+AddAuditAccessObjectAce
AddMandatoryAce
AdjustTokenGroups
AdjustTokenPrivileges
AllocateAndInitializeSid
AllocateLocallyUniqueId
+AreAllAccessesGranted
+AreAnyAccessesGranted
CheckTokenMembership
+ConvertToAutoInheritPrivateObjectSecurity
CopySid
+CreatePrivateObjectSecurity
+CreatePrivateObjectSecurityEx
+CreatePrivateObjectSecurityWithMultipleInheritance
+CreateRestrictedToken
CreateWellKnownSid
DeleteAce
+DestroyPrivateObjectSecurity
DuplicateToken
DuplicateTokenEx
EqualDomainSid
+EqualPrefixSid
EqualSid
+FindFirstFreeAce
FreeSid
GetAce
GetAclInformation
GetFileSecurityW
GetKernelObjectSecurity
GetLengthSid
+GetPrivateObjectSecurity
GetSecurityDescriptorControl
GetSecurityDescriptorDacl
GetSecurityDescriptorGroup
@@ -37,19 +62,34 @@ GetSidSubAuthority
GetSidSubAuthorityCount
GetTokenInformation
GetWindowsAccountDomainSid
+ImpersonateAnonymousToken
ImpersonateLoggedOnUser
+ImpersonateSelf
InitializeAcl
InitializeSecurityDescriptor
InitializeSid
+IsTokenRestricted
IsValidAcl
IsValidSecurityDescriptor
IsValidSid
IsWellKnownSid
MakeAbsoluteSD
MakeSelfRelativeSD
+MapGenericMask
+ObjectCloseAuditAlarmW
+ObjectDeleteAuditAlarmW
+ObjectOpenAuditAlarmW
+ObjectPrivilegeAuditAlarmW
+PrivilegeCheck
+PrivilegedServiceAuditAlarmW
+QuerySecurityAccessMask
RevertToSelf
+SetAclInformation
SetFileSecurityW
SetKernelObjectSecurity
+SetPrivateObjectSecurity
+SetPrivateObjectSecurityEx
+SetSecurityAccessMask
SetSecurityDescriptorControl
SetSecurityDescriptorDacl
SetSecurityDescriptorGroup
diff --git
a/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-1-0_windowsapp.def
b/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-1-0_windowsapp.def
new file mode 100644
index 000000000..e4fd623c8
--- /dev/null
+++ b/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-1-0_windowsapp.def
@@ -0,0 +1,59 @@
+LIBRARY api-ms-win-security-base-l1-1-0
+
+EXPORTS
+
+AddAccessAllowedAce
+AddAccessAllowedAceEx
+AddAce
+AddMandatoryAce
+AdjustTokenGroups
+AdjustTokenPrivileges
+AllocateAndInitializeSid
+AllocateLocallyUniqueId
+CheckTokenMembership
+CopySid
+CreateWellKnownSid
+DeleteAce
+DuplicateToken
+DuplicateTokenEx
+EqualDomainSid
+EqualSid
+FreeSid
+GetAce
+GetAclInformation
+GetFileSecurityW
+GetKernelObjectSecurity
+GetLengthSid
+GetSecurityDescriptorControl
+GetSecurityDescriptorDacl
+GetSecurityDescriptorGroup
+GetSecurityDescriptorLength
+GetSecurityDescriptorOwner
+GetSecurityDescriptorRMControl
+GetSecurityDescriptorSacl
+GetSidIdentifierAuthority
+GetSidLengthRequired
+GetSidSubAuthority
+GetSidSubAuthorityCount
+GetTokenInformation
+GetWindowsAccountDomainSid
+ImpersonateLoggedOnUser
+InitializeAcl
+InitializeSecurityDescriptor
+InitializeSid
+IsValidAcl
+IsValidSecurityDescriptor
+IsValidSid
+IsWellKnownSid
+MakeAbsoluteSD
+MakeSelfRelativeSD
+RevertToSelf
+SetFileSecurityW
+SetKernelObjectSecurity
+SetSecurityDescriptorControl
+SetSecurityDescriptorDacl
+SetSecurityDescriptorGroup
+SetSecurityDescriptorOwner
+SetSecurityDescriptorRMControl
+SetSecurityDescriptorSacl
+SetTokenInformation
diff --git a/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-2-0.def
b/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-2-0.def
index 26c95c889..ace108be4 100644
--- a/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-2-0.def
+++ b/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-2-0.def
@@ -6,10 +6,13 @@ AddAccessAllowedAce
AddAccessAllowedAceEx
AddAce
AddMandatoryAce
+AddResourceAttributeAce
+AddScopedPolicyIDAce
AdjustTokenGroups
AdjustTokenPrivileges
AllocateAndInitializeSid
AllocateLocallyUniqueId
+CheckTokenCapability
CheckTokenMembership
CheckTokenMembershipEx
CopySid
@@ -22,6 +25,8 @@ EqualSid
FreeSid
GetAce
GetAclInformation
+GetAppContainerAce
+GetCachedSigningLevel
GetFileSecurityW
GetKernelObjectSecurity
GetLengthSid
@@ -49,6 +54,7 @@ IsWellKnownSid
MakeAbsoluteSD
MakeSelfRelativeSD
RevertToSelf
+SetCachedSigningLevel
SetFileSecurityW
SetKernelObjectSecurity
SetSecurityDescriptorControl
diff --git
a/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-2-0_windowsapp.def
b/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-2-0_windowsapp.def
new file mode 100644
index 000000000..26c95c889
--- /dev/null
+++ b/mingw-w64-crt/lib-common/api-ms-win-security-base-l1-2-0_windowsapp.def
@@ -0,0 +1,60 @@
+LIBRARY api-ms-win-security-base-l1-2-0
+
+EXPORTS
+
+AddAccessAllowedAce
+AddAccessAllowedAceEx
+AddAce
+AddMandatoryAce
+AdjustTokenGroups
+AdjustTokenPrivileges
+AllocateAndInitializeSid
+AllocateLocallyUniqueId
+CheckTokenMembership
+CheckTokenMembershipEx
+CopySid
+CreateWellKnownSid
+DeleteAce
+DuplicateToken
+DuplicateTokenEx
+EqualDomainSid
+EqualSid
+FreeSid
+GetAce
+GetAclInformation
+GetFileSecurityW
+GetKernelObjectSecurity
+GetLengthSid
+GetSecurityDescriptorControl
+GetSecurityDescriptorDacl
+GetSecurityDescriptorGroup
+GetSecurityDescriptorLength
+GetSecurityDescriptorOwner
+GetSecurityDescriptorRMControl
+GetSecurityDescriptorSacl
+GetSidIdentifierAuthority
+GetSidLengthRequired
+GetSidSubAuthority
+GetSidSubAuthorityCount
+GetTokenInformation
+GetWindowsAccountDomainSid
+ImpersonateLoggedOnUser
+InitializeAcl
+InitializeSecurityDescriptor
+InitializeSid
+IsValidAcl
+IsValidSecurityDescriptor
+IsValidSid
+IsWellKnownSid
+MakeAbsoluteSD
+MakeSelfRelativeSD
+RevertToSelf
+SetFileSecurityW
+SetKernelObjectSecurity
+SetSecurityDescriptorControl
+SetSecurityDescriptorDacl
+SetSecurityDescriptorGroup
+SetSecurityDescriptorOwner
+SetSecurityDescriptorRMControl
+SetSecurityDescriptorSacl
+SetTokenInformation
diff --git a/mingw-w64-crt/lib-common/windowsapp.mri
b/mingw-w64-crt/lib-common/windowsapp.mri
index b212c8a60..f1df39358 100644
--- a/mingw-w64-crt/lib-common/windowsapp.mri
+++ b/mingw-w64-crt/lib-common/windowsapp.mri
@@ -180,8 +180,8 @@ ADDLIB libapi-ms-win-ro-typeresolution-l1-1-0.a
ADDLIB libapi-ms-win-ro-typeresolution-l1-1-1.a
ADDLIB libapi-ms-win-security-appcontainer-l1-1-0.a
ADDLIB libapi-ms-win-security-base-ansi-l1-1-0.a
-ADDLIB libapi-ms-win-security-base-l1-1-0.a
-ADDLIB libapi-ms-win-security-base-l1-2-0.a
+ADDLIB libapi-ms-win-security-base-l1-1-0_windowsapp.a
+ADDLIB libapi-ms-win-security-base-l1-2-0_windowsapp.a
ADDLIB libapi-ms-win-security-base-l1-2-1.a
ADDLIB libapi-ms-win-security-base-l1-2-2.a
ADDLIB libapi-ms-win-security-cpwl-l1-1-0.a
diff --git a/mingw-w64-crt/lib32/api-ms-win-security-base-l1-1-0.def
b/mingw-w64-crt/lib32/api-ms-win-security-base-l1-1-0.def
index 96dd70710..52d268f30 100644
--- a/mingw-w64-crt/lib32/api-ms-win-security-base-l1-1-0.def
+++ b/mingw-w64-crt/lib32/api-ms-win-security-base-l1-1-0.def
@@ -2,28 +2,53 @@ LIBRARY api-ms-win-security-base-l1-1-0
EXPORTS
+AccessCheck@32
+AccessCheckAndAuditAlarmW@44
+AccessCheckByType@44
+AccessCheckByTypeAndAuditAlarmW@64
+AccessCheckByTypeResultList@44
+AccessCheckByTypeResultListAndAuditAlarmByHandleW@68
+AccessCheckByTypeResultListAndAuditAlarmW@64
AddAccessAllowedAce@16
AddAccessAllowedAceEx@20
+AddAccessAllowedObjectAce@28
+AddAccessDeniedAce@16
+AddAccessDeniedAceEx@20
+AddAccessDeniedObjectAce@28
AddAce@20
+AddAuditAccessAce@24
+AddAuditAccessAceEx@28
+AddAuditAccessObjectAce@36
AddMandatoryAce@20
AdjustTokenGroups@24
AdjustTokenPrivileges@24
AllocateAndInitializeSid@44
AllocateLocallyUniqueId@4
+AreAllAccessesGranted@8
+AreAnyAccessesGranted@8
CheckTokenMembership@12
+ConvertToAutoInheritPrivateObjectSecurity@24
CopySid@12
+CreatePrivateObjectSecurity@24
+CreatePrivateObjectSecurityEx@32
+CreatePrivateObjectSecurityWithMultipleInheritance@36
+CreateRestrictedToken@36
CreateWellKnownSid@16
DeleteAce@8
+DestroyPrivateObjectSecurity@4
DuplicateToken@12
DuplicateTokenEx@24
EqualDomainSid@12
+EqualPrefixSid@8
EqualSid@8
+FindFirstFreeAce@8
FreeSid@4
GetAce@12
GetAclInformation@16
GetFileSecurityW@20
GetKernelObjectSecurity@20
GetLengthSid@4
+GetPrivateObjectSecurity@20
GetSecurityDescriptorControl@12
GetSecurityDescriptorDacl@16
GetSecurityDescriptorGroup@12
@@ -37,19 +62,34 @@ GetSidSubAuthority@8
GetSidSubAuthorityCount@4
GetTokenInformation@20
GetWindowsAccountDomainSid@12
+ImpersonateAnonymousToken@4
ImpersonateLoggedOnUser@4
+ImpersonateSelf@4
InitializeAcl@12
InitializeSecurityDescriptor@8
InitializeSid@12
+IsTokenRestricted@4
IsValidAcl@4
IsValidSecurityDescriptor@4
IsValidSid@4
IsWellKnownSid@8
MakeAbsoluteSD@44
MakeSelfRelativeSD@12
+MapGenericMask@8
+ObjectCloseAuditAlarmW@12
+ObjectDeleteAuditAlarmW@12
+ObjectOpenAuditAlarmW@48
+ObjectPrivilegeAuditAlarmW@24
+PrivilegeCheck@12
+PrivilegedServiceAuditAlarmW@20
+QuerySecurityAccessMask@8
RevertToSelf@0
+SetAclInformation@16
SetFileSecurityW@12
SetKernelObjectSecurity@12
+SetPrivateObjectSecurity@20
+SetPrivateObjectSecurityEx@24
+SetSecurityAccessMask@8
SetSecurityDescriptorControl@12
SetSecurityDescriptorDacl@16
SetSecurityDescriptorGroup@12
diff --git a/mingw-w64-crt/lib32/api-ms-win-security-base-l1-1-0_windowsapp.def
b/mingw-w64-crt/lib32/api-ms-win-security-base-l1-1-0_windowsapp.def
new file mode 100644
index 000000000..96dd70710
--- /dev/null
+++ b/mingw-w64-crt/lib32/api-ms-win-security-base-l1-1-0_windowsapp.def
@@ -0,0 +1,59 @@
+LIBRARY api-ms-win-security-base-l1-1-0
+
+EXPORTS
+
+AddAccessAllowedAce@16
+AddAccessAllowedAceEx@20
+AddAce@20
+AddMandatoryAce@20
+AdjustTokenGroups@24
+AdjustTokenPrivileges@24
+AllocateAndInitializeSid@44
+AllocateLocallyUniqueId@4
+CheckTokenMembership@12
+CopySid@12
+CreateWellKnownSid@16
+DeleteAce@8
+DuplicateToken@12
+DuplicateTokenEx@24
+EqualDomainSid@12
+EqualSid@8
+FreeSid@4
+GetAce@12
+GetAclInformation@16
+GetFileSecurityW@20
+GetKernelObjectSecurity@20
+GetLengthSid@4
+GetSecurityDescriptorControl@12
+GetSecurityDescriptorDacl@16
+GetSecurityDescriptorGroup@12
+GetSecurityDescriptorLength@4
+GetSecurityDescriptorOwner@12
+GetSecurityDescriptorRMControl@8
+GetSecurityDescriptorSacl@16
+GetSidIdentifierAuthority@4
+GetSidLengthRequired@4
+GetSidSubAuthority@8
+GetSidSubAuthorityCount@4
+GetTokenInformation@20
+GetWindowsAccountDomainSid@12
+ImpersonateLoggedOnUser@4
+InitializeAcl@12
+InitializeSecurityDescriptor@8
+InitializeSid@12
+IsValidAcl@4
+IsValidSecurityDescriptor@4
+IsValidSid@4
+IsWellKnownSid@8
+MakeAbsoluteSD@44
+MakeSelfRelativeSD@12
+RevertToSelf@0
+SetFileSecurityW@12
+SetKernelObjectSecurity@12
+SetSecurityDescriptorControl@12
+SetSecurityDescriptorDacl@16
+SetSecurityDescriptorGroup@12
+SetSecurityDescriptorOwner@12
+SetSecurityDescriptorRMControl@8
+SetSecurityDescriptorSacl@16
+SetTokenInformation@16
diff --git a/mingw-w64-crt/lib32/api-ms-win-security-base-l1-2-0.def
b/mingw-w64-crt/lib32/api-ms-win-security-base-l1-2-0.def
index 7685ab28a..ac6db4950 100644
--- a/mingw-w64-crt/lib32/api-ms-win-security-base-l1-2-0.def
+++ b/mingw-w64-crt/lib32/api-ms-win-security-base-l1-2-0.def
@@ -6,10 +6,13 @@ AddAccessAllowedAce@16
AddAccessAllowedAceEx@20
AddAce@20
AddMandatoryAce@20
+AddResourceAttributeAce@28
+AddScopedPolicyIDAce@20
AdjustTokenGroups@24
AdjustTokenPrivileges@24
AllocateAndInitializeSid@44
AllocateLocallyUniqueId@4
+CheckTokenCapability@12
CheckTokenMembership@12
CheckTokenMembershipEx@16
CopySid@12
@@ -22,6 +25,8 @@ EqualSid@8
FreeSid@4
GetAce@12
GetAclInformation@16
+GetAppContainerAce@16
+GetCachedSigningLevel@24
GetFileSecurityW@20
GetKernelObjectSecurity@20
GetLengthSid@4
@@ -49,6 +54,7 @@ IsWellKnownSid@8
MakeAbsoluteSD@44
MakeSelfRelativeSD@12
RevertToSelf@0
+SetCachedSigningLevel@16
SetFileSecurityW@12
SetKernelObjectSecurity@12
SetSecurityDescriptorControl@12
diff --git a/mingw-w64-crt/lib32/api-ms-win-security-base-l1-2-0_windowsapp.def
b/mingw-w64-crt/lib32/api-ms-win-security-base-l1-2-0_windowsapp.def
new file mode 100644
index 000000000..7685ab28a
--- /dev/null
+++ b/mingw-w64-crt/lib32/api-ms-win-security-base-l1-2-0_windowsapp.def
@@ -0,0 +1,60 @@
+LIBRARY api-ms-win-security-base-l1-2-0
+
+EXPORTS
+
+AddAccessAllowedAce@16
+AddAccessAllowedAceEx@20
+AddAce@20
+AddMandatoryAce@20
+AdjustTokenGroups@24
+AdjustTokenPrivileges@24
+AllocateAndInitializeSid@44
+AllocateLocallyUniqueId@4
+CheckTokenMembership@12
+CheckTokenMembershipEx@16
+CopySid@12
+CreateWellKnownSid@16
+DeleteAce@8
+DuplicateToken@12
+DuplicateTokenEx@24
+EqualDomainSid@12
+EqualSid@8
+FreeSid@4
+GetAce@12
+GetAclInformation@16
+GetFileSecurityW@20
+GetKernelObjectSecurity@20
+GetLengthSid@4
+GetSecurityDescriptorControl@12
+GetSecurityDescriptorDacl@16
+GetSecurityDescriptorGroup@12
+GetSecurityDescriptorLength@4
+GetSecurityDescriptorOwner@12
+GetSecurityDescriptorRMControl@8
+GetSecurityDescriptorSacl@16
+GetSidIdentifierAuthority@4
+GetSidLengthRequired@4
+GetSidSubAuthority@8
+GetSidSubAuthorityCount@4
+GetTokenInformation@20
+GetWindowsAccountDomainSid@12
+ImpersonateLoggedOnUser@4
+InitializeAcl@12
+InitializeSecurityDescriptor@8
+InitializeSid@12
+IsValidAcl@4
+IsValidSecurityDescriptor@4
+IsValidSid@4
+IsWellKnownSid@8
+MakeAbsoluteSD@44
+MakeSelfRelativeSD@12
+RevertToSelf@0
+SetFileSecurityW@12
+SetKernelObjectSecurity@12
+SetSecurityDescriptorControl@12
+SetSecurityDescriptorDacl@16
+SetSecurityDescriptorGroup@12
+SetSecurityDescriptorOwner@12
+SetSecurityDescriptorRMControl@8
+SetSecurityDescriptorSacl@16
+SetTokenInformation@16
--
2.41.0
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public