Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1631537rdb; Tue, 20 Feb 2024 02:04:04 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWEEssIr9n129bvRI0R6qJdS0dkMqd3aTNmfwnuugfYSR7uGRWsaI/H/mckjR/eLLT670hQIIewww+6ZL7W4sTA+JTAwXgVTvS61XBRrw== X-Google-Smtp-Source: AGHT+IFlcyJ43EaVoOEfzmMqWitzeurpunLgWISq0zD5ja9JfaymFOqzF1yP/1HaToxAUkQZ4AxO X-Received: by 2002:a05:6402:8c2:b0:564:d6bf:72a6 with SMTP id d2-20020a05640208c200b00564d6bf72a6mr382918edz.33.1708423444682; Tue, 20 Feb 2024 02:04:04 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708423444; cv=pass; d=google.com; s=arc-20160816; b=oOZWAqLd+/sWXW6Fer/ym19+C2e/6MHz2hz+ccVtPJi1UPcqwN/UXKsUXVX1DhaJAX YVK6beWcvqK2fLm75R55FjEcY04LEhOKxI4yn1VG+B8FaTFYzuF4mqCua0UzAS/nTFJg 5CH52BhhJsLwz+6sbn7pg0k+UgCMQSNVrOsvz6iTJrPFlqUi/hUpwXKIzFaHSaRUvfxc uI01uQ++/R37IgphkBHGVBJXnyic9+rQ78u4F8WgQL7767XBVwdt1WHOElo3SF3/6AoJ UZn/AYW5xF8F1FFx7yuO6f75RbW/+fW5PGytQFYIu6DI4mo0k2PcjoZe7Syc11g3AGQJ flQw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :message-id:date:references:in-reply-to:subject:cc:to:dkim-signature :dkim-signature:from; bh=0ce2PU+R+JYCOoRGSJQxTM3NSkVh6mPPXni2mzU33aI=; fh=mE0xE+MKkO4OtI3FXlaAsLMarivh+R7A3IuxMbyGAgA=; b=x9Cy/QJWhGBSa7YeUgXJ20Sm5HtXaSC7A6jH1XhJG/epfXE/3Bu1+Y6WFX/wXaleVb FnyeoIcGtYHGQ8cRNGN48bPT9L1iNmgwHfHZE+dW8p/dCfjWjqjYV0iejI32SsrGfrQP 1ZUZsDTSJ+k1y/nEp3IIFUgSlJjxfNuFM0sA2XNUohmnfblQjsXIuwMTYa2MkBtejeZ6 Wnzz8LeE23iFnXgY1ksEb33KUkbnIBlezolSlW21ILKZ8aRxbn2ZmpOquiMUudOOyoYG VqEsQCi0bPiLzp0y+BBqm3wThiSbxgBtoczyW26TXDlE7x1N9aaX76imRse1PrIP623K gimw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=IjsUhLVg; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-72744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72744-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id df9-20020a05640230a900b005641883f18dsi3250651edb.315.2024.02.20.02.04.04 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Feb 2024 02:04:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-72744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=IjsUhLVg; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-72744-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-72744-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id 0B9871F270A6 for ; Tue, 20 Feb 2024 09:52:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3B74B657BC; Tue, 20 Feb 2024 09:50:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="IjsUhLVg"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="nPZxbWcN" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 057226166E for ; Tue, 20 Feb 2024 09:50:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708422652; cv=none; b=TM0Ya3wU352WjTkn0IOuVcfSW2Y2S0RknnAGSJQL7R9NVciQn75TZGFnUS6CSPli07anFNMe15YfGA2YQ0rtr1SapcOTtc/L71g9CWJBfCEYROMajCismfRgw4N+yutGehTLHPxQpUVhZx2diDkzbEuEAZ6nam9Cha9Mx0rxmE0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708422652; c=relaxed/simple; bh=6uL3PtxMqVgWbjldzCkLF9nagygKfjjFl81KBs8RfWM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=h5z8rVTEIL3az78gcXfI+oVF1tmZgacGB8lkhJBGhCdG/SmrnGBD04uOmM21ERTVZqOf3Axh6ATwHvcYBnCh0qAY0ddQCao67Po5YrYSdFAbft3tUrdFwfXs8gV0NBeeW5h3UqDU/Qmb/J2+veSCnnXbodysmOa8buMfg5+2AoA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=IjsUhLVg; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=nPZxbWcN; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de From: Anna-Maria Behnsen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1708422649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0ce2PU+R+JYCOoRGSJQxTM3NSkVh6mPPXni2mzU33aI=; b=IjsUhLVghFuZEVYQ1zE07oVcuQONTsQYuhHdLprETrNxABJURW2p4p4LaLbJBBPB+mbiBP sez8E4G78+c9Tq6NADHU5RnNJzwidEtTLku2QlfzEC8eXoE11FSUwVOKR7OefY5NINpXQE A9zSzysxsb/SjqCxCTf7nziPVBdn8nclivP5g423OEPEKaHYnXDum+HtiPdsJow+CdGBKO Ki8Mr3nwIXWEBEmsmZhGbMFs756qUuVvFwtaFiNR64yPqQyMkyK8AsnP31JwTSHwQg6Vxl 3aW/wUJWLauyZTXYFUYL4pepFFOYaif29KeiAFsnh0A8Glrbl+mnALjO9DSQuA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1708422649; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0ce2PU+R+JYCOoRGSJQxTM3NSkVh6mPPXni2mzU33aI=; b=nPZxbWcN7lQapNrhnn8vWhnqUdcWPeY274NdfjYtV3cYsjaCxuR24F/ZkUy4MjyWl64uU3 6BwEJ4k6bRb3M2DA== To: Kees Cook Cc: linux-kernel@vger.kernel.org, Andy Lutomirski , Thomas Gleixner , Vincenzo Frascino Subject: Re: [PATCH 00/10] vdso: Misc cleanups and prevent code duplication In-Reply-To: <202402191625.BAD1F3CE6@keescook> References: <20240219153939.75719-1-anna-maria@linutronix.de> <202402191625.BAD1F3CE6@keescook> Date: Tue, 20 Feb 2024 10:50:48 +0100 Message-ID: <87bk8b5urr.fsf@somnus> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Kees Cook writes: > On Mon, Feb 19, 2024 at 04:39:29PM +0100, Anna-Maria Behnsen wrote: >> Hi, >> >> the vdso related cleanup queue contains two parts: >> >> - Patch 1-3: Misc cleanups related to a comment, a superfluous header >> include and ifdeffery >> >> - Patch 4-10: The union vdso_data_store is defined in seven >> architectures. Make this union available in a generic vdso >> header file to prevent code duplication and fix the >> architectures one by one to use the generic vdso_data_store. >> >> Thanks, >> >> Anna-Maria > > I do love a good clean-up! Thanks for this, I looked through all the > patches and they seem correct to me; Thank you! I had a mistake in there and already posted a new version for this single patch - I forgot to update this patch before posting... > removed definitions are all > identical, and __page_aligned_data is kept where needed. > > Reviewed-by: Kees Cook > > -Kees Thanks, Anna-Maria