Frantisek Dufka wrote:

> Sadly I think that you cannot raise the priority from 0 to -1 unless 
> being root, you can just lower it so that setpriority call may not help 
> you.

    If it is really crucial for the application to have higher priority, 
maybe it could be installed as setuid root. In that way, it could first 
set priority from 0 to -1, and then drop the privileges.

    BR,

    Henrik

-- 
    Henrik Hedberg  -  http://www.henrikhedberg.net/
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to