[maemo-developers] Default nice value setting

From: Henrik Hedberg henrik.hedberg at innologies.fi
Date: Wed Jun 17 11:51:47 EEST 2009
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/
More information about the maemo-developers mailing list