create_proc_entry("mtrr", S_IWUSR | S_IRUGO, &proc_root);
> I want to create a file in /proc which I would be using for
> some of interprocess communication.
Thats a strange use ????
> Is there something I'm missing out on? All suggestions are welcome :)
>
> COde:
> ======
>
> struct proc_dir_entry *entry;
> char * filename = "spoon";
> entry = create_proc_entry(filename,0444,(struct proc_dir_entry *)0);
can you try
create_proc_entry("spoon", S_IWUSR | S_IRUGO, &proc_root);
--
BAIN
http://abhijit.adotout.net
--
______________________________________________________________________
Pune GNU/Linux Users Group Mailing List: ([email protected])
List Information: http://plug.org.in/mailing-list/listinfo/plug-mail
Send 'help' to [EMAIL PROTECTED] for mailing instructions.