ReactOS
0.4.12-dev-685-gf36cbf7
|
#include <stdarg.h>
#include <stdio.h>
#include "ntstatus.h"
#include "windef.h"
#include "winbase.h"
#include "winerror.h"
#include "winternl.h"
#include "aclapi.h"
#include "winnt.h"
#include "sddl.h"
#include "ntsecapi.h"
#include "lmcons.h"
#include "wine/test.h"
Go to the source code of this file.
Classes | |
struct | NameToLUID |
union | _MAX_SID |
struct | well_known_sid_value |
Typedefs | |
typedef union _MAX_SID | MAX_SID |
#define CHECK_ONE_OF_AND_FREE | ( | exp_str1, | |
exp_str2 | |||
) |
#define CHECK_RESULT_AND_FREE | ( | exp_str | ) |
Definition at line 2895 of file security.c.
#define EVENT_QUERY_STATE 0x0001 |
Definition at line 53 of file security.c.
#define expect_eq | ( | expr, | |
value, | |||
type, | |||
format | |||
) | { type ret_ = expr; ok((value) == ret_, #expr " expected " format " got " format "\n", (value), (ret_)); } |
Definition at line 68 of file security.c.
Definition at line 40 of file security.c.
Definition at line 42 of file security.c.
Definition at line 41 of file security.c.
#define PROCESS_ALL_ACCESS_NT4 (PROCESS_ALL_ACCESS & ~0xf000) |
Definition at line 49 of file security.c.
#define PROCESS_ALL_ACCESS_VISTA (PROCESS_ALL_ACCESS | 0xf000) |
Definition at line 50 of file security.c.
#define PROCESS_QUERY_LIMITED_INFORMATION 0x1000 |
Definition at line 45 of file security.c.
#define SE_ASSIGNPRIMARYTOKEN_PRIVILEGE 3L |
Definition at line 657 of file security.c.
#define SE_AUDIT_PRIVILEGE 21L |
Definition at line 675 of file security.c.
#define SE_BACKUP_PRIVILEGE 17L |
Definition at line 671 of file security.c.
#define SE_CHANGE_NOTIFY_PRIVILEGE 23L |
Definition at line 677 of file security.c.
#define SE_CREATE_GLOBAL_PRIVILEGE 30L |
Definition at line 684 of file security.c.
#define SE_CREATE_PAGEFILE_PRIVILEGE 15L |
Definition at line 669 of file security.c.
#define SE_CREATE_PERMANENT_PRIVILEGE 16L |
Definition at line 670 of file security.c.
#define SE_CREATE_TOKEN_PRIVILEGE 2L |
Definition at line 656 of file security.c.
#define SE_DEBUG_PRIVILEGE 20L |
Definition at line 674 of file security.c.
#define SE_ENABLE_DELEGATION_PRIVILEGE 27L |
Definition at line 681 of file security.c.
#define SE_IMPERSONATE_PRIVILEGE 29L |
Definition at line 683 of file security.c.
#define SE_INC_BASE_PRIORITY_PRIVILEGE 14L |
Definition at line 668 of file security.c.
#define SE_INCREASE_QUOTA_PRIVILEGE 5L |
Definition at line 659 of file security.c.
#define SE_LOAD_DRIVER_PRIVILEGE 10L |
Definition at line 664 of file security.c.
#define SE_LOCK_MEMORY_PRIVILEGE 4L |
Definition at line 658 of file security.c.
#define SE_MACHINE_ACCOUNT_PRIVILEGE 6L |
Definition at line 660 of file security.c.
#define SE_MANAGE_VOLUME_PRIVILEGE 28L |
Definition at line 682 of file security.c.
#define SE_MAX_WELL_KNOWN_PRIVILEGE SE_CREATE_GLOBAL_PRIVILEGE |
Definition at line 685 of file security.c.
#define SE_MIN_WELL_KNOWN_PRIVILEGE 2L |
Definition at line 655 of file security.c.
#define SE_PROF_SINGLE_PROCESS_PRIVILEGE 13L |
Definition at line 667 of file security.c.
#define SE_REMOTE_SHUTDOWN_PRIVILEGE 24L |
Definition at line 678 of file security.c.
#define SE_RESTORE_PRIVILEGE 18L |
Definition at line 672 of file security.c.
#define SE_SECURITY_PRIVILEGE 8L |
Definition at line 662 of file security.c.
#define SE_SHUTDOWN_PRIVILEGE 19L |
Definition at line 673 of file security.c.
#define SE_SYNC_AGENT_PRIVILEGE 26L |
Definition at line 680 of file security.c.
#define SE_SYSTEM_ENVIRONMENT_PRIVILEGE 22L |
Definition at line 676 of file security.c.
#define SE_SYSTEM_PROFILE_PRIVILEGE 11L |
Definition at line 665 of file security.c.
#define SE_SYSTEMTIME_PRIVILEGE 12L |
Definition at line 666 of file security.c.
#define SE_TAKE_OWNERSHIP_PRIVILEGE 9L |
Definition at line 663 of file security.c.
#define SE_TCB_PRIVILEGE 7L |
Definition at line 661 of file security.c.
#define SE_UNDOCK_PRIVILEGE 25L |
Definition at line 679 of file security.c.
#define SEMAPHORE_QUERY_STATE 0x0001 |
Definition at line 57 of file security.c.
#define SID_SLOTS 4 |
Definition at line 147 of file security.c.
Definition at line 2869 of file security.c.
Definition at line 2870 of file security.c.
#define THREAD_ALL_ACCESS_NT4 (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0x3ff) |
Definition at line 65 of file security.c.
#define THREAD_ALL_ACCESS_VISTA (STANDARD_RIGHTS_REQUIRED | SYNCHRONIZE | 0xffff) |
Definition at line 66 of file security.c.
#define THREAD_QUERY_LIMITED_INFORMATION 0x0800 |
Definition at line 62 of file security.c.
#define THREAD_SET_LIMITED_INFORMATION 0x0400 |
Definition at line 61 of file security.c.
#define WIN32_NO_STATUS |
Definition at line 26 of file security.c.
#define WINE_TEST_PIPE "\\\\.\\pipe\\WineTestPipe" |
Definition at line 5867 of file security.c.
|
static |
Definition at line 2490 of file security.c.
Referenced by test_LookupAccountName().
Definition at line 150 of file security.c.
Referenced by check_wellknown_name(), test_EqualSid(), test_GetNamedSecurityInfoA(), test_GetSecurityInfo(), test_GetWindowsAccountDomainSid(), test_group_equal(), test_inherited_dacl(), test_owner_equal(), and test_TokenIntegrityLevel().
|
static |
Definition at line 3548 of file security.c.
Referenced by test_CreateDirectoryA().
|
static |
Definition at line 5690 of file security.c.
Referenced by test_event_security(), test_file_security(), test_filemap_security(), test_maximum_allowed(), test_mutex_security(), test_named_pipe_security(), test_process_access(), test_semaphore_security(), and test_thread_security().
Definition at line 2473 of file security.c.
Referenced by check_wellknown_name(), and test_LookupAccountName().
Definition at line 175 of file security.c.
Referenced by START_TEST().
|
static |
Referenced by test_GetSidIdentifierAuthority().
Referenced by RtlpSetSecurityObject().
START_TEST | ( | security | ) |
Definition at line 8135 of file security.c.
Definition at line 1228 of file security.c.
Referenced by START_TEST().
Definition at line 4822 of file security.c.
Referenced by START_TEST().
Definition at line 6612 of file security.c.
Referenced by START_TEST().
Definition at line 6657 of file security.c.
Referenced by START_TEST().
Definition at line 6576 of file security.c.
Referenced by START_TEST().
Definition at line 688 of file security.c.
Referenced by test_luid().
Definition at line 8097 of file security.c.
Referenced by START_TEST().
Definition at line 5122 of file security.c.
Referenced by START_TEST().
Definition at line 7768 of file security.c.
Referenced by START_TEST().
Definition at line 7903 of file security.c.
Referenced by START_TEST().
Definition at line 7848 of file security.c.
Referenced by START_TEST().
Definition at line 4527 of file security.c.
Referenced by START_TEST().
Definition at line 4380 of file security.c.
Referenced by START_TEST().
Definition at line 3619 of file security.c.