solaris /dev/console patch

Robert McQueen robert.mcqueen at collabora.co.uk
Thu Apr 27 13:47:29 PDT 2006


Havoc Pennington wrote:
> There may be efficiency issues...
> 
> I'm not sure how complicated this needs to be... each "backend" is what,
> 20-40 lines of code, isn't it?

In general, yes, but in Linux the ioctl to get the current foreground
console needs root, so we're going to get a process call every time we
do this check anyway. Perhaps forcing everyone to go down that route
might be a little over-zealous. Would you suggest we just select
different implementations/method bodies with ifdefs?

> Havoc

Regards,
Rob


More information about the dbus mailing list