From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753425AbdKJQgx (ORCPT ); Fri, 10 Nov 2017 11:36:53 -0500 Received: from marcansoft.com ([212.63.210.85]:55882 "EHLO mail.marcansoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753271AbdKJQgw (ORCPT ); Fri, 10 Nov 2017 11:36:52 -0500 Subject: Re: [kernel-hardening] Re: vDSO maximum stack usage, stack probes, and -fstack-check From: "Hector Martin 'marcan'" To: Andy Lutomirski Cc: LKML , "kernel-hardening@lists.openwall.com" , X86 ML References: <06a4b0b4-4b36-91b6-d146-9fc1300b785f@marcan.st> Message-ID: Date: Sat, 11 Nov 2017 01:36:47 +0900 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <06a4b0b4-4b36-91b6-d146-9fc1300b785f@marcan.st> Content-Type: text/plain; charset=utf-8 Content-Language: es-ES Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017-11-11 01:02, Hector Martin 'marcan' wrote: > Not entirely sure what's going on here. Actually, if you think about it, it doesn't matter that it skips the first page, since it's probing one page more. That just means the caller will have probed the previous page. So ultimately you're just probing ahead of where you need to, but that should be OK. -- Hector Martin "marcan" (marcan@marcan.st) Public Key: https://mrcn.st/pub