I try to use sys-open in the kernel space and

therefore I tried to use the following scheme:

 

mm_segment fs;

 

fs=get_fs();

 

set_fs(get_ds());

 

.........

 

 

 

set_fs(fs);

 

 

The problem is that currently I am working under 2.6.17.13 and I don't know
which header files to add.

 

I tried:

 

asm-h8300/segment.h

asm-m68k/segment.h

asm-sh/uaccess.h

asm-m68knommu/segment.h

 

 

but when I did it I got some faults (there where some errors in eacg of the
headers files).

So I ask for help.

 

Christopher

Reply via email to