Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Nov 2008 02:21:42 -0800 (PST)
From:      Unga <unga888@yahoo.com>
To:        freebsd-bugs@freebsd.org
Subject:   Wrong priority value for normal processes
Message-ID:  <931305.79928.qm@web57005.mail.re3.yahoo.com>

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

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

I checked the program flow from /usr/src/usr.bin/su/su.c to /usr/src/lib/libutil/login_class.c and it looks 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.

Best regards
Unga


      



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