Subject: Re: calling sys_open
To: Ashish Gupta <gashish@cse.iitk.ac.in>
From: Assar Westerlund <assar@sics.se>
List: tech-kern
Date: 05/15/2000 06:54:12
Ashish Gupta <gashish@cse.iitk.ac.in> writes:
>     When calling sys_open,it calls NDINIT with UIO_USERSPACE
> as one of the arguments.But as i am calling from KERNEL space
> should i have to change some fields of VM sturcts to have illusion 
> that call is made from USERSPACE and latter on restore the values.

You should not call sys_open yourself.  vn_open() might be a better
function to call.

/assar