Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZdpTg-00044c-Fd for pgsql-committers@arkaria.postgresql.org; Mon, 21 Sep 2015 01:01:08 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZdpTf-0006YR-Rv for pgsql-committers@arkaria.postgresql.org; Mon, 21 Sep 2015 01:01:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZdpTS-0005QA-E5 for pgsql-committers@postgresql.org; Mon, 21 Sep 2015 01:00:54 +0000 Received: from mahout.postgresql.org ([2001:4800:1501:1::227]) by magus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.84) (envelope-from ) id 1ZdpTP-0002jV-K0 for pgsql-committers@postgresql.org; Mon, 21 Sep 2015 01:00:53 +0000 Received: from gemulon.postgresql.org ([2001:4800:1501:1::198]) by mahout.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.80) (envelope-from ) id 1ZdpTM-0005Ow-Ew for pgsql-committers@postgresql.org; Mon, 21 Sep 2015 01:00:48 +0000 Received: from git by gemulon.postgresql.org with local (Exim 4.80) (envelope-from ) id 1ZdpTK-0008FN-FG for pgsql-committers@postgresql.org; Mon, 21 Sep 2015 01:00:46 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 To: pgsql-committers@postgresql.org From: Noah Misch Subject: pgsql: Restrict file mode creation mask during tmpfile(). Message-Id: Date: Mon, 21 Sep 2015 01:00:46 +0000 X-Pg-Spam-Score: -6.9 (------) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-committers Precedence: bulk Sender: pgsql-committers-owner@postgresql.org UmVzdHJpY3QgZmlsZSBtb2RlIGNyZWF0aW9uIG1hc2sgZHVyaW5nIHRtcGZp bGUoKS4KClBlciBDb3Zlcml0eS4gIEJhY2stcGF0Y2ggdG8gOS4wIChhbGwg c3VwcG9ydGVkIHZlcnNpb25zKS4KCk1pY2hhZWwgUGFxdWllciwgcmV2aWV3 ZWQgKGluIGVhcmxpZXIgdmVyc2lvbnMpIGJ5IEhlaWtraSBMaW5uYWthbmdh cy4KCkJyYW5jaAotLS0tLS0KUkVMOV8zX1NUQUJMRQoKRGV0YWlscwotLS0t LS0tCmh0dHA6Ly9naXQucG9zdGdyZXNxbC5vcmcvcGcvY29tbWl0ZGlmZi9l YTIxOGEyYmE3MGQ5ZjExZjVhMjcxNzI4ZGUyNjQ1MGE5YjIzZDZjCgpNb2Rp ZmllZCBGaWxlcwotLS0tLS0tLS0tLS0tLQpzcmMvYmluL3BnX2R1bXAvcGdf YmFja3VwX3Rhci5jIHwgICAxMiArKysrKysrKysrKysKMSBmaWxlIGNoYW5n ZWQsIDEyIGluc2VydGlvbnMoKykKCgotLSAKU2VudCB2aWEgcGdzcWwtY29t bWl0dGVycyBtYWlsaW5nIGxpc3QgKHBnc3FsLWNvbW1pdHRlcnNAcG9zdGdy ZXNxbC5vcmcpClRvIG1ha2UgY2hhbmdlcyB0byB5b3VyIHN1YnNjcmlwdGlv bjoKaHR0cDovL3d3dy5wb3N0Z3Jlc3FsLm9yZy9tYWlscHJlZi9wZ3NxbC1j b21taXR0ZXJzCg==