mailing list of musl libc
 help / color / mirror / code / Atom feed
From: "Érico Nogueira" <ericonr@disroot.org>
To: <musl@lists.openwall.com>
Subject: [musl] Some pending changes/patches
Date: Sun, 17 Jan 2021 16:42:31 -0300	[thread overview]
Message-ID: <C8LOU9XLKVEU.3L90RP56PTHYV@mussels> (raw)

Hi!

Firstly, congratulations on the new release :)

Secondly, I have some pending patches that I'd like to ping, plus some
changes that I was asked to post about once the 1.2.2 release had been
made.

- add cloexec flag to open() in pthread_setname_np:
https://www.openwall.com/lists/musl/2020/12/24/1

- (low-priority) add pthread_getname_np:
	- my version (needs to be cleaned up for the change in the patch
	  above):
	  https://www.openwall.com/lists/musl/2020/12/19/3
	  It tries to avoid duplicating the setup for the
	  /proc/self/task/%d/com path by adding a helper function.
	- older version:
	  https://inbox.vuxu.org/musl/AM0PR07MB442007DDD4FECFF99BB5EBF48BE70@AM0PR07MB4420.eurprd07.prod.outlook.com/
	  Lacks cloexec flag when opening file.

- (low priority) implement gethostid() beyond a stub:
https://inbox.vuxu.org/musl/20200804224230.27774-1-ericonr@disroot.org/

- fix type for __libc_start_main. In crt1.c and rcrt1.c, it is:

int __libc_start_main(int (*)(), int, char **,
	void (*)(), void(*)(), void(*)());

but in __libc_start_main.c, it is

int __libc_start_main(int (*main)(int,char **,char **), int argc, char **argv)

as far as I can tell the fix is simple and the signature mismatch isn't
an issue. Since I don't know the context for the mismatch and therefore
wouldn't be able to write an appropriate commit message, I refrained
from sending a patch for it.

Happy new year,
Érico

             reply	other threads:[~2021-01-17 19:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-17 19:42 Érico Nogueira [this message]
2021-01-18  4:11 ` Érico Nogueira
2021-01-30 21:40 ` Rich Felker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C8LOU9XLKVEU.3L90RP56PTHYV@mussels \
    --to=ericonr@disroot.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).