Commit Graph

105 Commits

Author SHA1 Message Date
Alexandre Julliard ab7efe7273 ntdll: Fix RtlGetSacl/DaclSecurityDescriptor for relative descriptors on 64-bit. 2011-03-09 13:44:11 +01:00
Alexandre Julliard 8543c32442 ntdll: Properly handle empty but present ACLs in self-relative descriptors. 2010-02-18 13:01:58 +01:00
Rob Shearman f2f50f18dc ntdll: Don't read beyond the end of the array on the last ace iteration in RtlValidAcl. 2009-11-29 16:40:06 +01:00
Alexandre Julliard 2ee9118266 ntdll: Fix handling of self-relative security descriptors for 64-bit. 2009-06-16 13:29:05 +02:00
Michael Stefaniuc d2f6f56873 ntdll: Remove superfluous pointer casts. 2009-03-23 12:40:53 +01:00
Nikolay Sivov 800b05c4b5 ntdll: Check pointers in NtAccessCheck to prevent access violation. 2009-01-14 12:20:17 +01:00
Andrey Turkin 79dd662d2d ntdll: Always set output values in RtlGetDaclSecurityDescriptor. 2009-01-04 14:59:54 +01:00
Alexandre Julliard d1b3d484f7 server: Add functions for conversions between server object handles and pointer-style handles. 2008-12-08 16:05:17 +01:00
Paul Bryan Roberts b1542f4f00 ntdll: RtlSetControlSecurityDescriptor() implementation and test. 2008-10-20 13:46:33 +02:00
Andrew Talbot 741b65c200 ntdll: Remove unneeded address-of operators from array names. 2008-07-11 14:06:27 +02:00
Alexandre Julliard 94e217891c exception.h: Make the RtlUnwind wrapper available separately.
Also avoid dependency on winternl.h.
2008-07-03 13:08:19 +02:00
Andrew Talbot 5ecd33e2f9 ntdll: Assign to structs instead of using memcpy. 2008-03-10 11:23:30 +01:00
Rob Shearman 21e2caa484 ntdll: Fix the index check in RtlGetAce.
The index is zero based so we should obviously be returning
STATUS_INVALID_PARAMETER if the index is equal to the ACE count.
2008-01-23 11:31:42 +01:00
Andrew Talbot 1ebe82af65 ntdll: Remove unneeded casts. 2007-12-31 16:45:22 +01:00
Gerald Pfeifer 3cf116d4e9 ntdll: Simplify condition in RtlGetAce() based on variable (un)signedness. 2007-11-26 13:56:05 +01:00
Dan Kegel ab07d61b91 ntdll: NtAccessCheck: Only send used bytes to server. 2007-10-31 14:15:40 +01:00
Rob Shearman 6b081232b9 ntdll: Add a stub for RtlSetControlSecurityDescriptor.
Implement SetSecurityDescriptorControl on top of RtlSetControlSecurityDescriptor.
2007-10-23 18:20:45 +02:00
Rob Shearman 06b2da9560 ntdll: Fix RtlValidAcl to accept newer ACL revisions. 2007-10-23 18:18:29 +02:00
Rob Shearman 6bc11536bd ntdll: Allow the newer ACL revisions in RtlCreateAce. 2007-10-23 18:18:29 +02:00
Rob Shearman a006b06080 ntdll: Fix the return code from RtlSetDaclSecurityDescriptor when daclpresent is FALSE. 2007-10-16 13:17:14 +02:00
Rob Shearman a9ffa82c6d ntdll: Fix NtAccessCheck for NULL, but present SACLs and DACLs. 2007-10-16 13:17:06 +02:00
Mikolaj Zalewski 611f57bc20 advapi32/ntdll: GetSecurityDescriptorOwner/Group should fill isDefaulted also for NULL sids. 2007-09-28 11:26:10 +02:00
Mikolaj Zalewski 3c51b2c645 advapi32/ntdll: MakeRelativeSD should preserve NULL pointers (with testcase). 2007-09-28 11:26:00 +02:00
Mikolaj Zalewski 04e688a26d ntdll: Add RtlAddAuditAccessAceEx. 2007-09-25 11:18:40 +02:00
Marcus Meissner a5facc008b ntdll: Initialize pointers to NULL (Coverity). 2007-05-23 13:14:09 +02:00
Dmitry Timoshkov e142779b09 ntdll: Fix compilation warnings in 64-bit mode. 2007-05-23 13:10:20 +02:00
Andrew Talbot 9fe3b60f12 ntdll: Exclude unused headers. 2007-05-15 12:19:31 +02:00
Hans Leidekker 65c76849a7 ntdll: Fully initialize the security descriptor returned from RtlSelfRelativeToAbsoluteSD.
Debugged by Anastasius Focht.
2007-03-26 12:21:30 +02:00
Vitaliy Margolen c0a5671d9c ntdll: More error checking. Properly handle NULL ACLs. 2007-02-28 13:28:33 +01:00
Vitaliy Margolen b0e9d7e0b5 ntdll/server: Implement NtSetSecurityObject. With tests. 2007-02-15 14:19:24 +01:00
Vitaliy Margolen b03ada871a ntdll: Correct trace message stating NtAccessCheck is a stub. 2007-01-22 12:50:11 +01:00
Vitaliy Margolen 11b54bfe87 ntdll: Don't change granted access mask on error. 2007-01-22 12:50:08 +01:00
Hans Leidekker f7b0ba7aa7 ntdll: Win64 printf format warning fixes. 2006-10-18 12:35:26 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike Hearn 0154704f9f ntdll: Fix heap corruption in RtlDeleteAce. 2006-05-08 13:37:20 +02:00
Alexandre Julliard ae964ac801 Take advantage of the __EXCEPT_PAGE_FAULT macro. 2005-12-16 17:17:57 +01:00
Ge van Geldorp 1a1583a364 Match PSDK STATUS_* definitions. 2005-11-28 17:32:54 +01:00
Dmitry Timoshkov adf48a3cc7 Add a test for RtlAllocateAndInitializeSid, make it pass under Wine. 2005-11-15 12:03:46 +00:00
Markus Amsler ae542af541 Improve c2man Documented-Total count. 2005-11-09 10:30:57 +00:00
Alexandre Julliard 261e376495 Fixed a number of pointer to integer conversions that wouldn't work
right on a 64-bit platform.
2005-09-12 15:14:06 +00:00
Alexandre Julliard c33bd1b71b Use an SID instead of the user name for the path of the
HKEY_CURRENT_USER key (based on an old patch by Juan Lang).
2005-07-11 20:42:12 +00:00
James Hawkins 9f96664dc4 - Fix calculation of generic pointers.
- Minor cleanups.
2005-06-29 20:14:16 +00:00
James Hawkins b3738d3b12 Forward RtlAddAccess* to add_access_ace. 2005-06-28 10:54:29 +00:00
James Hawkins bf7596fd0c Implement RtlAddAuditAccessAce. 2005-06-24 12:20:15 +00:00
James Hawkins a0bfbb9801 Add stub implementation of RtlAddAuditAccessAce. 2005-06-23 11:03:30 +00:00
Mike McCormack 04f9f1b066 Don't include winbase.h or winerror.h when not necessary. 2005-06-21 09:52:40 +00:00
Robert Shearman 9cb94b276f Implement RtlImpersonateSelf, RevertToSelf and MapGenericMask. 2005-06-20 11:44:45 +00:00
James Hawkins e485f984bd Implement RtlCopySecurityDescriptor. 2005-06-20 10:34:30 +00:00
Mike McCormack 5b2d5fd758 Use HANDLE instead of HKEY in the NT API. 2005-06-17 13:58:33 +00:00
James Hawkins d27d5b0a26 Implement RtlAbsoluteToSelfRelativeSD. 2005-06-13 11:34:02 +00:00