From owner-cvs-all Sun Nov 11 15:40:14 2001 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id E34C137B41C; Sun, 11 Nov 2001 15:40:10 -0800 (PST) Received: (from alfred@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fABNeAV63736; Sun, 11 Nov 2001 15:40:10 -0800 (PST) (envelope-from alfred) Message-Id: <200111112340.fABNeAV63736@freefall.freebsd.org> From: Alfred Perlstein Date: Sun, 11 Nov 2001 15:40:10 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.sbin/rpc.lockd kern.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG alfred 2001/11/11 15:40:10 PST Modified files: usr.sbin/rpc.lockd kern.c Log: Drop privs while servicing kernel lock requests. Restore umask used before FIFO creation. If opening the FIFO fails, exit. Properly check the return value of open (use == -1 instead of < 0). Revision Changes Path 1.8 +17 -7 src/usr.sbin/rpc.lockd/kern.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message