From owner-svn-src-head@FreeBSD.ORG Thu Oct 23 00:00:50 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 10275B0A for ; Thu, 23 Oct 2014 00:00:50 +0000 (UTC) Received: from o1.l99.sendgrid.net (o1.l99.sendgrid.net [198.37.153.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id AD7BB7DB for ; Thu, 23 Oct 2014 00:00:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sendgrid.info; h=from:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; s=smtpapi; bh=DumTvoMgN4sSl70WrpidNnKVxQ8=; b=b6ibMXOf+SviYXqKOO vxF3rl9QFoVlCme9P/yT15gWkkoa4l8D/j7IMtzD9RLMNHL2AfgbkM8/tWpp3m/M A4Uw6SFcXffElkylKl+7hvQx9+ZPggb4gIIRnvHZ17p33iE8qFZtgjICCfWZoyiE j/Krg8GI+YpfP0HKMKrCPHaf4= Received: by filter0129p1mdw1.sendgrid.net with SMTP id filter0129p1mdw1.8883.5448452A13 2014-10-23 00:00:42.897067955 +0000 UTC Received: from mail.tarsnap.com (unknown [10.100.60.108]) by ismtpd-031.iad1.sendgrid.net (SG) with ESMTP id 1493a4e2f50.2832.2f7f90 for ; Thu, 23 Oct 2014 00:00:42 +0000 (GMT) Received: (qmail 45542 invoked from network); 23 Oct 2014 00:00:42 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by ec2-107-20-205-189.compute-1.amazonaws.com with ESMTP; 23 Oct 2014 00:00:42 -0000 Received: (qmail 9678 invoked from network); 23 Oct 2014 00:00:31 -0000 Received: from unknown (HELO clamshell.daemonology.net) (127.0.0.1) by clamshell.daemonology.net with SMTP; 23 Oct 2014 00:00:31 -0000 Message-ID: <5448451E.1040104@freebsd.org> Date: Wed, 22 Oct 2014 17:00:30 -0700 From: Colin Percival User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r273487 - head/sys/kern References: <201410222335.s9MNZW62045167@svn.freebsd.org> In-Reply-To: <201410222335.s9MNZW62045167@svn.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-SG-EID: EvYvoie/qnEezyq2t4eRKjDm9X7ZKbCMt75WvXA+XNHAPMBJawNGSNgGz0f0adk33OBLbcki2H6LaumHuBKLRk+mZb+CgzT1RUzsH1oKm8T60qRJqxtKdS1luRa4XTqa6bWl+0LLP+JNEINMp1omhQgaYcmDDtmdRvljQy2U2snNovoCN8dor39EeLh6HphF X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Oct 2014 00:00:50 -0000 On 10/22/14 16:35, Colin Percival wrote: > Author: cperciva > Date: Wed Oct 22 23:35:32 2014 > New Revision: 273487 > URL: https://svnweb.freebsd.org/changeset/base/273487 > > Log: > Avoid leaking data from the kernel environment: When we convert the > initial static environment to a dynamic one, zero the static environment > buffer, and zero individual values when kern_unsetenv and freeenv are > called. Forgot to add, this will not be MFCed, since it would break KBI to zero out the static environment when kernel modules could conceivably have pointers into it. Colin Percival