Re: problems with sys_open

2007-12-26 Thread Thomas Petazzoni
Le Mon, 24 Dec 2007 15:42:05 +0100, "K.Choromanski" <[EMAIL PROTECTED]> a écrit : > I try to use sys-open in the kernel space and http://kernelnewbies.org/FAQ/WhyWritingFilesFromKernelIsBad Sincerly, Thomas -- Thomas Petazzoni, [EMAIL PROTECTED], http://thomas.enix.org Jabber, [EMAIL PROTECTED

problems with sys_open

2007-12-24 Thread K.Choromanski
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.