Handle uniqueness

Quick question on object handles–

They are specific to a process BUT are they unique to the system
at any moment? That is, if handle 0x3FC is active for any given
process, is it true that no other process will have a handle of 0x3FC?

Bob Loewer

No, 3FC is the offset into that processes handle table,
another process can have exactly the same value for
some other object.

Don Burn
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From: “Bob Loewer”
To: “File Systems Developers”
Sent: Monday, March 10, 2003 12:21 PM
Subject: [ntfsd] Handle uniqueness

> Quick question on object handles–
>
> They are specific to a process BUT are they unique to the system
> at any moment? That is, if handle 0x3FC is active for any given
> process, is it true that no other process will have a handle of 0x3FC?
>
> Bob Loewer
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@acm.org
> To unsubscribe send a blank email to xxxxx@lists.osr.com

Except if the handle was opened in kernel-mode with OBJ_KERNEL_HANDLE,
in which case a global kernel-only handle table is used.

  • Nicholas Ryan

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Don Burn
Sent: Monday, March 10, 2003 9:38 AM
To: File Systems Developers
Subject: [ntfsd] Re: Handle uniqueness

No, 3FC is the offset into that processes handle table,
another process can have exactly the same value for
some other object.

Don Burn
Windows 2k/XP/2k3 Filesystem and Driver Consulting

----- Original Message -----
From: “Bob Loewer”
> To: “File Systems Developers”
> Sent: Monday, March 10, 2003 12:21 PM
> Subject: [ntfsd] Handle uniqueness
>
>
> > Quick question on object handles–
> >
> > They are specific to a process BUT are they unique to the system at
> > any moment? That is, if handle 0x3FC is active for any
> given process,
> > is it true that no other process will have a handle of 0x3FC?
> >
> > Bob Loewer
> >
> >
> >
> >
> > —
> > You are currently subscribed to ntfsd as: xxxxx@acm.org
> > To unsubscribe send a blank email to xxxxx@lists.osr.com
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@nryan.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>

No, not so.

----- Original Message -----
From: “Bob Loewer”
To: “File Systems Developers”
Sent: Monday, March 10, 2003 8:21 PM
Subject: [ntfsd] Handle uniqueness

> Quick question on object handles–
>
> They are specific to a process BUT are they unique to the system
> at any moment? That is, if handle 0x3FC is active for any given
> process, is it true that no other process will have a handle of
0x3FC?
>
> Bob Loewer
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com
>