Getting 'bad file number' error writing to device driver

Philip Anil-QBW348 anil.philip at motorolasolutions.com
Wed Oct 19 11:51:08 EDT 2011




-----Original Message-----
Maybe setuid bit can help you ([1]). When this bit is set, a certain program
can run with the privileges of its owner.

thanks,
Daniel.

[1] http://en.wikipedia.org/wiki/Setuid

--------
Daniel,
Thanks for the link; but this bit has to be set on the original executable.
Is there any way a program in user mode can get around this or set the bit himself?
Anil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20111019/4a73bf0c/attachment.html 


More information about the Kernelnewbies mailing list