RE: set_fs

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

 



its a terrible idea to call user functions from the kernel will most
likely bring instability and security probs. 

why not try a user-space device driver. its like proxying device file
callbacks into user-space,  it does many of the things that kernel
drivers can't, such as  read files from the file system.
 
npguy

On Wed, 2004-08-04 at 23:08, Brad Dickerson wrote:
> Hi,
>  I was not aware it was evil to call open from a kernel space module. 
> Why? Should I use some other function to access the files on disk from 
> kernel space? Need the persistence feature of disks in my module.
> thanks,
> Brad
> 
> 
> 
> The information contained in this message is confidential and is intended for the addressee only.  If you have received this message in error or there are any problems, please notify the sender immediately.  The unauthorized use, disclosure, copying or alteration of this message is strictly forbidden.
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 
> 


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[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