On Tue, Apr 27, 2010 at 11:46, SandeepKsinha <[email protected]> wrote:
>
> I think Mulyadi is referring to these sequence of steps:
>
>      fs = get_fs();     /* save previous value */
>      set_fs (get_ds()); /* use kernel limit */
>
>      /* system calls can be invoked */
>
>      set_fs(fs); /* restore before returning to user space */
>
>
> Refer : http://www.linux.it/~rubini/docs/ksys/ksys.html

Bingo!!! That's it. Again, I am not sure that it is still needed in
your case, Rahul, so kindly experiment with it first.

-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to