From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/12778 Path: news.gmane.org!.POSTED!not-for-mail From: Patrick Oppenlander Newsgroups: gmane.linux.lib.musl.general Subject: Some questions Date: Mon, 30 Apr 2018 12:52:06 +1000 Message-ID: Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1525057655 14912 195.159.176.226 (30 Apr 2018 03:07:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 30 Apr 2018 03:07:35 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-12794-gllmg-musl=m.gmane.org@lists.openwall.com Mon Apr 30 05:07:31 2018 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1fCzA2-0003nV-4w for gllmg-musl@m.gmane.org; Mon, 30 Apr 2018 05:07:30 +0200 Original-Received: (qmail 32383 invoked by uid 550); 30 Apr 2018 03:09:38 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 9559 invoked from network); 30 Apr 2018 02:52:18 -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=b6DGU+yVLZKbJru9qjDPk11PMk4T9gskJXmylwfUU3M=; b=JWEAFplJOCdLW3u5eDvx/cZMY8+aVJbwXc9ZiGV72e6RRsovdzk9zO4oJQCaSaXVs+ yqxrWLqwvIRVT6cxINmhrMfGtWmOmdt1oBpjSErR0eP8D5batripI2m9eBTgBm8ARE8r 9IeLb9MgicNXHEw38aLsL70TJ0lCSWv1FVAYep739p7x6hQF6vMD1INNOhiDv5NhDbN/ T8Cl9Gr2tsvtQ48cPg+1DaaWdlJUeq2MLi6kSemc8czwHZytIa1/eQ7o7mkSXRYZw2/o 8cnyt8+W07XrQpozh3NUV2jgXX1MOXW1awvXkk2H/VFg9MrJJdi4nkfCiBufUdgXAihR HWMA== 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=b6DGU+yVLZKbJru9qjDPk11PMk4T9gskJXmylwfUU3M=; b=rGXIvFbFeroeONaEBhqYO4M/ET7CdcRZhaQ+pSytlgspAFsekb10xPoahRxE9m7oyE K0qvl2iYEcT2rEYnY1u1/BOvOlOMEZ2cUBcIeIrtYcV/PQPdWra3BGf1LeU6LoTzC9wH RPaGPCI1AC4Qtn1uRhsxC9JzpqP9WechHJ9cXrt9EKll1Sn/D9SPvd6g/gkdStZqAs8W aNCDL6qh9pLVAlHGwRv3DEw6o7AEKEAybKHsObzIURUXGy9aLgxrJSNtgfzoz2RA0zrk EWsCXtwW7BswbAI0m23xBL0L+NxvyYf1j33LvVDNOn9Dhlf/YlUd5g6JJFeQUQxP0sbD e4CA== X-Gm-Message-State: ALQs6tCNM/xKcH0yaFXRSSj+zlRt0X3n55UUMs8SSE2gt02BVolThmMO MIRT4nawIY3L9CBZ0DT4Eu5u4x7gCGFpoc+NTS6oRg== X-Google-Smtp-Source: AB8JxZqoNtCYH3OTj1BAPuTojtHSqXdZnFPh2dqNzh32ufH9kYdrbtj/2+iKoocXLuBSXjcqglKH3JKh36g4oySijYs= X-Received: by 2002:ac8:1b18:: with SMTP id y24-v6mr9731304qtj.161.1525056726480; Sun, 29 Apr 2018 19:52:06 -0700 (PDT) Xref: news.gmane.org gmane.linux.lib.musl.general:12778 Archived-At: Hi, while working on another project I've been looking through quite a bit of the musl code and have come up with a few minor questions I think worth raising: - Is there a way that spinlocks could be disabled or bypassed on uniprocessor systems? - sigisemptyset uses bss. Could be implemented in a similar fashion to sigemptyset, save bss & would probably be faster. - getcwd returned buffer size can be incorrect. If you call getcwd(NULL, 1234) the returned buffer is sized to match the path length but should be 1234 to be compatible with the glibc extension. - Are there any plans to support static linking with LTO? Thanks, Patrick