[Click] opening handler file

Giovanni Di Stasi gdstasi at yahoo.it
Tue Mar 4 09:26:09 EST 2008


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



More information about the click mailing list