Date: Sat, 1 Mar 2014 12:00:38 -0800 From: John-Mark Gurney <jmg@funkthat.com> To: s m <sam.gh1986@gmail.com> Cc: freebsd-geom@freebsd.org Subject: Re: editing geli code to write something in a file Message-ID: <20140301200038.GB47921@funkthat.com> In-Reply-To: <CAA_1SgHfNHc5ULdmRGEqnRsbkRyiuazpujGRkE2%2BNuAKZ87c9Q@mail.gmail.com> References: <CAA_1SgHfNHc5ULdmRGEqnRsbkRyiuazpujGRkE2%2BNuAKZ87c9Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
s m wrote this message on Sat, Mar 01, 2014 at 14:30 +0330: > for some reason, i want to do some extra process when entered passphrase is > correct in geli. in order to do that, i edit geli code (g_eli.c file) and > add my code to g_eli_taste function. every thing is ok except writing some > thing in a file. i can't use any standard library here. is there any way to > do that? should i use kernel functions which works with vnode in order to > do that??? if yes, how should i do it? please give me a point. asked and answered: http://docs.freebsd.org/cgi/mid.cgi?4652AD8C.7000605 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140301200038.GB47921>