Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2000 23:33:44 +0100
From:      Tomasz Paszkowski <ns88@k.pl>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        freebsd-current@freebsd.org
Subject:   Re: open in kernelspace
Message-ID:  <20001220233344.A66282@genesis.k.pl>
In-Reply-To: <57110.977350253@critter>; from phk@critter.freebsd.dk on Wed, Dec 20, 2000 at 11:10:53PM %2B0100
References:  <20001220230221.A66954@genesis.k.pl> <57110.977350253@critter>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 20, 2000 at 11:10:53PM +0100, Poul-Henning Kamp wrote:
> Sorry, yes...
> 
> ktrace, various accounting and of course open(2) will be the best 
> places to start.
> 
> In all likely hood you're trying to do something the wrong way
> though...

I'm trying to open file located on /, from kernel module. I have tried
with open, but this function require arguments from user space.

I have find sth easiest vn_open, but still If someone know how to use
open in krenel space please tell me.

-- 
   _     _    _   _    _ 
  /  \  | | / /  / \  / \  ---------- Tomasz Paszkowski --- NS88-6BONE --------
  | |\ \| | \ \ |/ \||/ \| === BSD is for people who love Unix ================
 /_/  \__/  /_/  \_/  \_/  --- Linux is for people who hate Microsoft ---------



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001220233344.A66282>