From owner-cvs-src-old@FreeBSD.ORG Fri Sep 24 23:48:48 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 81A1B1065695 for ; Fri, 24 Sep 2010 23:48:48 +0000 (UTC) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 6F9D58FC24 for ; Fri, 24 Sep 2010 23:48:48 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o8ONmmVa009621 for ; Fri, 24 Sep 2010 23:48:48 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o8ONmmvD009620 for cvs-src-old@freebsd.org; Fri, 24 Sep 2010 23:48:48 GMT (envelope-from delphij@repoman.freebsd.org) Message-Id: <201009242348.o8ONmmvD009620@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to delphij@repoman.freebsd.org using -f From: Xin LI Date: Fri, 24 Sep 2010 23:48:29 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_7 Subject: cvs commit: src/lib/libutil login_class.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Sep 2010 23:48:48 -0000 delphij 2010-09-24 23:48:29 UTC FreeBSD src repository Modified files: (Branch: RELENG_7) lib/libutil login_class.c Log: SVN rev 213145 on 2010-09-24 23:48:29Z by delphij MFC r211393 (by des): In setusercontext(), do not apply user settings unless running as the user in question (usually but not necessarily because we were called with LOGIN_SETUSER). This plugs a hole where users could raise their resource limits and expand their CPU mask. Approved by: des Revision Changes Path 1.25.2.3 +1 -1 src/lib/libutil/login_class.c