Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YSuQh-0003sd-97 for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Mar 2015 21:32:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1YSuQf-0008Ay-Cn for pgsql-hackers@arkaria.postgresql.org; Tue, 03 Mar 2015 21:32:37 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1YSuQe-0008Ar-4c for pgsql-hackers@postgresql.org; Tue, 03 Mar 2015 21:32:36 +0000 Received: from mout.gmx.net ([212.227.15.18]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1YSuQa-0000QS-Hf for pgsql-hackers@postgresql.org; Tue, 03 Mar 2015 21:32:34 +0000 Received: from auth1-smtp.messagingengine.com ([66.111.4.227]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0LiDrv-1XgMSU2mKh-00nPSm for ; Tue, 03 Mar 2015 22:32:29 +0100 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailauth.nyi.internal (Postfix) with ESMTP id EB43E20AF1 for ; Tue, 3 Mar 2015 16:32:26 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 03 Mar 2015 16:32:28 -0500 X-Sasl-enc: Dloovxv9nr2lOsHazdDxXhjPLF5g8IXoRvZ1ZzUrNxfQ 1425418347 Received: from [192.168.1.117] (unknown [204.145.120.11]) by mail.messagingengine.com (Postfix) with ESMTPA id D5A26680108; Tue, 3 Mar 2015 16:32:27 -0500 (EST) Message-ID: <54F6286B.90802@gmx.net> Date: Tue, 03 Mar 2015 16:32:27 -0500 From: Peter Eisentraut User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 MIME-Version: 1.0 To: Stephen Frost CC: Adam Brightwell , Noah Misch , Tom Lane , PostgreSQL Hackers Subject: Re: CATUPDATE confusion? References: <28382.1419703324@sss.pgh.pa.us> <20141227231829.GX3062@tamriel.snowman.net> <1952.1419722762@sss.pgh.pa.us> <20141227233150.GA2046947@tornado.leadboat.com> <54E65000.8030304@gmx.net> <20150225203955.GY29780@tamriel.snowman.net> <54EE8C6E.8090506@gmx.net> <20150226030541.GG29780@tamriel.snowman.net> <54F2376E.9080501@gmx.net> <20150228233245.GO29780@tamriel.snowman.net> In-Reply-To: <20150228233245.GO29780@tamriel.snowman.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:d7JL/A6xvn58LVawJUKuQlUXZbLmTcde3YlTQERVLqAbAPDXrpY ckhG6Xcx7e1qjkKhvs0ABA9GnG8ZbMXKOpK8rb0w5Doc4Zb8gyAiKT1mwkdNLzB62+Np2tU Ss5pxUHZL3LMXZQg+ayDbSFzL5I4dBed5v+3fufVS3CeMHbCOlQzkXQO7dpyQPinCEWNOvK Eg4wTgC27L52GHETTCnoQ== X-UI-Out-Filterresults: notjunk:1; X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2/28/15 6:32 PM, Stephen Frost wrote: > This isn't really /etc/shadow though, this is more like direct access to > the filesystem through the device node- and you'll note that Linux > certainly has got an independent set of permissions for that called the > capabilities system. That's because messing with those pieces can crash > the kernel. You're not going to crash the kernel if you goof up > /etc/shadow. I think this characterization is incorrect. The Linux capability system does not exist because the actions are scary or can crash the kernel. Capabilities exist because they are not attached to file system objects and can therefore not be represented using the usual permission system. Note that one can write directly to raw devices or the kernel memory through various /dev and /proc files. No "capability" protects against that. It's only the file permissions, possibly in combination with mount options. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers