Free Republic
Browse · Search
General/Chat
Topics · Post Article

To: 2 Kool 2 Be 4-Gotten

Quote:
Or, alternatively, does it need certain kernel hooks to survive and indeed thrive?

I would think it is like the vfs and vfs_ops.h family of header files and accompanying calls.

You produce alternate functions to be called when the user
mounts/dismounts a file system as well as alternate functions for when any code uses typical file manipulation library calls (open(), stat(), read(), seek() or a dozen other typical calls).

You create kernel modules to load these into the kernel, and if any utility (anything from “ls” to “write()”, etc)performs an action within your file system, then your function gets the callout, and you can have your way with the data.


17 posted on 06/29/2011 8:20:59 AM PDT by Verbosus (/* No Comment */)
[ Post Reply | Private Reply | To 4 | View Replies ]


To: Verbosus

Well of course this makes sense - everything eventually relates back to the kernel, doesn’t it?

So is the suggestion that Linus can effectively block these hooks from being integrated in, or does he basically say I don’t like it but do it if you must and we’ll see who comes out the winner in the end?


18 posted on 06/29/2011 8:30:10 AM PDT by 2 Kool 2 Be 4-Gotten (Welcome to the USA - where every day is Backwards Day!)
[ Post Reply | Private Reply | To 17 | View Replies ]

Free Republic
Browse · Search
General/Chat
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson