From owner-cvs-all@FreeBSD.ORG Fri Jul 21 20:22:14 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5780B16A4E0; Fri, 21 Jul 2006 20:22:14 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A3BC43D45; Fri, 21 Jul 2006 20:22:14 +0000 (GMT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k6LKME6s003402; Fri, 21 Jul 2006 20:22:14 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k6LKMEN6003401; Fri, 21 Jul 2006 20:22:14 GMT (envelope-from jhb) Message-Id: <200607212022.k6LKMEN6003401@repoman.freebsd.org> From: John Baldwin Date: Fri, 21 Jul 2006 20:22:14 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/compat/linux linux_misc.c src/sys/i386/linux syscalls.master X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Jul 2006 20:22:14 -0000 jhb 2006-07-21 20:22:14 UTC FreeBSD src repository Modified files: sys/compat/linux linux_misc.c sys/i386/linux syscalls.master Log: - Pass the MPSAFE flag to namei() in linux_uselib() and handle conditional Giant VFS locking in that function. - Remove bogus code to handle the case where namei() returns success but a NULL vnode pointer. - Note that this code duplicates exec_check_permissions() and annotate where it differs. - Hold the vnode lock longer to protect the write to set VV_TEXT in v_vflag. - Mark linux_uselib() MPSAFE. Reviewed by: rwatson Revision Changes Path 1.180 +25 -24 src/sys/compat/linux/linux_misc.c 1.74 +1 -1 src/sys/i386/linux/syscalls.master