From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752610AbbBWQl5 (ORCPT ); Mon, 23 Feb 2015 11:41:57 -0500 Received: from resqmta-po-05v.sys.comcast.net ([96.114.154.164]:42876 "EHLO resqmta-po-05v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752336AbbBWQlz (ORCPT ); Mon, 23 Feb 2015 11:41:55 -0500 Date: Mon, 23 Feb 2015 10:41:51 -0600 (CST) From: Christoph Lameter X-X-Sender: cl@gentwo.org To: Andy Lutomirski cc: Serge Hallyn , Aaron Jones , "Ted Ts'o" , LSM List , Andrew Morton , "Andrew G. Morgan" , Mimi Zohar , Austin S Hemmelgarn , Markku Savela , Jarkko Sakkinen , "linux-kernel@vger.kernel.org" , Linux API , Michael Kerrisk , Jonathan Corbet Subject: Re: [PATCH] capabilities: Ambient capability set V1 In-Reply-To: Message-ID: References: Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 23 Feb 2015, Andy Lutomirski wrote: > If you set ambient caps and then run a setuid program (without > no_new_privs), then the ambient set *must* be cleared by the kernel > because that's what the setuid program expects. Yes, the whole Why would a setuid program expect that? I'd say we expect the ambient set to remain in effect. What would break if the ambient set would stay active?