From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: (qmail 7682 invoked from network); 9 Apr 2020 10:29:47 -0000 Received-SPF: pass (mother.openwall.net: domain of lists.openwall.com designates 195.42.179.200 as permitted sender) receiver=inbox.vuxu.org; client-ip=195.42.179.200 envelope-from= Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with UTF8ESMTPZ; 9 Apr 2020 10:29:47 -0000 Received: (qmail 3082 invoked by uid 550); 9 Apr 2020 10:29:43 -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 2016 invoked from network); 9 Apr 2020 10:29:42 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=M0UyXf2PJ41b7kOxuyCuBWAMBM+rBX7nFaHGkp1rx1I=; b=rCH6tdw4VZMqIjmg3gyJjzKzNcQw23yzSr8gIfwsUApzPME/0g63u6rMYL0wHd29QQ VOZaM4hhAdNKZoqydvZ+BjQK6oz5CNxWpPpXhFJbHbuktOaS4tFmx7SD0/T3T6OPbdp8 iwWsMq4IOq+EYugrdnkkQTQ+FgmHnWNJzNaq41TeUN8gM8utLg38f1zsrhb4+IYgBo16 damvEmucxfnN+KtaRpQkJR7Bc/hF+xwcH1j4tJrN3jGFBCgOVzAsQQEb9q2IZ+lJLLWi B+O6/o67xw3wa54Wklegu7C4hr4Bohbx9QYqXBtxgapewZD+BKv/JVXeWj2Dvr6MF9JK 1DOQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=M0UyXf2PJ41b7kOxuyCuBWAMBM+rBX7nFaHGkp1rx1I=; b=jEZ1okHIdvTJnz7grD9GIsv8wbTa+108SNBsfG8tbQ9/d+yazHpDuP71Iv8mBW+X+y rFBBO3NeRa2tdu5+J0t/p9wLwWXzuAPDy6SKwKhoKD4EhQd9DmoLvUJ5WXzw9w9wjGAU eQ+jJNpkQVjJoXRY9/D+ctiKX4d98fUmtUsfzR0GEoUFPsgv+7zL0kSEi7YUXlV+bbr8 VrSltdxVCBZ3I2IIgMwGDwLKa5OcxPyu415zXh6gMPB7m0pvAdk0Azfsmlt8nXfc6pc/ 0STkSfAECkG2cw+gbY22CW1j32aNi0lt8vuh/P/oybD0ql0oeyhPijxuls8XQFVBCAw9 VJ5Q== X-Gm-Message-State: AGi0PuZ2TJFXMY1oBDLrbL1rcYmHKwve3xqGey+7yZFEJsusHTnMIlh7 K/4Cs7GRIdf2Bia1jBUVeb0jZ9aqP8Mpt6r3pLJOv8+K X-Google-Smtp-Source: APiQypJIibdWMpkAWyV88ZFlPJufKsAKBHdnCKyR+iza8T+euRkJdu8d2uI1Om7KFwohgcj+ZiRQPgn/fUHUXne3Nl0= X-Received: by 2002:a92:d34e:: with SMTP id a14mr12265706ilh.32.1586428170858; Thu, 09 Apr 2020 03:29:30 -0700 (PDT) MIME-Version: 1.0 From: Norbert Lange Date: Thu, 9 Apr 2020 12:29:20 +0200 Message-ID: To: musl@lists.openwall.com Content-Type: text/plain; charset="UTF-8" Subject: [musl] [BUG] sysconf implementing _SC_NPROCESSORS_(CONF|ONLN) incorrectly Hello, I ran into a bug with trace-cmd when compiled against musl. Turns out musl just returns the affinity mask in both cases. I know those functions are not standard, but the irony is that if they are implemented, then they prevent applications to use fallbacks. See the trace-cmd bugreport: https://bugzilla.kernel.org/show_bug.cgi?id=206817 Norbert