From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757355AbcHWARY (ORCPT ); Mon, 22 Aug 2016 20:17:24 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:58134 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756168AbcHWARW (ORCPT ); Mon, 22 Aug 2016 20:17:22 -0400 Date: Tue, 23 Aug 2016 01:17:15 +0100 From: Al Viro To: Linus Torvalds Cc: "H. Peter Anvin" , Jakub Jelinek , Vineet Gupta , "linux-arch@vger.kernel.org" , Linux Kernel Mailing List , Ingo Molnar Subject: Re: [PATCH] ARC: uaccess: get_user to zero out dest in cause of fault Message-ID: <20160823001715.GZ2356@ZenIV.linux.org.uk> References: <20160821001141.GV2356@ZenIV.linux.org.uk> <20160821045402.GC14857@tucnak.redhat.com> <20160821064229.GX2356@ZenIV.linux.org.uk> <20F4A326-4107-452C-AF84-385136D9501F@zytor.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 22, 2016 at 04:48:00PM -0700, Linus Torvalds wrote: > On Mon, Aug 22, 2016 at 4:12 PM, H. Peter Anvin wrote: > > > > How about the gcc native __builtin_setjmp stuff which is supposedly better? > > How new is it? The whole point was that we'd not have to worry and > wait for gcc features.. Sat Jan 27 07:59:25 1996 Richard Kenner (kenner@vlsi1.ultra.nyu.edu) * tree.h (enum built_in_function): Add BUILT_IN_{SET,LONG}JMP. * expr.c: Include hard-reg-set.h. (arg_pointer_save_area): New declaration. (expand_builtin, case BUILT_IN_{SET,LONG}JMP): New cases. * Makefile.in (expr.o): Includes hard-reg-set.h. * c-decl.c (init_decl_processing): Add definitions for __builtin_setjmp and __builtin_longjmp. * cccp.c (initialize_builtins): Add def of __HAVE_BUILTIN_SETJMP__. * expr.c (expand_expr, case COMPONENT_REF): Pass EXPAND_INITIALIZER to recursive call. IOW - old; the last branch lacking it is 2.7.2.* Both 2.8 and egcs (and thus 2.95 and everything subsequent) have it.