From mboxrd@z Thu Jan 1 00:00:00 1970 From: Al Viro Subject: Re: [PATCH v2] fs: block cross-uid sticky symlinks Date: Mon, 31 May 2010 20:27:45 +0100 Message-ID: <20100531192745.GR31073@ZenIV.linux.org.uk> References: <20100531030402.GQ6056@outflux.net> <20100531112314.373b0f26@lxorguk.ukuu.org.uk> <20100531175008.GC4098@outflux.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Alan Cox , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, Randy Dunlap , Andrew Morton , Jiri Kosina , Dave Young , Martin Schwidefsky , James Morris , Eric Paris , David Howells , Ingo Molnar , Peter Zijlstra , "Eric W. Biederman" , Tim Gardner , "Serge E. Hallyn" To: Kees Cook Return-path: Received: from zeniv.linux.org.uk ([195.92.253.2]:36862 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756254Ab0EaT16 (ORCPT ); Mon, 31 May 2010 15:27:58 -0400 Content-Disposition: inline In-Reply-To: <20100531175008.GC4098@outflux.net> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Mon, May 31, 2010 at 10:50:08AM -0700, Kees Cook wrote: > > Give your users their own /tmp. No kernel mods, no misbehaviours, no > > weirdomatic path walking hackery. No kernel patch needed that I can see. > > Some real applications expect to share /tmp (e.g. "screen"). /tmp/screen-exchange, you mean? Such a brilliant idea on multiuser system...