Filp_open in Linux kernel driver driver

filp_open allows us to open a file in the file system. But is it safe to use it from kernel space? If used, care must be taken. Will it be supported in future versions of the Linux kernel.

The Linux kernel version 2.6.28 is currently used.

+4
source share
1 answer

Many drivers use the filp_open () function, it is more likely an assistant for opening a file in kernelspace. There is no reason to believe that this will not continue to be supported. Even the kernel file system subsystem uses filp_open ().

+5
source

All Articles