LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-22-2005, 01:13 PM   #1
balimba
LQ Newbie
 
Registered: Apr 2005
Posts: 5

Rep: Reputation: 0
Adding functions without kernel recompile


Hi,

I want to ask you help me verifying some things.

I got my hands on a MIPS based Linkstation (not the older ppc for which much software can be found on the internet) and want to add functions to it.
The kernel is stored in a flash and thus can not be easily modified but it has been compiled with module support turned on.
And now I have some questions before I start trying to add functions to the kernel.

1. if the kernel was let's say compiled with a 2.95gcc it should not matter which gcc I use for compiling additional modules ?
2. I can compile any function I need as a module and have the kernel load it by using insmod ?
3. file systems (the kernel lacks iso9660 support) can also be added as a module ?

And another thing that came to my mind: are there any serious security bugs in the stock 2.4.20 kernel that should keep me from exposing the box to the internet ? (it would be located behind a firewall which would only let through ssh and perhaps http or https. So my only concern should be tcp ip stack security holes)

Thanks for your answers !
 
Old 04-23-2005, 09:30 AM   #2
veerain
Senior Member
 
Registered: Mar 2005
Location: Earth bound to Helios
Distribution: Custom
Posts: 2,524

Rep: Reputation: 319Reputation: 319Reputation: 319Reputation: 319
1) You have to use gcc 2.95 only and probably same binutils version.

2) Yes you can compile any functions as module as much as kernel interface supports. Read module howto and related thing on tldp.org

3) Yes filesystems can also be added.

For tcp/ip security issues search google
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Where to get the kernel functions? okeyla Linux - Newbie 1 05-17-2005 05:05 AM
kernel functions sunfzam Linux - Software 14 04-10-2005 12:27 AM
kernel functions sunfzam Linux - Distributions 3 04-05-2005 02:52 PM
Adding parts to kernel without recompile scuzzman Linux - Newbie 3 01-14-2005 06:34 AM
Adding dual processor to RH8, recompile kernel? ID10T_error Linux - Hardware 2 07-02-2004 10:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration