|
ReactOS 0.4.16-dev-1946-g52006dd
|

Go to the source code of this file.
Macros | |
| #define | DESKTOP_READ |
| #define | DESKTOP_WRITE |
| #define | DESKTOP_EXECUTE |
| #define | DESKTOP_ALL_ACCESS |
| #define | WINSTA_READ |
| #define | WINSTA_WRITE |
| #define | WINSTA_EXECUTE |
| #define | WINSTA_ACCESS_ALL |
Functions | |
| HANDLE | IntCaptureCurrentAccessToken (VOID) |
| PVOID | IntAllocateSecurityBuffer (_In_ SIZE_T Length) |
| Allocates a buffer within UM (user mode) address space area. Such buffer is reserved for security purposes, such as allocating a buffer for a DACL or a security descriptor. | |
| VOID | IntFreeSecurityBuffer (_In_ PVOID Buffer) |
| Frees an allocated security buffer from UM memory that is been previously allocated by IntAllocateSecurityBuffer function. | |
| NTSTATUS | IntQueryUserSecurityIdentification (_Out_ PTOKEN_USER *User) |
| Queries the authenticated user security identifier (SID) that is associated with the security context of the access token that is being opened. | |
| NTSTATUS NTAPI | IntAssignDesktopSecurityOnParse (_In_ PWINSTATION_OBJECT WinSta, _In_ PDESKTOP Desktop, _In_ PACCESS_STATE AccessState) |
| Assigns a security descriptor to the desktop object during a desktop object parse procedure. | |
| NTSTATUS NTAPI | IntCreateServiceSecurity (_Out_ PSECURITY_DESCRIPTOR *ServiceSd) |
| Creates a security descriptor for the service. | |
| #define DESKTOP_ALL_ACCESS |
Definition at line 30 of file security.h.
| #define DESKTOP_EXECUTE |
Definition at line 27 of file security.h.
| #define DESKTOP_READ |
Definition at line 15 of file security.h.
| #define DESKTOP_WRITE |
Definition at line 19 of file security.h.
| #define WINSTA_ACCESS_ALL |
Definition at line 57 of file security.h.
| #define WINSTA_EXECUTE |
Definition at line 53 of file security.h.
| #define WINSTA_READ |
Definition at line 42 of file security.h.
| #define WINSTA_WRITE |
Definition at line 48 of file security.h.
Allocates a buffer within UM (user mode) address space area. Such buffer is reserved for security purposes, such as allocating a buffer for a DACL or a security descriptor.
| [in] | Length | The length of the buffer that has to be allocated, in bytes. |
Definition at line 97 of file security.c.
Referenced by IntCreateServiceSecurity(), and IntQueryUserSecurityIdentification().
| NTSTATUS NTAPI IntAssignDesktopSecurityOnParse | ( | _In_ PWINSTATION_OBJECT | WinSta, |
| _In_ PDESKTOP | Desktop, | ||
| _In_ PACCESS_STATE | AccessState | ||
| ) |
Assigns a security descriptor to the desktop object during a desktop object parse procedure.
| [in] | WinSta | A pointer to a window station object, of which such object contains its own security descriptor that will be captured. |
| [in] | Desktop | A pointer to a desktop object that is created during a parse procedure. |
| [in] | AccessState | A pointer to an access state structure that describes the progress state of an access in action. |
Definition at line 270 of file security.c.
Referenced by IntDesktopObjectParse().
| NTSTATUS NTAPI IntCreateServiceSecurity | ( | _Out_ PSECURITY_DESCRIPTOR * | ServiceSd | ) |
Creates a security descriptor for the service.
| [out] | ServiceSd | A pointer to a newly allocated and created security descriptor for the service. |
Definition at line 327 of file security.c.
Referenced by IntResolveDesktop().
Frees an allocated security buffer from UM memory that is been previously allocated by IntAllocateSecurityBuffer function.
| [in] | Buffer | A pointer to a buffer whose contents are arbitrary, to be freed from UM memory space. |
Definition at line 133 of file security.c.
Referenced by IntCreateServiceSecurity(), IntQueryUserSecurityIdentification(), and IntResolveDesktop().
| NTSTATUS IntQueryUserSecurityIdentification | ( | _Out_ PTOKEN_USER * | User | ) |
Queries the authenticated user security identifier (SID) that is associated with the security context of the access token that is being opened.
| [out] | User | A pointer to the token user that contains the security identifier of the authenticated user. |
Definition at line 169 of file security.c.
Referenced by IntCreateServiceSecurity().