Toke , SeTd( paged and non paged ) keep depleting with driver installed

Hi all ,

I have inherited a driver and I am testing it. When I run longevity tests on the system with the driver installed the Toke and Setd keep increasing when I check with poolmon with d switch to see pools with non free allocations.

My driver is sort of a hello world project with very simple logic. I am going nowhere close to security tokens!

Have you ever seen this ? what would be the reason for this.

BR
Niladri

Just to be clear, you’ve checked these tags without your driver installed?

mm

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@napier.ac.uk
Sent: Tuesday, February 08, 2011 1:29 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Toke , SeTd( paged and non paged ) keep depleting with
driver installed

Hi all ,

I have inherited a driver and I am testing it. When I run longevity tests on
the system with the driver installed the Toke and Setd keep increasing when
I check with poolmon with d switch to see pools with non free allocations.

My driver is sort of a hello world project with very simple logic. I am
going nowhere close to security tokens!

Have you ever seen this ? what would be the reason for this.

BR
Niladri


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

Absolutely without the driver the Toke tag remains static forever.

Just found a peice of nasty code that calls - ZwOpenThreadToken and never closes the handle this looks looks like the culprit. In process of compiling and reinstalling let you know if it was a quick one to resolve!!