[PATCH] include: Add SE_EXPORTS structure to ntifs.h

Zebediah Figura (she/her) zfigura at codeweavers.com
Sun Jan 17 16:19:32 CST 2021


On 1/17/21 3:07 PM, Vijay Kiran Kamuju wrote:

> From: Vijay Kiran Kamuju <infyquest at gmail.com>
> Subject: [PATCH] include: Add SE_EXPORTS structure to ntifs.h
> Message-Id: <CACfa+KKBCAop1Jy_yVunRCLBhNdxy1qQUZrgtU+M26GJ1nR3WQ at mail.gmail.com>
> Date: Sun, 17 Jan 2021 22:07:51 +0100
> 
> Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
> 
> From 63ff5ecd4eed87c27ac22cd4b677a90c7a21be88 Mon Sep 17 00:00:00 2001
> From: Vijay Kiran Kamuju <infyquest at gmail.com>
> Date: Sun, 17 Jan 2021 21:58:57 +0100
> Subject: [PATCH] include: Add SE_EXPORTS structure to ntifs.h
> 
> Signed-off-by: Vijay Kiran Kamuju <infyquest at gmail.com>
> ---
>  include/ddk/ntifs.h | 86 +++++++++++++++++++++++++++++++++++++++++++++
>  1 file changed, 86 insertions(+)
> 
> diff --git a/include/ddk/ntifs.h b/include/ddk/ntifs.h
> index 73d602595c4..6da1034e77c 100644
> --- a/include/ddk/ntifs.h
> +++ b/include/ddk/ntifs.h
> @@ -23,6 +23,92 @@
>  
>  typedef struct _EX_PUSH_LOCK EX_PUSH_LOCK, *PEX_PUSH_LOCK;
>  
> +typedef struct _SE_EXPORTS
> +{
> +    LUID SeCreateTokenPrivilege;
> +    LUID SeAssignPrimaryTokenPrivilege;
> +    LUID SeLockMemoryPrivilege;
> +    LUID SeIncreaseQuotaPrivilege;
> +    LUID SeUnsolicitedInputPrivilege;
> +    LUID SeTcbPrivilege;
> +    LUID SeSecurityPrivilege;
> +    LUID SeTakeOwnershipPrivilege;
> +    LUID SeLoadDriverPrivilege;
> +    LUID SeCreatePagefilePrivilege;
> +    LUID SeIncreaseBasePriorityPrivilege;
> +    LUID SeSystemProfilePrivilege;
> +    LUID SeSystemtimePrivilege;
> +    LUID SeProfileSingleProcessPrivilege;
> +    LUID SeCreatePermanentPrivilege;
> +    LUID SeBackupPrivilege;
> +    LUID SeRestorePrivilege;
> +    LUID SeShutdownPrivilege;
> +    LUID SeDebugPrivilege;
> +    LUID SeAuditPrivilege;
> +    LUID SeSystemEnvironmentPrivilege;
> +    LUID SeChangeNotifyPrivilege;
> +    LUID SeRemoteShutdownPrivilege;
> +
> +    PSID SeNullSid;
> +    PSID SeWorldSid;
> +    PSID SeLocalSid;
> +    PSID SeCreatorOwnerSid;
> +    PSID SeCreatorGroupSid;
> +
> +    PSID SeNtAuthoritySid;
> +    PSID SeDialupSid;
> +    PSID SeNetworkSid;
> +    PSID SeBatchSid;
> +    PSID SeInteractiveSid;
> +    PSID SeLocalSystemSid;
> +    PSID SeAliasAdminsSid;
> +    PSID SeAliasUsersSid;
> +    PSID SeAliasGuestsSid;
> +    PSID SeAliasPowerUsersSid;
> +    PSID SeAliasAccountOpsSid;
> +    PSID SeAliasSystemOpsSid;
> +    PSID SeAliasPrintOpsSid;
> +    PSID SeAliasBackupOpsSid;
> +
> +    PSID SeAuthenticateUsersSid;
> +    PSID SeRestrictedSid;
> +    PSID SeAnonymousSid;
> +
> +    LUID SeUndockPrivilege;
> +    LUID SeSyncAgentPrivilege;
> +    LUID SeEnableDelegationPrivilege;
> +
> +    PSID SeLocalServiceSid;
> +    PSID SeNetworkServiceSid;
> +
> +    LUID SeManageVolumePrivilege;
> +    LUID SeImpersonatePrivilege;
> +    LUID SeCreateGlobalPrivilege;
> +
> +    LUID SeTrustedCredManAccessPrivilege;
> +    LUID SeRelabelPrivilege;
> +    LUID SeIncreaseWorkingSetPrivilege;
> +    LUID SeTimeZonePrivilege;
> +    LUID SeCreateSymbolicLinkPrivilege;
> +
> +    PSID SeIUserSid;
> +
> +    PSID SeUntrustedMandatorySid;
> +    PSID SeLowMandatorySid;
> +    PSID SeMediumMandatorySid;
> +    PSID SeHighMandatorySid;
> +    PSID SeSystemMandatorySid;
> +    PSID SeOwnerRightsSid;
> +
> +    PSID SeAllAppPackagesSid;
> +    PSID SeUserModeDriversSid;
> +    PSID SeTrustedInstallerSid;
> +
> +    LUID SeDelegateSessionUserImpersonatePrivilege;
> +} SE_EXPORTS, *PSE_EXPORTS;
> +
> +extern WINAPI PSE_EXPORTS SeExports;

WINAPI doesn't make sense on a variable.

> +
>  typedef enum _FS_FILTER_SECTION_SYNC_TYPE
>  {
>      SyncTypeOther = 0,
> 
> -- 
> 2.30.0
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20210117/3cac7555/attachment-0001.sig>


More information about the wine-devel mailing list