[maemo-developers] Default nice value setting
From: Henrik Hedberg henrik.hedberg at innologies.fiDate: Wed Jun 17 11:51:47 EEST 2009
- Previous message: Default nice value setting
- Next message: Default nice value setting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/
- Previous message: Default nice value setting
- Next message: Default nice value setting
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
