problems with sys_open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux