Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752582AbdGFArq (ORCPT ); Wed, 5 Jul 2017 20:47:46 -0400 Received: from mail-oi0-f42.google.com ([209.85.218.42]:34511 "EHLO mail-oi0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752157AbdGFArp (ORCPT ); Wed, 5 Jul 2017 20:47:45 -0400 MIME-Version: 1.0 In-Reply-To: References: <1499126133.2707.20.camel@decadent.org.uk> <20170704084122.GC14722@dhcp22.suse.cz> <20170704093538.GF14722@dhcp22.suse.cz> <20170704094728.GB22013@1wt.eu> <20170704104211.GG14722@dhcp22.suse.cz> <20170704113611.GA4732@decadent.org.uk> <1499209315.2707.29.camel@decadent.org.uk> <1499257180.2707.34.camel@decadent.org.uk> <20170705142354.GB21220@dhcp22.suse.cz> From: Linus Torvalds Date: Wed, 5 Jul 2017 17:47:44 -0700 X-Google-Sender-Auth: KY_-3VRJO1TMVctc0yO7BkX-n6M Message-ID: Subject: Re: [PATCH] mm: larger stack guard gap, between vmas To: Andy Lutomirski Cc: Kees Cook , Michal Hocko , Ben Hutchings , Willy Tarreau , Hugh Dickins , Oleg Nesterov , "Jason A. Donenfeld" , Rik van Riel , Larry Woodman , "Kirill A. Shutemov" , Tony Luck , "James E.J. Bottomley" , Helge Diller , James Hogan , Laura Abbott , Greg KH , "security@kernel.org" , Qualys Security Advisory , LKML , Ximin Luo Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 419 Lines: 13 On Wed, Jul 5, 2017 at 5:31 PM, Andy Lutomirski wrote: > > I wonder if we could pull some "sane" values out of our arses and have > it work just fine. That approach may work, but it's pretty nasty. But together with at least some way for the distro to set the values we pick, it would probably be fairly reasonable. You're right that most of the rlimits are just not very useful. Linus