El Thu, Feb 26, 2009 at 02:02:18PM +0000 Sabin ha dit: > I am not able to link with proc_root symbol, though i could see it > exported in /proc/kallsyms. > I am trying something like this: > static void __exit procfs_exit(void) > { > remove_proc_entry(PROCFS_NAME,&proc_root); > printk(KERN_INFO "/proc/%s removed\n",PROCFS_NAME); > } > > have included the following: > #include <linux/module.h> > #include <linux/kernel.h> > #include <linux/proc_fs.h> to remove an entry in the root of /proc do: remove_proc_entry(PROCFS_NAME, NULL); -- Matthias Kaehlcke Embedded Linux Engineer Barcelona Comunicar bichos a <bug-coreutils@xxxxxxx> (LANG=es_ES uname --help) .''`. using free software / Debian GNU/Linux | http://debian.org : :' : `. `'` gpg --keyserver pgp.mit.edu --recv-keys 47D8E5D4 `- -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ