Menu

#1 libppuirc requires superuser access

open
nobody
None
7
2006-01-30
2006-01-30
No

The libppuirc library requires un-inturrupted access to
the /dev/parport0 device. If the process is pre-empted
while reading/writing the signal will not be
recieved/send correctly (ie. it gets broken in half!).

This has been temporarily fixed by re-nicing a process
which uses the library to -1000 (ie. highest priority).
This is really bad because only superusers can set a
nice value such as this. Hence, any application
accessing the library must be suid to root.

A fix for this must be determined. My opinion would be
to use the linux kernel IrDa modules, but we have
developed this ppuirc hardware and should use it.
Another option is to write our own kernel drivers for
ppuirc...

Discussion


Log in to post a comment.

Auth0 Logo