From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Hudec Subject: Hiding secrets from root (Was: Re: [RFC][2.6 patch] Allow creation of new namespaces during mount system call) Date: Thu, 21 Apr 2005 20:52:16 +0200 Message-ID: <20050421185216.GA23555@vagabond> References: <20050419222324.GM13052@parcelfarce.linux.theplanet.co.uk> <20050420033304.GO13052@parcelfarce.linux.theplanet.co.uk> <20050420094558.GB10167@mail.shareable.org> <20050420124829.GB23518@vagabond> <20050420221358.GC21150@mail.shareable.org> <20050421100901.GB6197@vagabond> <20050421184455.GA7301@mail.shareable.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="J/dobhs11T7y2rNN" Cc: Al Viro , Eric Van Hensbergen , linux-fsdevel@vger.kernel.org Return-path: Received: from cimice4.lam.cz ([212.71.168.94]:42196 "EHLO vagabond.light.src") by vger.kernel.org with ESMTP id S261716AbVDUSwr (ORCPT ); Thu, 21 Apr 2005 14:52:47 -0400 To: Jamie Lokier Content-Disposition: inline In-Reply-To: <20050421184455.GA7301@mail.shareable.org> Sender: linux-fsdevel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org --J/dobhs11T7y2rNN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 21, 2005 at 19:44:56 +0100, Jamie Lokier wrote: > Jan Hudec wrote: > > By the way, IIRC so far the root can access all kernel memory too via > > /dev/kmem. So the limiting of root's rights would have to be limited > > a bit more yet. >=20 > On some hardened systems, root is not allowed access to /dev/kmem. That sure makes sense. Still the secret keys must either never leave kernel (which would need all the encryption, decryption and checking code in kernel), or they must be protected in userland too. Which means the process has to be protected against being ptraced or inspected through /dev/mem. ---------------------------------------------------------------------------= ---- Jan 'Bulb' Hudec --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCZ/ZfRel1vVwhjGURAjULAKC9J7Ng2gmo0yIIVjldr2bKJnxLEQCeKdV+ 6JPsrlFyuZHhTQXkcTRLv7A= =bZHv -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--