1578 Commits

Author SHA1 Message Date
Hans Leidekker
b368cd1b71 advapi32/tests: Avoid test failures when running as an unprivileged user. 2015-09-07 18:52:16 +09:00
Vincent Povirk
997484964a advapi32: RegOpenKeyEx can return special roots when asked for empty subkey. 2015-09-01 15:24:14 +09:00
Matt Durgavich
b573986188 advapi32/tests: Fix for crashes on Mac OS X. 2015-08-27 21:43:46 +09:00
Hans Leidekker
3a771b6066 advapi32: Add well-known SID WinBuiltinAnyPackageSid. 2015-08-26 23:15:26 +09:00
Dmitry Timoshkov
48ed6a6f3e advapi32/tests: Add a test to show that THREAD_QUERY_INFORMATION should grant THREAD_QUERY_LIMITED_INFORMATION. 2015-08-20 17:35:13 +09:00
Alistair Leslie-Hughes
3b5107d063 advapi32: Prevent buffer overrun. 2015-08-19 21:46:05 +09:00
Dmitry Timoshkov
9e22949cec advapi32/tests: Add a test to show that PROCESS_QUERY_INFORMATION should implicitly grant PROCESS_QUERY_LIMITED_INFORMATION access. 2015-08-19 20:19:57 +09:00
Dmitry Timoshkov
8a088d7c2f advapi32/tests: Fix compilation with PSDK. 2015-08-19 20:19:56 +09:00
Eric Kohl
424f010ac1 advapi32: Add some well-known SDDL SID strings. 2015-08-19 20:19:55 +09:00
Hans Leidekker
09de5cdb38 advapi32: Add a stub implementation of RegisterWaitChainCOMCallback. 2015-08-03 20:50:33 +02:00
Huw Davies
3e55f1d2cc advapi32: Don't call CloseServiceHandle() with an invalid handle. 2015-07-16 21:20:44 +09:00
Bernhard Übelacker
eecd136cb7 advapi32: Fail in RegEnumValue on missing value or val_count parameters. 2015-07-08 16:02:25 +09:00
Michael Müller
4f3acf31de advapi32: Add initial implementation for GetWindowsAccountDomainSid. 2015-06-24 23:01:45 +09:00
Michael Müller
54b3973ee0 advapi32/tests: Add tests for GetWindowsAccountDomainSid. 2015-06-24 23:01:45 +09:00
Sebastian Lackner
a176655414 advapi32/tests: Explicitly check return value of GetTokenInformation. 2015-06-24 22:57:37 +09:00
Huw Davies
645a31474c Revert "advapi32: Fix RegEnumValueW when enumerating long values.".
This reverts commit 443ef6e7a6026f6aaa5ffcfcbc33d582da780ac5.
The tests fail on all versions of Windows.
2015-06-23 15:04:03 +09:00
Bernhard Übelacker
443ef6e7a6 advapi32: Fix RegEnumValueW when enumerating long values. 2015-06-22 20:58:23 +09:00
Hans Leidekker
1fb3f9cb15 advapi32/tests: Add tests to show that reading the SACL requires a special privilege. 2015-06-17 22:37:01 +09:00
Sebastian Lackner
e24eb501d3 advapi32: Forward ImpersonateAnonymousToken to ntdll. 2015-05-21 13:57:27 +09:00
Thomas Faber
817d903cb9 advapi32: Write back partial results in RegQueryInfoKeyA. 2015-05-20 17:26:44 +09:00
Thomas Faber
87b6d42c12 advapi32: Do not fail in RegQueryInfoKey if *class_len is 0. 2015-05-20 17:26:24 +09:00
Thomas Faber
b6c31bea3d advapi32: Use STATUS_BUFFER_TOO_SMALL for buffer overflows in RegQueryInfoKeyW. 2015-05-20 17:25:56 +09:00
Thomas Faber
b8bcec140c advapi32/tests: Add tests for RegQueryInfoKey. 2015-05-14 15:13:55 +09:00
Martin Storsjo
518e102a7e advapi32: Add a stub implementation of EventSetInformation. 2015-05-11 15:39:24 +09:00
Hans Leidekker
191b1bfbba advapi32: Return fake handles from RegisterTraceGuidsW. 2015-04-24 22:04:29 +09:00
Hans Leidekker
985e226c07 advapi32: Support parsing mandatory label ACE strings. 2015-04-17 14:53:13 +09:00
Piotr Caban
52df833a72 advapi32: Handle NULL DACL in SetSecurityInfo. 2015-04-03 17:07:44 +09:00
Sebastian Lackner
9e0045e167 advapi32/tests: Add tests for CreateFile with set security descriptor. 2015-04-01 22:34:19 +09:00
Sebastian Lackner
bfcfceec39 advapi32/tests: Merge common code to test DACL descriptors in a helper function. 2015-04-01 22:34:19 +09:00
Sebastian Lackner
3e47270b68 advapi32/tests: Add tests for NtCreateFile inheritance when security descriptor is set. 2015-03-31 14:49:14 +09:00
Sebastian Lackner
80b384311f advapi32/tests: Repeat ACL inheritance tests for NtCreateFile. 2015-03-31 14:49:10 +09:00
Erich E. Hoover
404d5bf09d advapi32/tests: Add tests for inheriting ACL attributes.
CreateFile should also inherit ACL from the parent directory.
2015-03-31 14:49:02 +09:00
Piotr Caban
00b3f055be server: Fix DACL to permissions conversion. 2015-03-31 00:04:43 +09:00
Piotr Caban
966c5dffed ntdll: Improve parameter validation in RtlAddAce. 2015-03-30 20:03:44 +09:00
Piotr Caban
f974d72672 advapi32: Add DACL inheritance support in SetSecurityInfo. 2015-03-27 20:46:02 +09:00
Piotr Caban
a4b12eb9f9 advapi32/tests: Add test for mapping DACL to permission.
This test shows that first DACL entry that allows or denies access
should be used. The logic inside server for translating DACL to
permission is not matching it (always scans all DACL entries, deny
entries have bigger priority).
2015-03-27 20:45:49 +09:00
Piotr Caban
02c4f5bd27 advapi32: Add SetNamedSecurityInfo test with empty DACL. 2015-03-27 20:45:07 +09:00
Piotr Caban
3eb448cf33 server: Make directory DACL entries inheritable. 2015-03-27 20:41:03 +09:00
Piotr Caban
f956bb4caa advapi: Don't use CreateFile when opening file with possibly empty DACL. 2015-03-27 20:40:52 +09:00
Francois Gouget
de72e97f37 advapi32/tests: Make cb_{running,stopped}() static. 2015-03-02 13:50:57 +09:00
Francois Gouget
fbc5935764 advapi32: Fix compilation on systems that don't support nameless unions. 2015-03-02 13:48:57 +09:00
Nikolay Sivov
daf0af4313 advapi32: Forward to CreateServiceWOW64W() when appropriate. 2015-02-27 14:20:25 +09:00
Nikolay Sivov
0f80d4b619 services: Make RPC interface compatible with native. 2015-02-27 14:20:24 +09:00
Nikolay Sivov
7520297a49 advapi32: Fix trace format for access mask in OpenService(). 2015-02-27 14:20:23 +09:00
Andrew Eikum
afa965a152 advapi32: Partially implement NotifyServiceStatusChangeW. 2015-02-26 23:05:12 +09:00
Andrew Eikum
48f0f16311 advapi32/tests: Don't test service timeout. 2015-02-26 23:05:05 +09:00
Andrew Eikum
8140bdc752 advapi32: Stub EventActivityIdControl.
Used by the Office 2013 live installer.
2015-02-26 20:08:49 +09:00
Nikolay Sivov
c0b0d3b4e2 services: Pass resume index to server. 2015-02-25 20:35:23 +09:00
Nikolay Sivov
3c186a65d3 services: Make ChangeServiceConfig2W() rpc call compatible with native one. 2015-02-25 20:35:23 +09:00
Akihiro Sagawa
03f6a6e924 advapi32: Fix HKLM\Software handling when opening with KEY_WOW64_32KEY. 2015-01-19 14:19:32 +01:00