From nobody Fri Feb 02 23:35:12 2024 X-Original-To: current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TRXFP1FkMz58WlH for ; Fri, 2 Feb 2024 23:35:21 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TRXFN6DGwz4CMP; Fri, 2 Feb 2024 23:35:20 +0000 (UTC) (envelope-from steffen@sdaoden.eu) Authentication-Results: mx1.freebsd.org; none Date: Sat, 03 Feb 2024 00:35:12 +0100 Author: Steffen Nurpmeso From: Steffen Nurpmeso To: Brooks Davis Cc: current@freebsd.org Subject: Re: libc/libsys split coming soon Message-ID: <20240202233512.DTulx4sD@steffen%sdaoden.eu> In-Reply-To: References: Mail-Followup-To: Brooks Davis , current@freebsd.org User-Agent: s-nail v14.9.24-596-g7894190075 OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs. X-Rspamd-Queue-Id: 4TRXFN6DGwz4CMP X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15987, ipnet:217.144.128.0/20, country:DE] List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Brooks Davis wrote in : |TL;DR: The implementation of system calls is moving to a seperate |library (libsys). No changes are required to existing software (except |to ensure that libsys is present when building custom disk images). ... [vvvv] |This change serves three primary purposes: | 1. It's easier to completely replace system call implementations for | tracing or compartmentalization purposes. | 2. It simplifies the implementation of restrictions on system calls such | as those implemented by OpenBSD's msyscall(2) | (https://man.openbsd.org/msyscall.2). | 3. It allows language runtimes to link with libsys for system call | implementations without requiring libc. That is so cool. Much love for 3.! .. |After nearly a decade of intermittent work, I'm about to land a series |of patches which moves system calls, vdso support, and libc's parsing of |the ELF auxiliary argument vector into a separate library (libsys). I |plan to do this early next week (February 5th). Congratulations. Thanks for all your efforts. All FreeBSD! Oh i had a mail in the queue for another list, and whereas i admire all efforts, how i love this one! Thank you, and nice weekend i wish from Germany! --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt)