- ObFindObject should return the actual object being inserted, in the insert case...
authorAlex Ionescu <aionescu@gmail.com>
Thu, 8 Jun 2006 06:17:46 +0000 (06:17 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Thu, 8 Jun 2006 06:17:46 +0000 (06:17 +0000)
commit028c1dff32ae6f042aa80091c27db567e410d8d3
treee80512917f5764f1515972b5cbdad05860b6b016
parent2173f9e4aa2c6a98cae077fb6f94696aaafabca2
- ObFindObject should return the actual object being inserted, in the insert case (otherwise it always returns the root-directory instead...)
- Add check for optimized case for objects with no name and no security, but not implemented (ObpIncrementUnnamedHandleCount in Gl00my docs), since I need a better translation then babelfish's.
- Fix ObInsertObject to save the Security Descriptor in the Access State structure. Gl00my mentions this isn't absorbed by SeCreateAccessCheck and I just noticed that too.
- We only need to perform security checks for a new object, in ObInsertObject, not if the object already existed.
- Added proper backout+failure code in ObInsertObject if lookup failed, and also look out for mismatch/exists/collision cases (implemented using simple logic).

svn path=/trunk/; revision=22280
reactos/ntoskrnl/ob/obhandle.c
reactos/ntoskrnl/ob/obname.c