I'm writing a program which runs in user context and opens and writes into  a 
handler file exported by click in kernel mode.

I'm having problems in opening that file:

int fd_links;
fd_links=open("/click/element/handler", O_WRONLY | O_APPEND);

The open call returns -1, and the error is "Permission denied".

The program runs with root privileges (at least I think so, it is a olsrd 
plugin).

Do you have any hints? I tried other flags, but I always get that error.



      ___________________________________ 
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html

_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click

Reply via email to