Andres,

I have on rather generic design question:

Why we want to restrict it to CAP_SYS_ADMIN?

+       if (priority == AMD_SCHED_PRIORITY_HIGH && !capable(CAP_SYS_ADMIN))
+               return -EACCES;

Should we make it generic? My understanding is that If we follow "nice" semantic
then it will not require such privilege. 

Sincerely yours,
Serguei Sagalovitch

    
_______________________________________________
amd-gfx mailing list
amd-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/amd-gfx

Reply via email to