[lkml]   [1996]   [May]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: namei() and opening files in the kernel
On  1 May 96 at 9:35, Alan Cox wrote:

> > My question is: am I doing something I shouldn't? If so, how should I be doing this? If not, any ideas about what I might be doing wrong?
> To make calls with kernel space as if it were user space you do:
> int fs=get_fs();
> set_fs(get_ds());

Shouldn't "_fs" be "_user" now? Linus, what about another change?
What about "_ds"?

> somefunction();
> set_fs(get_fs());
> Alan


 \ /
  Last update: 2005-03-22 13:37    [W:0.024 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site