Hi,
Im looking into why the Xserver starts with niceness -1 when started as root.
Ive tracked the occurance down to these lines in xinit.c
#ifdef PRIO_PROCESS
setpriority( PRIO_PROCESS, serverpid, -1 );
#endif
PRIO_PROCESS is a kernel header include which is defined indefintely, so
basically the setpriority() call is made whenever the Xserver is initialised.
If this is done by a normal user niceness will become 0 as a normal user
cannot set niceness below 0. But as root, well as you can see -1 ...
What I cant figure out is why this is done... ?
Andrew
_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel