Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753473AbbLNTkE (ORCPT ); Mon, 14 Dec 2015 14:40:04 -0500 Received: from lxorguk.ukuu.org.uk ([81.2.110.251]:36900 "EHLO lxorguk.ukuu.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751615AbbLNTkC (ORCPT ); Mon, 14 Dec 2015 14:40:02 -0500 Date: Mon, 14 Dec 2015 19:39:54 +0000 From: One Thousand Gnomes To: Jason Newton Cc: linux-kernel@vger.kernel.org Subject: Re: Is PROT_SOCK still relevant? Message-ID: <20151214193954.10f3b0fc@lxorguk.ukuu.org.uk> In-Reply-To: References: <20151214152508.21394030@lxorguk.ukuu.org.uk> Organization: Intel Corporation X-Mailer: Claws Mail 3.12.0 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1192 Lines: 24 > Perhaps lets consider this in another way if it is strongly held that > this is worth while in the default configuration: can it default off > in the context of selinux / other security frameworks (preferably > based on their detection and/or controllably settable at runtime)? > Those allow more powerful and finer grain control and don't need this > to be there as they already provide auditing on what operations and > port numbers should be allowed by what programs. That would be a regression and a very very bad one to have. The defaults need to always be the same as before - or stronger and never go back towards insecurity, otherwise they could make things less safe. > Or how about letting port number concerns be handled by those security > frameworks all together considering it is limited security? There are already half a dozen different ways to handle it from xinetd through setcap, to systemd spawning it, to iptables. Alan -- 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/