[sorry for duplicate posting]

Hi,

I'm trying to use sched_setscheduler() to increase the priority of a
process but I get this error

sched_setscheduler() failed: Operation not permitted

I understand that the process that is calling this function needs to be
privileged, but I don't want to run this as root. How do I elevate the
privilege of the process or the user calling this process?

I'm using Debian.

Thanks,
Aravind.

Reply via email to