Open and copy a file from the kernel

Valdis.Kletnieks at vt.edu Valdis.Kletnieks at vt.edu
Tue May 27 03:57:06 EDT 2014


On Tue, 27 May 2014 10:19:37 +0300, Nada Saif said:
> I want to process a copy operation from file sent from user space - this
> copying should be inside the kernel..

Why? What problem are you trying to solve by doing this?  This is almost
certainly a bad design, for a number of reasons.

And there's probably a better way to do what you're trying to accomplish.

> I read about using filp_open , will this help me ?

Probably not.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 848 bytes
Desc: not available
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20140527/9fd8efa6/attachment.bin 


More information about the Kernelnewbies mailing list