Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2260005imu; Sun, 18 Nov 2018 19:55:40 -0800 (PST) X-Google-Smtp-Source: AJdET5caIrGO7w+1rhKZZYzgYqT93jZ3fcwO1srhWIrx+YuUbhvzsmHW4emabfv3cw3Z7mAsPh7w X-Received: by 2002:a63:c503:: with SMTP id f3mr18207641pgd.431.1542599740830; Sun, 18 Nov 2018 19:55:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542599740; cv=none; d=google.com; s=arc-20160816; b=yeCE3zcGOSGXtjQoY0v8o5UAveguZZLbek9PELDnxkXN+zyC/7VvFSSGO/N8+Gg0Ya zppfpOrkeY6S/EV31tK4pJ+i/zvEo3fZfyoerRBj5gTju8FaSzOxPcBkU2oKXN8cndov fQp28bEAy8rI8fMktveCYKQ3HC1bKrjLr42CGqCoS3TUnsu4xnmO29xWXrlX6vVvFiaA 7klUbOelnKKd6aIg0iCK2MhkK9mNNT/7JK2PQtud/flFWq3L3aQMytYkmwhGnOxoFd+/ vLuEQfIVqFyJtcLDjBemR/a7m1nWhQbVxzq/VP+/yEYcXwfKwRa8TlG3TrhkD9W4vuYE 6ONw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=dwCfKjqo7GKuMRImPgg3bRiB8SG7y8pPbWqPNhBFOyo=; b=zAiOIzeZZTBBxePRTKSMQ+aBPz9ehzhAylBe0SgaSa6bsIFZjDJf8XsP1iq5Qf7YjX tn1mReIKHI/66XenHL1eUk5P3+2FTsPR0iaLHc8ym4tNXPF5/YWpYxndQaCO8ifYSN8a WjjkBRy49hylVYTKLHVesEgp7aTxs/CNmSiD0BNo0nxohuFNeUHjLDF83Jc5XSIGgesj vV2HH8VD2ZgeD/9NAY+mL8TC6kHXfh01osvlgvDfAUJcO6+UZrTMuFQSY8EE4/HQiVcf YzzWjxNrXE/CKEPLHEKdIUovCu5+DBMe6JWeCWX2A7ZJNB2BluIz4vCQalXdo4KcHE4l XO+g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2-v6si42429310pla.223.2018.11.18.19.55.25; Sun, 18 Nov 2018 19:55:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728118AbeKSOLg (ORCPT + 99 others); Mon, 19 Nov 2018 09:11:36 -0500 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:45042 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726903AbeKSOLg (ORCPT ); Mon, 19 Nov 2018 09:11:36 -0500 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id wAJ3mkTk011411; Mon, 19 Nov 2018 04:48:46 +0100 Date: Mon, 19 Nov 2018 04:48:46 +0100 From: Willy Tarreau To: Tim Chen Cc: Jiri Kosina , Linus Torvalds , Thomas Gleixner , Peter Zijlstra , Josh Poimboeuf , Andrea Arcangeli , David Woodhouse , Andi Kleen , Casey Schaufler , Linux List Kernel Mailing , the arch/x86 maintainers , stable@vger.kernel.org Subject: Re: STIBP by default.. Revert? Message-ID: <20181119034846.GA11333@1wt.eu> References: <32d00fb2-7187-ed6f-ab1e-287151e82b3a@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <32d00fb2-7187-ed6f-ab1e-287151e82b3a@linux.intel.com> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 18, 2018 at 02:40:28PM -0800, Tim Chen wrote: > Tasks that want extra security will enable that via prctl interface or > making themselves non-dumpable. Well, you need to be careful regarding the last part of your option above, because a number of network daemons become non-dumpable by executing setuid() at boot, and certainly don't want to suffer a performance loss as a side effect of wanting to become "normally" secure. I'd suggest to use the prctl only so that it doesn't randomly hit innocent applications that would only have as a last resort to turn off reasonable security features to avoid this impact. Regards, Willy