- Object Manager Fixes (2 of 3):
authorAlex Ionescu <aionescu@gmail.com>
Mon, 29 May 2006 00:18:36 +0000 (00:18 +0000)
committerAlex Ionescu <aionescu@gmail.com>
Mon, 29 May 2006 00:18:36 +0000 (00:18 +0000)
commit453c3d0af028e20db0b48e50f8042432c7258193
treec19c075b92e3aa8360097c34081d81a2033ee863
parent0817ba91980a1bafde229bf869cacbd494f734e9
- Object Manager Fixes (2 of 3):
  * Remove superflous debug prints used a long time ago while debugging
  * Set the CreatorUniqueProcess
  * Align code to 80 chars
  * Do a privilege check of OB_FLAG_PERMANENT is being used, and de-allocate the object if this failed.
  * Send the PreviousMode to ObpAllocateObject so that it can honor it and set the OB_FLAG_KERNEL_MODE flag.
  * Use OBJECT_TYPE accounting to increase TotalNumberOfObjects.
  * Fail ObCreateObject in low-memory situations instead of ignoring it.
  * Respect OBJECT_TYPE.TypeInfo.InvalidAttributes if an attempt is to create an object with invalid attributes is detected.
  * Respect PagedPoolCharge and NonPagedPoolCharge parameters and save them in the OBJECT_CREATE_INFORMATION strucutre.

svn path=/trunk/; revision=22099
reactos/ntoskrnl/ob/obinit.c
reactos/ntoskrnl/ob/oblife.c