You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,slavaim:
I used this code to modify some data , read write rename truncate all works.
but I don't know how to modify data in pagein and pageout procedure.
my code like belows:
`int
FltVnopPageinHook(
__in struct vnop_pagein_args *ap
)
}
`
for example, If a text file which content is "aaaa", after hook pagein function, I want the user who view it to see its content as "5aaa",but above codes don't work.
thanks for your reply.
The text was updated successfully, but these errors were encountered:
Hi,slavaim:
I used this code to modify some data , read write rename truncate all works.
but I don't know how to modify data in pagein and pageout procedure.
my code like belows:
`int
FltVnopPageinHook(
__in struct vnop_pagein_args *ap
)
{
int (origVnop)(struct vnop_pagein_args ap);
origVnop = (int ()(struct vnop_pagein_args))FltGetOriginalVnodeOp( ap->a_vp, FltVopEnum_pagein );
assert( origVnop );
}
`
for example, If a text file which content is "aaaa", after hook pagein function, I want the user who view it to see its content as "5aaa",but above codes don't work.
thanks for your reply.
The text was updated successfully, but these errors were encountered: