From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id +u7FFnzbMmpxMAwAWB0awg (envelope-from ) for ; Wed, 17 Jun 2026 13:38:04 -0400 Authentication-Results: simark.ca; dkim=fail reason="signature verification failed" (768-bit key; unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=H9mLquud; dkim-atps=neutral Received: by simark.ca (Postfix, from userid 112) id 4C8331E070; Wed, 17 Jun 2026 13:38:04 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 4.0.1 (2024-03-25) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=ARC_SIGNED,ARC_VALID,BAYES_00, DKIM_INVALID,DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET, RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=4.0.1 Received: from vm01.sourceware.org (vm01.sourceware.org [IPv6:2620:52:6:3111::32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 93B6C1E070 for ; Wed, 17 Jun 2026 13:38:02 -0400 (EDT) Received: from vm01.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BFD514BA23DA for ; Wed, 17 Jun 2026 17:38:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BFD514BA23DA Authentication-Results: sourceware.org; dkim=fail reason="signature verification failed" (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=H9mLquud Received: from omta38.uswest2.a.cloudfilter.net (omta38.uswest2.a.cloudfilter.net [35.89.44.37]) by sourceware.org (Postfix) with ESMTPS id 863E14BA2E13 for ; Wed, 17 Jun 2026 17:37:34 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 863E14BA2E13 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=tromey.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=tromey.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 863E14BA2E13 Authentication-Results: sourceware.org; arc=none smtp.remote-ip=35.89.44.37 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1781717854; cv=none; b=khBrbjQch2f/RstphKbS3g6uVfLJ/nq2IRra1oZs/PMTZepzdRQ4C7j3cb/k816t/JVpRoUUxpsW0hcMynfD9nB+av1gzjdio0qR7VYloxv92LroK+cdDr6O+U5ChNH6Bhoj14WjAcdY9avhde6taZpu1N4oPNyKsqEKAc2GKQ8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1781717854; c=relaxed/simple; bh=4THZPqkTBLJmyp6k4N7qbpQP8FPl6X2bxHQ+5kDXYSA=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=AwQRQioHXpbYX1rFoGf+yEbC+GmCqMe72RWCfh5wN2kAP8ERk0JPXfe6oRyYPXkKllpqCAbEzhEJHnfz3l0z2wCGbNkemmEEokufRkNeAVxlT8CMiBRbBFbDKyuK+GO9o/wanYXOMEYl5T2Y++1XHIcdg1V4JsdevPhI1maOGjc= ARC-Authentication-Results: i=1; sourceware.org; dkim=policy (768-bit key, unprotected) header.d=tromey.com header.i=@tromey.com header.a=rsa-sha256 header.s=default header.b=H9mLquud reason="signing key too small" DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 863E14BA2E13 Received: from eig-obgw-5007b.ext.cloudfilter.net ([10.0.29.167]) by cmsmtp with ESMTPS id ZiNfwMHh9MFEgZuCjwcMWn; Wed, 17 Jun 2026 17:37:33 +0000 Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with ESMTPS id ZuCiwXzX69e09ZuCiwP5IY; Wed, 17 Jun 2026 17:37:32 +0000 X-Authority-Analysis: v=2.4 cv=SY/3duRu c=1 sm=1 tr=0 ts=6a32db5c a=ApxJNpeYhEAb1aAlGBBbmA==:117 a=ApxJNpeYhEAb1aAlGBBbmA==:17 a=FelO9ux0wxsA:10 a=ItBw4LHWJt0A:10 a=UFQBJSxr5ON0FIOm9p4A:9 a=vsCvvem9CHYA:10 a=6KDmPahKW5ILxopYhpMU:22 a=DCx65vhANUyCzuf5D8fC:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To :Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=7IfAMI4c52Ca8cn0Sdxf+Q9iGJSyhqCDsd4oIR5HkwM=; b=H9mLquudzRH631Uiz8ky+toeNw SgKVO+iGrmu/KTg5ABqtV52ErhnOYxvSZ5gdO7kWthD57GEs17lBcOT4V1Hj1k8KJq6Wu7aZezpa2 p3ZHuLG7aAmUwUuGj0KZnE0aF; Received: from 75-166-225-82.hlrn.qwest.net ([75.166.225.82]:55362 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.99.2) (envelope-from ) id 1wZuCh-00000001NGz-48cP; Wed, 17 Jun 2026 11:37:32 -0600 From: Tom Tromey To: Tom de Vries Cc: gdb-patches@sourceware.org Subject: Re: [PATCH v2] [pre-commit] Add file mode check In-Reply-To: <20260605112118.854544-1-tdevries@suse.de> (Tom de Vries's message of "Fri, 5 Jun 2026 13:21:18 +0200") References: <20260605112118.854544-1-tdevries@suse.de> X-Attribution: Tom Date: Wed, 17 Jun 2026 11:37:29 -0600 Message-ID: <87eci55aqu.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - box5379.bluehost.com X-AntiAbuse: Original Domain - sourceware.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - tromey.com X-BWhitelist: no X-Source-IP: 75.166.225.82 X-Source-L: No X-Exim-ID: 1wZuCh-00000001NGz-48cP X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 75-166-225-82.hlrn.qwest.net (bapiya) [75.166.225.82]:55362 X-Source-Auth: tom+tromey.com X-Email-Count: 2 X-Org: HG=bhshared;ORG=bluehost; X-Source-Cap: ZWx5bnJvYmk7ZWx5bnJvYmk7Ym94NTM3OS5ibHVlaG9zdC5jb20= X-Local-Domain: yes X-CMAE-Envelope: MS4xfDjLS1zEu8PxmibiqWM0WLdSsE+4MNsC6QNljvLX6vaR307x0x49LXxPd9yTSIjAzAIDgRJX69lOgbfFPgHSGJkRxj55nG//Bf6/rUAp9PEILWcQVt9u iC5iE8+teJDJ6QAKgjN5jTxH6YZeJz3so5o0QbTnb0PkbeAcfcMcKQiTuCLpyDLZPpKt8dRV00pexWzCWe4Yy8Sd0h4yd7iIEDQ= X-BeenThere: gdb-patches@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gdb-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gdb-patches-bounces~public-inbox=simark.ca@sourceware.org >>>>> "Tom" == Tom de Vries writes: Tom> +git ls-files --stage -- "${no_exec_files[@]}" \ Tom> + | (! grep '^100755 ') I was curious why this check in particular is used. Is there something that would ensure that an executable file would only have this mode? thanks, Tom