Ok. Dan.
thank you for give a right concept to me.
but, i don’t know how can i determine the right buffer among buffers of a given IRP yet.
i think the checking that what is the not null buffer is not answer of this.
because , inspite of UserBuffer is not null, it is possible that the buffer is user-space address, i guess.
actually, i have wonder that how can i change my passive filter to active?
(how can access the origin user-data)
please give me a key hint or great advise for this.
Sincerely, thanks.
----- Original Message -----
From: Dan Partelly
To: File Systems Developers
Sent: Friday, June 21, 2002 10:42 PM
Subject: [ntfsd] Re: modify the original user-data
Park,
Your wrong. Any filter can be active or passive, regardless of the position in the device stack. “Passive” filter here is used mostly
for filters who mainly examine data, and pass the request whithout any other operations to the next device on stack. For example, a FS activity logger is passive. Active filters are those which activly modify the data before passsing the IRP down, or they choose
to complete the operation themselves. For example , a FS filter which hides directoryes or files. I think you got the ideea.
Best Regards, Dan
----- Original Message -----
From: choosen-park
To: File Systems Developers
Sent: Friday, June 21, 2002 4:18 PM
Subject: [ntfsd] Re: modify the original user-data
thanks Dan.
(but i can’t access the web site. i don’t know exactly. … network traffic or etc. i’m accessing…)
Anyway, i think the core difference of active and passive filter is the position of layered chain.
active is the highest component in layer chain, so the driver can access user-space address directly.
am i wrong? then tell me the trueth please. and if i’m right, i want to know how to place my filter to highest position of that.
very thanks in advance.
choosen-park.
----- Original Message -----
From: Dan Partelly
To: File Systems Developers
Sent: Friday, June 21, 2002 9:42 PM
Subject: [ntfsd] Re: modify the original user-data
Check this
http://www.osr.com/resources_ifsfaq.shtml#Q56