Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6975231rwb; Wed, 18 Jan 2023 11:45:04 -0800 (PST) X-Google-Smtp-Source: AMrXdXs+bJ6sv6HQjZQdltoAC9G5wg91nP65tl7DwyhPM9CtibBenfqluQFR9+LR2RD6bb9HbM3v X-Received: by 2002:a17:90a:1c88:b0:226:ae11:b55b with SMTP id t8-20020a17090a1c8800b00226ae11b55bmr8439542pjt.11.1674071104622; Wed, 18 Jan 2023 11:45:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674071104; cv=none; d=google.com; s=arc-20160816; b=wgzQ4oEt4xzEFH4h1ZX+wR28SD1nmHXaDUPUAmeXM+K+dNH18KqtA1Ta4eoGxq39bW ypSLGnxJju9S9wy5ER8xqy9DF8Ek1l6076G4U6UUXa4+AEgDpoSiLEmOnW1k7KpS9/sc 3q0eHuOCCRxHqk0fGZNMr139NS37dgcGxyNlFHqfGmpKDhG+WQ2JlVsBQVMv/zrPuvgJ f0JWAQrVG9lHRjiLVXWgP3vbbLOL5a9X04g6Cd5bo9bI8keZLoqB0vapPOR87x1qG9it MEMSGiw5gdxHxVDSl4Xde7NdydryJVAIJcQYXhxG3KBcNtS6OyCNwOEg7TIahbKKAf67 6EMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=50IK4LVqoMmk7C/WdII2GzqA3m6oWHMIg74I9XrTXo0=; b=CUuTmQ5zlOPNtvXXpAl1jfbmXO98RnTgaQL14hN8hVu/ZcrYMVqLuWCBofqBsmsG0x YHObO5hYic9IQy2Ie3M+W+27s85GwT8s3YcO9YQ/vkBnp7Ftbs1/m0jvAfd1c+G6oogs kD8+wbhgdrw7vthYUPViAz53IdZlXJGXotGmMYYOL7bgKVKEiQq6dAOxeY51ylhqoNAb DRXkLg4pcvrq44HXgUitJ8G9oo7onk7VV3Zi9Lt/fGCTd6KNGYGostOHRa+IY6mi0+C6 5JF3OcNS1oHgsPkk/aoxHRjb+WKhsiKNK3dPPRoeuWay9Z0NeXQWOnOuoHWot7onPaKc OPzw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=ScMxZ5jY; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a6-20020a656546000000b004778463363csi35081247pgw.76.2023.01.18.11.44.45; Wed, 18 Jan 2023 11:45:04 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=ScMxZ5jY; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229537AbjARTkB (ORCPT + 99 others); Wed, 18 Jan 2023 14:40:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36290 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229479AbjARTj7 (ORCPT ); Wed, 18 Jan 2023 14:39:59 -0500 Received: from mail-qt1-x82a.google.com (mail-qt1-x82a.google.com [IPv6:2607:f8b0:4864:20::82a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DE4265421D for ; Wed, 18 Jan 2023 11:39:57 -0800 (PST) Received: by mail-qt1-x82a.google.com with SMTP id fd15so20757069qtb.9 for ; Wed, 18 Jan 2023 11:39:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=50IK4LVqoMmk7C/WdII2GzqA3m6oWHMIg74I9XrTXo0=; b=ScMxZ5jY0w04cygb16m/i2sdw9vtNE0BuTsMtZwFqhZOw/s1htXS2WLJio0GqPAK7a /ojrZG6eKl2Q0/OzyUo5CCnwJw7/hxsj235TUn2zPR0RAjmx2ibOP8fYlPHLAaFKKqU6 CuM0ebzKEgqvDaJtOYshLWe0v9kve9UxaYWnc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=50IK4LVqoMmk7C/WdII2GzqA3m6oWHMIg74I9XrTXo0=; b=rGcMmqzgAKcmOpb8ctkxaiMc2KNlADAAfcbogh7aw00rQ0w+D3yGS6unImMJS9GZud KgwbuA191WpdAVsjzkOOkpOxMPV0qx02koeCniStzdFR5M8GvKwTMZ4JUkR8pUfSPghX haJEzt9AhgiWGBreeClpRPTYh9wb8h8wz74yiG4Sj/m2Y1ALDBaP+RoSnM1GtfU1bXZl kBn4hDfkeAXjAMW3nSswBYtwvSB1pN/pQAzEYykiny9C6DA77CgZutYXs0ZSuX81cD+C qqgcVzaH1AdnlI1f+dPlat7Tldt8E5dUoZ1hr5uPod/t1saaER6pb7ixUT372c6ZHoY0 qLKw== X-Gm-Message-State: AFqh2kpPtItHlipCSEvqDPvGIafSlSTX9EQJLaDqX4gL6hPvf3bESdv6 0ADzPumpnO7DDyMAipg7nWcfO/fxteucOG94 X-Received: by 2002:ac8:72ce:0:b0:3a5:ff6e:d43e with SMTP id o14-20020ac872ce000000b003a5ff6ed43emr10566786qtp.2.1674070796551; Wed, 18 Jan 2023 11:39:56 -0800 (PST) Received: from mail-qv1-f45.google.com (mail-qv1-f45.google.com. [209.85.219.45]) by smtp.gmail.com with ESMTPSA id b24-20020ac86798000000b0039cc944ebdasm17869424qtp.54.2023.01.18.11.39.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 18 Jan 2023 11:39:56 -0800 (PST) Received: by mail-qv1-f45.google.com with SMTP id y8so24460999qvn.11 for ; Wed, 18 Jan 2023 11:39:55 -0800 (PST) X-Received: by 2002:a05:6214:5504:b0:535:2538:c972 with SMTP id mb4-20020a056214550400b005352538c972mr436923qvb.43.1674070795614; Wed, 18 Jan 2023 11:39:55 -0800 (PST) MIME-Version: 1.0 References: <7DE6598D-B60D-466F-8771-5FEC0FDEC57F@dilger.ca> In-Reply-To: From: Linus Torvalds Date: Wed, 18 Jan 2023 11:39:39 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: Detecting default signedness of char in ext4 (despite -funsigned-char) To: Eric Biggers Cc: Ext4 Developers List , Andreas Dilger , Eric Whitney , "Jason A. Donenfeld" , Masahiro Yamada Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Jan 18, 2023 at 11:14 AM Eric Biggers wrote: > > Now, we seem to have gotten the "let's break userspace, lol" version of Linus > today, not the "SHUT THE FUCK UP, WE DO NOT BREAK USERSPACE" version of Linus Heh. Note that the reason I'm so laissez-faire about it is that "broken test case" is something very different from "actually broken user space". I haven't actually seen anybody _report_ this as a problem, I've only seen the generic/454 xfstest failures. And "test failure" is simply not the same thing as "user failure". Test failures are interesting in that they can most definitely pinpoint the source of _potential_ user failures, but sometimes they are just esoteric corner cases that don't happen in reality. So the fact that we have had this bug since forever makes me suspect absolutely nobody cares in real life. Yes, what's new is that it happens on the same machine, but people have definitely moved ext4 USB sticks around etc. I've most definitely done that myself, and it's not been just between x86 machines. Of course, it may also be that the filesystem patterns when you move a USB stick around is very different from, say, the root filesystem where you _don't_ necessarily tend to do it. So maybe the lack of reports over the decades is not because people don't use xattrs with the high bit set in the xattr names, but because it only happens in situations that don't have that filesystem movement. I dunno. On my system, at least, there is absolutely no sign of any odd xattr names, according to something disgusting like find / -xdev -type f -print0 | xargs -0 getfattr but who knows. Linus