Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 26 Aug 2002 13:11:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 26 Aug 2002 13:11:48 -0400 Received: from pc2-cwma1-5-cust12.swa.cable.ntl.com ([80.5.121.12]:45053 "EHLO irongate.swansea.linux.org.uk") by vger.kernel.org with ESMTP id ; Mon, 26 Aug 2002 13:11:47 -0400 Subject: Re: problems with changing UID/GID From: Alan Cox To: Thunder from the hill Cc: Zheng Jian-Ming , linux-kernel@vger.kernel.org In-Reply-To: References: Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 (1.0.8-6) Date: 26 Aug 2002 18:16:59 +0100 Message-Id: <1030382219.1751.14.camel@irongate.swansea.linux.org.uk> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 527 Lines: 12 On Mon, 2002-08-26 at 15:58, Thunder from the hill wrote: > I personally like the task->cred->cr_uid, etc. approach. Helps a lot. It changes the whole semantics of every security test in Linux, and breaks most of them totally. Our syscalls know the uid is constant during the call - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/