> at the bottom of net/socket.c, and
> into net/netsyms.c, expecting to be able to call this function
> from a loadable module and to printk the function addresses
> from the file_operations struct.
> However, on rebooting into this modified kernel, my test module
> fails to load, saying
> foo.o: unresolved symbol get_socket_fileops
Basically, you're doing the right thing - what output does
grep get_socket_fileops /proc/ksyms
Do you have CONFIG_MODVERSIONS turned on in your kernel config? If so,
you probably want to save your .config, make distclean and rebuild from
scratch - that will likely fix the problem.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/