Commit Graph

1355 Commits

Author SHA1 Message Date
Andrew Eikum ac615a7e9a advapi32: Consolidate helper function. 2012-09-14 12:03:01 +02:00
Charles Davis 4d22d68503 advapi32: Fix memory leak on Mac OS (Clang). 2012-09-14 11:39:47 +02:00
Francois Gouget b8050f0571 Assorted spelling fixes. 2012-09-04 16:15:52 +02:00
Dan Kegel 2cd062831d advapi32: RegSetValueExW should not crash when passed 1 instead of L"1". 2012-08-21 11:50:32 +02:00
Michael Stefaniuc ccc4c35a7a advapi32/tests: Don't shadow some local variables. 2012-08-17 16:26:08 +02:00
Detlef Riekenberg 92bcd0bf10 advapi32/tests: Simple tests for TokenIntegrityLevel. 2012-07-31 10:55:48 +02:00
Nikolay Sivov a56f3c665e advapi32/tests: Add some more well known SIDs to tests. 2012-07-23 12:48:58 +02:00
Detlef Riekenberg d685894a45 advapi32/tests: Add tests for CredIsMarshaledCredential. 2012-07-12 16:08:57 -05:00
Detlef Riekenberg d96de83089 advapi32: Implement CredIsMarshaledCredentialA/W. 2012-07-12 16:08:53 -05:00
André Hentschel 06da4b2201 advapi32: Remove 'stub' from TRACEs of implemented functions. 2012-06-27 11:35:56 +02:00
Jacek Caban 52363aef65 advapi32: Pass service name as argv[0] to ServiceMain. 2012-06-15 18:35:42 +02:00
Michael Stefaniuc c6aee91759 advapi32/tests: Test the correct error codes. 2012-05-17 10:18:20 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Hans Leidekker 593bd1a5d9 advapi32: Add stub implementations of EventUnregister and EventWrite. 2012-05-08 16:22:02 +02:00
Hans Leidekker cb436f7122 advapi32: Return a fake handle from EventRegister. 2012-05-08 16:21:50 +02:00
Dmitry Timoshkov 3bb0462165 advapi32: Add named pipe access tests. 2012-04-19 13:44:10 +02:00
Dmitry Timoshkov 27a3c43bb0 advapi32: Add distinct tests for Read, Write and Execute access rights for kernel objects. 2012-04-19 13:44:04 +02:00
André Hentschel e4cb946c4a advapi32: Avoid shadowing a parameter. 2012-04-17 20:12:38 +02:00
Alexander Morozov 6d6e6600ef advapi32: Regular program should not freeze forever if it calls StartServiceCtrlDispatcher. 2012-04-04 19:15:26 +02:00
Hans Leidekker 40427f1a77 advapi32: Return a fake security descriptor from CreatePrivateObjectSecurity.
Based on a patch by Robert Shearman.
2012-03-30 15:29:49 +02:00
Dmitry Timoshkov d574e7948e advapi32: Add event security access tests. 2012-03-29 20:49:32 +02:00
Dmitry Timoshkov 9c29e42103 advapi32: Add tests for kernel objects accessed with 0 and ACCESS_SYSTEM_SECURITY. 2012-03-29 20:49:32 +02:00
Alistair Leslie-Hughes 77b9d58556 advapi32: Assign a default value (clang). 2012-03-16 13:02:51 +01:00
Dmitry Timoshkov c25b071898 advapi32: Fix failures in the security tests compiled with PSDK headers. 2012-03-15 19:53:10 +01:00
Dmitry Timoshkov 23fa5c43fa advapi32: Add some mutex security tests. 2012-03-15 19:53:06 +01:00
Austin English 1163d1c00b advapi32: Add a stub for RegDisableReflectionKey. 2012-03-13 10:53:58 +01:00
Alistair Leslie-Hughes 02b3700779 advapi32: Correct tests under WOW64. 2012-03-12 10:12:05 +01:00
Hans Leidekker d5d2f01d3e advapi32: Implement CredMarshalCredential and CredUnmarshalCredential. 2012-03-09 11:32:46 +01:00
André Hentschel c2c3b51650 advapi32/tests: Add a test to cover second RegSetValueW Parameter (gcov). 2012-02-15 11:54:46 +01:00
Johan Gill 16dc83578a advapi32: CryptCreateHash actually sets ERROR_INVALID_PARAMETER if the CSP handle is 0. 2012-02-14 17:59:29 +01:00
Juan Lang c21033c5e9 advapi32/tests: Fix a test failure on older NT4. 2012-02-13 13:09:45 +01:00
Austin English 797a6ae066 advapi32: Sync specfile to win7. 2012-02-09 14:03:27 -06:00
Austin English 5930590ed2 advapi32: Add a stub for EnumerateTraceGuids. 2012-01-27 18:05:49 +01:00
Austin English ce233a46e0 advapi32: Add a stub for CloseTrace. 2012-01-27 18:05:49 +01:00
Alexandre Julliard b5314f50ed advapi32: Fix the TraceMessage prototypes. 2012-01-27 18:05:48 +01:00
Piotr Caban e849691fcc advapi32: Send shutdown notification to services. 2011-11-30 16:34:05 +01:00
Piotr Caban e2172edca2 advapi32: Added support for SERVICE_CONFIG_PRESHUTDOWN_INFO. 2011-11-30 16:32:09 +01:00
Thomas Faber c432514b39 advapi32/tests: Do not assume the test is called with an absolute path. 2011-11-16 09:47:07 +01:00
Thomas Faber 087ff0644f advapi32/tests: Use already existing static string instead of literal. 2011-11-16 09:46:36 +01:00
Andrew Talbot 8a1539ac98 advapi32: Remove an unused variable. 2011-11-14 13:10:22 +01:00
Marko Nikolic 30fde946fa advapi32: Removed sign comparison warning. 2011-10-06 12:27:34 -05:00
Nikolay Sivov cd919f60cf advapi32/tests: Add one more QueryServiceStatusEx() test. 2011-10-06 12:23:43 -05:00
Francois Gouget ada3d57e83 advapi32: Fix printing NULL strings. 2011-09-20 16:21:38 +02:00
Alistair Leslie-Hughes 1833124218 advapi32: Correct test for NT4 prior to sp4. 2011-09-09 14:57:42 +02:00
Alexandre Julliard d37c85d6a7 advapi32: Include system headers before Windows headers. 2011-09-05 17:22:10 +02:00
Francois Gouget fe3f2e3258 services: If a service is not started, then say so when ControlService() is called on it. 2011-08-30 11:47:37 +02:00
Francois Gouget eafb44d4e1 services: Refuse to start disabled services. 2011-08-30 11:47:35 +02:00
Francois Gouget 9183a171f1 services: Cleanup when a service fails to start so it is still fully considered to be stopped. 2011-08-30 11:47:32 +02:00
Alistair Leslie-Hughes 6dcae92ca1 advapi32: Cleanup event log only if create was successful. 2011-08-29 17:03:31 +02:00
Francois Gouget ac1a0d96e1 advapi32/tests: Tweak the service start/stop tests so they work on NT4. 2011-08-29 12:08:19 +02:00
Alexandre Julliard d34ff26230 advapi32/tests: Skip some tests if EnumServicesStatusExA is missing. 2011-08-25 11:31:55 +02:00
Alexandre Julliard 608b57ea4f advapi32/tests: Skip some tests if QueryServiceStatusEx is missing. 2011-08-24 15:25:16 +02:00
Nikolay Sivov 573db9ef63 ntdll: While requesting TokenGroups calculate required user buffer size in server. 2011-08-23 16:53:54 +02:00
Francois Gouget 87035e5274 advapi32/tests: Test what happens when a service fails to or cannot start. 2011-08-23 16:53:49 +02:00
Nikolay Sivov e717a78afe advapi32/tests: Fix invalid read in test. 2011-08-22 16:14:35 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Nikolay Sivov 322049cebf advapi32/crypt: Fixed some HKEY leaks. 2011-08-04 09:08:07 +02:00
Alistair Leslie-Hughes 3fc5110e2c advapi32: Add stub TraceMessage, TraceMessageVa. 2011-08-03 17:38:31 +02:00
Nikolay Sivov 3dc6226519 advapi32: Basic test for CreateRestrictedToken. 2011-08-02 11:41:42 +02:00
Nikolay Sivov 5290766ae0 advapi32: Fix CheckTokenMemberShip for primary tokens. 2011-08-02 11:41:32 +02:00
Louis Lenders 33e2034227 advapi32: SetLastError in ReadEventLog{A, W} stub to avoid applications from looping forever. 2011-07-19 14:03:56 +02:00
Alex Stanev 82b7a4166f advapi32: Set *lpSize properly in GetUserNameA. 2011-07-05 14:40:00 +02:00
Hans Leidekker dc46df47a4 advapi32: Make sure lpDisplayName is initialized in EnumServicesStatusA. 2011-06-10 10:56:48 +02:00
Alexandre Julliard ad4c995c3f advapi32: Always pass valid buffers in the EnumServicesStatus requests. 2011-06-09 23:42:41 +02:00
Alexandre Julliard 519fbf6202 advapi32: Fix the parameter checks in QueryServiceStatusEx. 2011-06-09 23:42:41 +02:00
Michael Stefaniuc b856884c3b advapi32: Remove wrong "is NULL and error out" code (coccicheck). 2011-06-06 16:29:58 +02:00
Andrew Nguyen c0b7345e38 advapi32: Fix last error value of GetUserNameA/W and output buffer handling in GetUserNameA. 2011-06-01 16:12:36 +02:00
Andrew Nguyen 750cadd2ff advapi32/tests: Add tests for GetUserNameA/W. 2011-05-31 18:33:33 +02:00
Andrew Nguyen 163dfad5a1 advapi32/tests: Use a matching enumeration value for the trustee form member. 2011-05-18 16:54:41 +02:00
Andrew Nguyen 4d154d007d advapi32: Add stubs for GetNamedSecurityInfoExA/W. 2011-05-18 16:54:22 +02:00
Austin English 8781b58ed9 advapi32: Return success in RegisterTraceGuids. 2011-05-13 17:05:26 +02:00
Huw Davies e8859699e8 advapi32: Fix incorrect pointer increment. 2011-05-05 16:31:58 +02:00
Austin English 51bdb255e3 advapi32: Add ProcessTrace stub. 2011-04-29 16:52:12 +02:00
Austin English f9a455964c advapi32: Add OpenTraceA/W stubs. 2011-04-29 16:52:12 +02:00
Marcus Meissner 7810e231a8 advapi32: Mark some internal symbols as hidden. 2011-04-27 18:15:57 +02:00
Owen Rudge 65ba77bd5c advapi32: Add basic SaferSetLevelInformation stub. 2011-04-04 12:26:12 +02:00
Dmitry Timoshkov 1b5602e59c server: Add excute permission when read file access is allowed. 2011-03-28 17:16:01 +02:00
Dmitry Timoshkov 2dfae4a733 advapi32: Add more file access permissions tests. 2011-03-17 10:54:37 +01:00
Dmitry Timoshkov da077956e1 server: Explicitly add FILE_DELETE_CHILD permission when file write access is allowed. 2011-03-16 16:31:56 +01:00
Dmitry Timoshkov 19c4331d61 advapi32: Add a bunch of file access tests. 2011-03-16 16:31:56 +01:00
Dmitry Timoshkov 58bff4e3f8 advapi32: Fix the English language check. 2011-03-16 16:31:55 +01:00
Francois Gouget 5b4f0dfc4c advapi32: Make trustee_name_A_to_W() and free_trustee_name() static. 2011-03-16 14:14:23 +01:00
André Hentschel e2a3b4b4e5 advapi32/tests: Add some skips. 2011-03-14 19:31:31 +01:00
Dmitry Timoshkov 494ceab83a advapi32: Move the 'const' modifier in front of the storage specifier. 2011-03-14 12:39:28 +01:00
Dmitry Timoshkov 99109567ad advapi32: Properly skip the tests that depend on English locale. 2011-03-14 12:39:28 +01:00
Alexandre Julliard 5055ec63a7 advapi32: Fix array size construct that gcc doesn't like. 2011-03-07 11:06:51 +01:00
Hans Leidekker 837fc836aa advapi32: Use a fixed computer SID that matches local user SIDs. 2011-03-02 12:50:59 +01:00
Hans Leidekker c65bcce589 server: Map the Unix user id to a local user SID instead of the interactive SID. 2011-03-02 12:50:59 +01:00
Austin English 4bf211714e advapi32/tests: Remove Win9x hacks. 2011-02-28 13:10:55 +01:00
André Hentschel 6e62dc8ece advapi32: Add stub for EnableTraceEx. 2011-02-23 19:21:58 +01:00
Austin English b7c18d104b advapi32/tests: Remove Win9x hacks. 2011-02-17 17:28:17 +01:00
Austin English 33db33d474 advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-17 17:27:47 +01:00
Austin English 68e1d5d78e advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-17 17:27:41 +01:00
Austin English a19ce2080e advapi32/tests: Remove useless assignments (LLVM/Clang). 2011-02-09 09:28:41 -06:00
Austin English 425e7ca15d advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-07 10:05:47 -06:00
Austin English d10a4dce8e advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-04 15:25:33 +01:00
Austin English 2951007d18 advapi32/tests: Make sure to use return value (LLVM/Clang). 2011-02-04 15:25:33 +01:00
Andrew Nguyen ed657182ee server: Filter the WOW64 registry access flags before performing the access check. 2011-01-24 16:04:18 +01:00
Juan Lang c91afb9733 rsaenh: Add support for CRYPT_IPSEC_HMAC_KEY. 2011-01-14 18:26:17 +01:00
Andrew Nguyen 97fa635fc7 advapi32: Convert the trustee name buffer based on trustee form in SetEntriesInAclA. 2011-01-12 11:32:19 +01:00