Date: Wed, 18 Feb 1998 10:21:22 +1100 (EST) From: <nick@feralmonkey.org> To: Dan Seguin <dseg@texar.com> Cc: FreeBSD Hackers <FreeBSD-Hackers@FreeBSD.org> Subject: Re: LKM - interceptors Message-ID: <Pine.BSF.4.05.9802181020540.2871-101000@shibumi.feralmonkey.org> In-Reply-To: <Pine.BSF.3.91.990217162004.11281E-100000@pak.texar.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
See attached.
Nick
On Wed, 17 Feb 1999, Dan Seguin wrote:
>
>
> Hi. I'd like to ask if it is possible to write a LKM that would intercept
> certain system calls, (do something), then continue the (original) call.
> I've looked at the misc LKM and understand moving the sysent, and so on.
> Is it possible to reindex the sysent for your LKM (in all the places of
> the system calls that you want to intercept), effectively
> intercepting a number of system calls (say 3, 4 ,7 etc), then calling the
> original system calls from oldent?
>
>
> The goal of this would be to do something like truss but have it inside
> of the kernel instead of outside without modifying the kernel (hence the
> LKM).
>
>
> I hope I've made this clear enough.
>
>
> Dan Seguin
>
> Azure Automata, Inc.
>
>
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
>
[-- Attachment #2 --]
D4 X]hWR3ДReo[?%-ډcIlq6w\IS͏'j ]жy)})n)}>v_~}Ȓ{+i,[
&e9xt{sw"7ٶYRj!T#sQ.WĸPe&0&٣4b8#KWk?%Q2?-s.iU\^Y]زMŴn⦫k03mfğ{;́p?9U*NLrB1AQ,BXإ^ժblӶ\Q<MLW7a"Vol.tLDZfhxʂaeU v;exC\l)l$lB.xulˣ3Ak;K7@IٱM:t2x`AbL\:#2q6X#Tь("p3^Ntu]wl <
}pPyAQ;\ơ]|"xyi9ya%bQ*8a٣f6{NU]ӈ13sb6+x[Hãcx5<+1Lm)F*+@uKsӐ-
"+V4ʹq7DDEpoZR *@]$/ȗWf#
dZ-\)ПaA }oKLATzC:ܲ^QngBN_'vYF{A8876dg`5LCmrg+ܺ}j +@^)Q̣kd Ȁ!l'b+
`p|àAZu̬NM<$laje9vZR8'
,
='@j%|l#MʸՑ>sZm,2پX
# K;aR 0
Hp[tre}@l:22) gTG
ygӖƋ40z:^'PA6@x(W40-RӀaG"С7 R {~}}kSb!ۻM㤷cCwca&3еZpk!{AJ^^[_{C~fm7P]~v³lw/߿GoBn$O@?U7Øܽn7s{/I]Ivim'OWyl~E2~kގ/b$4`ԵdsOܡ;)wrZ_%:Oп>[[ k_%PwpkTݻ֕DS Vގ{is1{궽*S/8<05
-,ooE=Y.t]/'db&˛Uyӿ\~r\o'XStF]>Nm@e,BXyMm=WCq>}OMHP#x*:!Y
,2dɬjAr蒂
ɡJdvBrpuCrlU9t ^4ݭ+p=?(?G|OdsOT0㠡(q~cO? sG};{ElC}ZX]azx~_qzV.P|z5Sԫa>y<
A?^hUZC"("("("a (
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9802181020540.2871-101000>
