Nikolay Sivov
|
a0ac14456b
|
advapi32/tests: Fix a sid string leak (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-11 20:55:56 +02:00 |
Nikolay Sivov
|
df522c5a06
|
advapi32/tests: Statically link to ConvertSidToStringSidA().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-11 20:55:54 +02:00 |
Francois Gouget
|
6e082ea86a
|
advapi32/tests: A couple of spelling fixes in ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-07-06 18:49:38 +02:00 |
Matteo Bruni
|
894837168c
|
advapi32/tests: Add a token mandatory label test.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-19 09:50:35 +02:00 |
Michael Müller
|
a78d419420
|
server: Assign a default label to all tokens.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-19 09:50:32 +02:00 |
Michael Müller
|
08f3fef34c
|
advapi32/tests: Show that child processes do not inherit mandatory labels.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-19 09:50:25 +02:00 |
Michael Müller
|
7e68ccff87
|
advapi32/tests: Show that tokens do not inherit the DACL while creating child processes.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-19 09:50:24 +02:00 |
Michael Müller
|
4bd10fbd1a
|
advapi32/tests: Show that tokens do not inherit security descriptors during duplication.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-19 09:50:22 +02:00 |
Thomas Faber
|
c7f0777fc5
|
advapi32/tests: Properly restore privileges in test_AdjustTokenPrivileges.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-15 21:54:40 +02:00 |
Michael Müller
|
3ef07ac9dd
|
advapi32/tests: Add basic tests for token security descriptors.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-15 11:12:32 +02:00 |
Michael Müller
|
187b53e5a5
|
server: Do not set SE_{D, S}ACL_PRESENT if no {D, S}ACL was set.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-15 11:09:16 +02:00 |
Michael Müller
|
af2d01c2fa
|
server: Implement changing the label of a security descriptor.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-15 11:08:59 +02:00 |
Michael Müller
|
2ebe679638
|
server: Implement querying the security label of a security descriptor.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-15 10:50:54 +02:00 |
Matteo Bruni
|
2821685164
|
advapi32/tests: Allow an additional result on newer Win10.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-06-13 16:00:45 +02:00 |
Michael Müller
|
cca8931483
|
advapi32/tests: Add tests for AddMandatoryAce.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-17 20:54:04 +01:00 |
Michael Müller
|
0e49e0541f
|
server: Give all access rights when opening an object with MAXIMUM_ALLOWED.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-13 11:37:02 +01:00 |
Sebastian Lackner
|
0e42bce0b6
|
server: Fix handling of MAXIMUM_ALLOWED in token_access_check.
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-02-03 19:05:10 +01:00 |
Huw Davies
|
e3c8794dfc
|
advapi32/tests: Update ACE registry tests with Windows 10 values.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2017-01-13 14:51:06 +01:00 |
Jacek Caban
|
2f1d068abd
|
ntdll: Added TokenIsAppContainer semi-stub implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-11-15 16:08:16 -06:00 |
Jacek Caban
|
bf1537da8b
|
advapi32/tests: Added TokenIsAppContainer tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-11-15 16:08:10 -06:00 |
André Hentschel
|
4464793e60
|
advapi32/tests: Allow Win8+ flags for Admins ACE.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-06-23 12:04:12 +09:00 |
André Hentschel
|
9db9c9ef5a
|
advapi32/tests: Allow MACHINE\Software to be owned by local system.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-06-23 12:04:10 +09:00 |
Francois Gouget
|
0beaaa6bc2
|
advapi32/tests: Some spelling fixes for the security ok() messages.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-04-19 14:56:58 +09:00 |
Jacek Caban
|
e625e86ee1
|
kernel32: Don't set unconditionally SECTION_QUERY flag in OpenFileMapping.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-03-14 13:54:52 +09:00 |
Qian Hong
|
954ca154ac
|
advapi32/tests: Add more invalid parameter tests for AccessCheck.
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-19 19:37:41 +09:00 |
Qian Hong
|
86c4790721
|
advapi32/tests: Add invalid parameter tests for AccessCheck.
Signed-off-by: Qian Hong <qhong@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-16 23:26:30 +09:00 |
André Hentschel
|
4684dc2bfb
|
advapi32/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-16 12:09:39 +09:00 |
Nikolay Sivov
|
2abec634ac
|
advapi32/tests: Simplify tests using todo_wine_if().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-12 12:17:44 +09:00 |
Michael Müller
|
c937cf6ad2
|
advapi32/tests: Add tests for Win8 pseudo handles.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-02-11 12:15:57 +09:00 |
Francois Gouget
|
7371c44336
|
advapi32/tests: Trace the SIDs if they are not as expected.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2016-01-28 21:27:34 +09:00 |
Michael Müller
|
79636bebbf
|
advapi32: Set last error to ERROR_SUCCESS in GetSidIdentifierAuthority.
Signed-off-by: Michael Müller <michael@fds-team.de>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-12-09 00:53:41 +09:00 |
Nikolay Sivov
|
076f50ee6c
|
advapi32/tests: Simplify conditional expression (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
|
2015-10-13 23:35:24 +09:00 |
Hans Leidekker
|
a5b4ed75cf
|
advapi32/tests: Avoid more test failures.
|
2015-09-11 18:21:58 +09:00 |
Hans Leidekker
|
ca32deb0d2
|
advapi32/tests: Perform a case-insensitive match on domain names.
|
2015-09-07 18:52:18 +09:00 |
Hans Leidekker
|
b368cd1b71
|
advapi32/tests: Avoid test failures when running as an unprivileged user.
|
2015-09-07 18:52:16 +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 |
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 |
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 |
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 |
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 |