From: Valdis.Kletnieks@vt.edu (Valdis.Kletnieks at vt.edu) Date: Fri, 19 Jul 2013 05:01:16 -0400 Subject: Where is the system call table in linux kernel v3.9? In-Reply-To: Your message of "Fri, 19 Jul 2013 13:25:35 +0530." References: <20130718110445.348cbe4d84ea6d460ac244a4@gmail.com> Message-ID: <54227.1374224476@turing-police.cc.vt.edu> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Fri, 19 Jul 2013 13:25:35 +0530, Prashant Shah said: > You can even use filp_open(), vfs_read(), vfs_write() if sys_* is not available > https://github.com/prashants/km/blob/master/filerw/filerw.c The reasons to not do file I/O from inside the kernel are many and well documented. Of course, if you're trying to do something like unionfs or fuse, you may not have a choice. And if you're doing something like that, it is probablly better to *avoid* using the sys_* calls even if they are available, but instead use filp_open() and the vfs_ functions. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 865 bytes Desc: not available Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20130719/b6ea845f/attachment.bin