Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Mar 2014 14:30:38 +0330
From:      s m <sam.gh1986@gmail.com>
To:        freebsd-geom@freebsd.org
Subject:   editing geli code to write something in a file
Message-ID:  <CAA_1SgHfNHc5ULdmRGEqnRsbkRyiuazpujGRkE2%2BNuAKZ87c9Q@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
hello all

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.

thanks in advance
SAM



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAA_1SgHfNHc5ULdmRGEqnRsbkRyiuazpujGRkE2%2BNuAKZ87c9Q>