On 3/9/06, Rajaram Suryanarayanan <rajaram_linux@xxxxxxxxx> wrote: > > Is EXPORT_NO_SYMBOLS available in kernel 2.6 ? > I am using it in my module, but still the symbols are being exported and > seen in /proc/kallsyms. > As others mentioned from 2.6.x kernel series EXPORT_NO_SYMBOL is removed, I want to add that if you don't want your symbols to be exported then define them static. > EXPORT_NO_SYMBOLS; > int i_hello; > > int init_module(void) > { > > printk(KERN_INFO "Hello World \n"); > //printk(KERN_INFO "%d\n",jiffies/(HZ *3600)); > return 0; > > } > > void cleanup_module(void) > { > printk(KERN_INFO "Goodbye World\n"); > } > -- Fawad Lateef -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/