Understanding how kernel functions works and adding new one

linux lover
2004-12-25T04:20:28Z

Hello ,
I want to know what things are require me to add my own
function in kernel through modules?
Actually i have 2 questions in my mind
1) Is it possible to write own user defined function in kernel
modules and get in laoded in kernel and allow kernel to use it?
2) Is it possible to add my own function program in C file to
kernel and allow my kernel module to use it?
I want to add own function not any system call(Am i
misunderstanding between syscall and new function call in kernel?)
Can anybody correct me in above approaches?Also give me steps
to do that adding functions in kernel/kernel module?
Thanks in advance.
regards,
linux.lover