Comparing SIDs at DISPATCH level?

In my filter driver I have a need to compare SIDs (for equality) while
holding a spinlock (i.e. at DISPATCH level). My obvious choice was
RtlEqualSid(), but that can’t be used at DISPATCH level. Is there any
supported interface to do the comparison at DISPATCH level?

– Thanks, Rick

PSID is an opaque data type, so I wouldn’t try to cook up a custom
comparison routine. Can’t you do this around a fast mutex or eresource
instead of a spin lock?

  • Nicholas Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Rick Kissel
Sent: Friday, November 15, 2002 2:15 PM
To: NT Developers Interest List
Subject: [ntdev] Comparing SIDs at DISPATCH level?

In my filter driver I have a need to compare SIDs (for
equality) while holding a spinlock (i.e. at DISPATCH level).
My obvious choice was RtlEqualSid(), but that can’t be used
at DISPATCH level. Is there any supported interface to do
the comparison at DISPATCH level?

– Thanks, Rick


You are currently subscribed to ntdev as: xxxxx@nryan.com
To unsubscribe send a blank email to %%email.unsub%%