From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pj1-x102d.google.com (mail-pj1-x102d.google.com [IPv6:2607:f8b0:4864:20::102d]) by sourceware.org (Postfix) with ESMTPS id 2B6553858002 for ; Sun, 14 Feb 2021 22:04:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2B6553858002 Received: by mail-pj1-x102d.google.com with SMTP id gx20so2756894pjb.1 for ; Sun, 14 Feb 2021 14:04:40 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lO2DMfaxl+jTD+7aHY+5RmtKZ7XOkvPoC8YkxBOxEHc=; b=oNyFotiCqRa+AWJ8FeyDeYwBHRBAp8oZcX3M8r639sNRQS9wB1aHA4N7+nVuUhYd6S CQK9j0lcnGYF6eexek/ePWds3sBn6VczMk7gqvqwN6f37cRAzVjwEkXgVJcbnkLg6OJ9 4epZbjWegH/emrx+9TPJFjccfbHXcM1mF5urdwGFVqyLdd5TycLpUPsUQ4IhZEF99wfH FX4laZDUCoprsY/caqo9VXM7B22rA0J+9KtaVqnaSn7XXwetA4aPBzLwaWZ3tSlgZppp IsjioNG5omZbrMVT330QVN/0Y4vzyCzOCkEyvmUIPu2vlj22UikNXD4R9N4BmDmx4/7W ZQiw== X-Gm-Message-State: AOAM530MYDJVyrRWr8Fu61uzPYyQ3M2ueXlPwyASpfCBKdfJG6bJWjFo gUfRBdfnxo4k5saB6KOHparHlvUE5zFVYBOXZBExY4p3PX0/Pg== X-Google-Smtp-Source: ABdhPJxeCVyiKzUAV27ELpcvz5BN02svYDHsb5TA3/GeY/BFd4Ag7imyutDyaRN3RaaY7+TGrMZhjl31CyEthfkSecU= X-Received: by 2002:a17:90a:e392:: with SMTP id b18mr13395200pjz.33.1613340279273; Sun, 14 Feb 2021 14:04:39 -0800 (PST) MIME-Version: 1.0 References: <000830b6-1cf0-6349-5667-a5af6894ac1b@web.de> In-Reply-To: From: Godmar Back Date: Sun, 14 Feb 2021 17:04:28 -0500 Message-ID: Subject: Re: (stat(...) == -1 || faccessat(...) == -1) && errno == EINTR ?!?? To: Tobias Bading Cc: William Tambe via Libc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, PLING_QUERY, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-help@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-help mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Feb 2021 22:04:42 -0000 I don't know if this qualifies as "breaking userland" or "this has never worked." You could use systemtap to patch the kernel to see if you can trap the path where they're returning `EINTR`. I recently came across a blog post: https://engineering.skroutz.gr/blog/uncovering-a-24-year-old-bug-in-the-linux-kernel/ where some people did that and found a bug in the TCP code. Very impressive.