From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26912 invoked from network); 22 Sep 2020 20:34:11 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 22 Sep 2020 20:34:11 -0000 Received: (qmail 6142 invoked by uid 550); 22 Sep 2020 20:34:09 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 6123 invoked from network); 22 Sep 2020 20:34:08 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:reply-to:from:date:message-id :subject:to; bh=AHCLvqzRD71CaTgunRB8UbH7DyS1il31QOiRFUuoQO4=; b=B4rhRXKYmH/ZDgiQIZrlT+E2aI7CSbZiMJlc71m5TW7d7RyHzdscaaefqES5hz0ZcC ipPTXgJjxmvW9zrWJSKwgvRLxmwSW59WGhNL7LWnYBII9xGDaaT2eof8GgYUxcVINR9b 1yi9n9S3M/aZH3HxR2+pJBfzSmULJPKhEH7rQwXoDnlurshA1nhBcFhf2o1fb4uMDx9j B2Q523H5Up8T6NNH8lL2sV2Ku8zcf+75MvbHDfyNUi8OJc/OAQQZwC9+wldatADQ8o1H 5CoBFlH0/2gq9ZiEDAjgzYmn9BBPMJz9pBwfrUTdfiYYGfcMljzqTTazF5e9dhR035OL i2mA== 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:reply-to :from:date:message-id:subject:to; bh=AHCLvqzRD71CaTgunRB8UbH7DyS1il31QOiRFUuoQO4=; b=AeDtNzk14YJjQHE8tDXOjKDVTAc+JtDlnyni2pk0KZnYMv4CdT12eBjHdMPOPyuvxI S9BE45p5+qlob4eJKFY370J0jxkXVuCNPYlEg/XpKIHQUxD2Cat3Fl5PlCtQaQLXjpdp 2uT7z2qUAPSnzoh9fFKZWfoU8nZl21MqVzZuG1ocGVTMu3W2ecCg0IRtaNXbjYUoXsCS zkth8ic6zLM3Xwvo87weUnyBDTl4n1NvJZh1lZk5UaHDFhRqHGcXDZoU++6Ot7vzQRlk DPTsADtzCvu9TZbRLTh5C/5FzGn55DGfxSUUAhsMjMW8AGBdg8VHEX6Bfd3eJlvSUxC+ nmvA== X-Gm-Message-State: AOAM531HHFz/O/mcouWB10JkwNM6pvGQYQ+wWFl6IrzPDlFc/R6kmkDs uPqttKYzHxUsJPW7WLdL/NWd8N8fKlwAHx4NlMR1ufP24KI= X-Google-Smtp-Source: ABdhPJwtIb0bMW8yP+138FyUw0NB1Zk4N2WjvgiyC3fe7aWIuU2U45qUSroGxpeMmXioeD4NR0m+SCedKmTyQSHhhjU= X-Received: by 2002:a02:c72d:: with SMTP id h13mr5758528jao.17.1600806836347; Tue, 22 Sep 2020 13:33:56 -0700 (PDT) MIME-Version: 1.0 References: <4768019.hHWyC0TzgU@omega> <2533200.g9kxISXj3W@omega> <20200922184610.GI3265@brightrain.aerifal.cx> <5868317.9r8Qd0VG7H@omega> In-Reply-To: <5868317.9r8Qd0VG7H@omega> From: Jeffrey Walton Date: Tue, 22 Sep 2020 16:33:43 -0400 Message-ID: To: musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [musl] Re: OS detection wrong on Alpine Linux 3.10 On Tue, Sep 22, 2020 at 4:18 PM Bruno Haible wrote: > ... > > It's true that implementations have a number of things that are > > implementation defined, and that the standards specify this as having > > a documented behavior (which the party reading the documentation can > > then rely upon). At present musl does not have sufficient > > documentation in this regard; I began the work of enumerating all the > > impl-defined behaviors at one point with a goal of documenting them > > but it was never completed. > > It is good to attempt to document such things. But I doubt anyone can > ever produce a complete documentation of this kind: > > * For many system calls, when POSIX specifies an errno X for condition A, > and an errno Y for condition B, then if both A and B apply, often > the implementation is free to return errno X or Y. There are many > system calls and many possible combinations of conditions... Not to mention SELinux hijacking error codes and errno so you go chasing the wrong cause of an error... Jeff