lkml.org 
[lkml]   [1999]   [Jul]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Loop Devices over NFS don't work?
Date
From
> Is this correct or have I missed something?
>
> Otherwise for my simple needs, removing the access_ok check works 'well
> enough'

Do

mm_segment_t fs=get_fs();
set_fs(get_ds());

blah blah

set_fs(fs);

The code in blah blah is executed with the kernel space as the "user space"


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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