Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am developing a function say my_abc() which does the same thing as kernel function abc(). Now I want that instead of using predefined kernel function kernel starts using my function. It might be possible that the kernel function has been used so many places. Anyone having idea how to achieve this.
Last edited by ravishekhar.82; 03-31-2010 at 04:21 AM.
Okay, so now that it is more clear that you are actually dealing with a kernel matter, never mind the business about the order of linking; that was only in the case that you were really trying to over-ride a standard library function (distinct from a kernel function).
If you are going to replace functionality that is in the kernel, you will have to write a new kernel driver/module. It may have to be built into the kernel. It will probably be easiest to take the existing module, and modify it to do what you really want it to do.
Kernel programming is a whole different world from userspace programming. There are numerous good articles and even one popular online book that describes kernel level programming. Google is your friend.
Just to say - I like the idea that Ravi has about DOING this in the first place - this sounds immensely cool.
Ravi, when you get it working, please post back in this thread to let us know what worked .