[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Kernel Module




Im working on a lkm that needs to be able to execute another command. Someone 
pointed me to kmod.c, and I tried to get as much from that as possible. 
Finally after finishing the code and make'ing it. When i try to insmod it, it 
gives me some unresolved symbol notices. What can i do about this

lkm.o: unresolved symbol root_user
lkm.o: unresolved symbol errno
lkm.o: unresolved symbol free_uid
lkm.o: unresolved symbol flush_signal_handlers


Most of these are in linux/sched.h and defined in user.c I think. 

					-Tropick
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/