Wednesday, September 14, 2005

Carolina weather

It's fall now and it is getting cooler. I am really enjoying the weather a lot. I know it's going to be really cold after a while and I won't be able to do much over the weekends. But I don't know why but I even enjoy the cold weather but I hate the snow though. Fortunately it does snow in Morrisville.

Anyway lots of changes seem to coming up at work. I have a new Manager working with me and she seems really cool. My current manager is awesome too. But I am most happy that both of them have plans of transistioning me over to kernel work that I have been longing for that. I know it's going to be pretty tough but I am sure thats going to make me really happy.

Also I am flying to California this weekend (again...like Tom Hanks in Forrest Gump). Will be there for a week. I think it's going be gruesome one. It's going to be all the more bad for couple of weeks once I get back here. Hopefully things should smooth out quickly.

Everything is going great on personal front as well. I am hoping for a big change in my life really soon (more of that later). I am having great time with my friends Vipul, Viraj and Keyur. It's been a while that I have met Silviu and Hari though, need to catch with them as well. I am normally busy cooking, working out,programming, talking on phone and some outdoors on weekends. All in all everything is peaceful and don't think it could have been better....

Saturday, September 10, 2005

sys_call_table not exported in 2.6 kernel

I spent half of my day today trying to implement a system call using a Linux kernel module (LKM). Basically I was going to add a new function pointer to the "sys_call_table" array. I had declared "sys_call_table" as extern variable in my KM, however whenever I tried loading the KM I was getting an "unknown symbol" error. On researching a bit I found out that the "sys_call_table" is no more exported in 2.6 kernel :-( this was done to enable loading of only GPLed modules in Linux kernel...

How can I dynamically add a new system call? I think I will implement a filesystem to communicate the information that I needed from the kernel. Something new to learn...