Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Nov 2008 01:25:49 -0800 (PST)
From:      Unga <unga888@yahoo.com>
To:        freebsd-stable@freebsd.org
Subject:   Weird priority for normal
Message-ID:  <88609.6523.qm@web57007.mail.re3.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hi all

I'm using FreeBSD RELENG_7 on i386 and noted with rtprio(2) the priority for root and other normal users is "normal priority" with 65504 as the priority value (rtp.prio). 

Please note, this is not the latest RELENG_7, my system is compiled somewhere on May.

I checked the program flow from /usr/src/usr.bin/su/su.c to /usr/src/lib/libutil/login_class.c and found setusercontext() is setting the priority right but the moment it come out from the setusercontext() call in su.c, the priority has already turn to 65504.

It looks like this is a bug. I had a quite thorough look but did not see any error. I'm not sure by now is it been fixed. Do others experience it? 

Best regards
Unga






      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?88609.6523.qm>