From nobody Thu May 22 07:20:02 2025 X-Original-To: freebsd-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 4b30766qhWz5w0sZ for ; Thu, 22 May 2025 07:20:18 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (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-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b30764CF9z3wVw; Thu, 22 May 2025 07:20:17 +0000 (UTC) (envelope-from fuz@fuz.su) Authentication-Results: mx1.freebsd.org; none Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.18.1/8.18.1) with ESMTPS id 54M7K34e096981 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Thu, 22 May 2025 09:20:03 +0200 (CEST) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.18.1/8.18.1/Submit) id 54M7K2Rq096980; Thu, 22 May 2025 09:20:02 +0200 (CEST) (envelope-from fuz) Date: Thu, 22 May 2025 09:20:02 +0200 From: Robert Clausecker To: Poul-Henning Kamp Cc: Warner Losh , Andriy Gapon , freebsd-current@freebsd.org Subject: Re: Un-sucking EINVAL Message-ID: References: <202505210722.54L7MTqw025632@critter.freebsd.dk> <202505211914.54LJEmmd004452@critter.freebsd.dk> 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 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202505211914.54LJEmmd004452@critter.freebsd.dk> X-Rspamd-Queue-Id: 4b30764CF9z3wVw 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:16276, ipnet:2001:41d0::/32, country:FR] X-Spamd-Bar: ---- Am Wed, May 21, 2025 at 07:14:48PM +0000 schrieb Poul-Henning Kamp: > > In short, I'd love to widen the interface, but there's a number of practical > > issues in the way. > > Not really ? > > Our kernel is not I18N'ed and we have no plans to do so. > > That means that there is absolutely no point in taking a big detour over > enumerating all possible messages into some "int assistant_to_errno", > we can and should simply pass the informative text-string straigt through. So basically like Plan 9's errstr? https://man2.aiju.de/2/errstr Yours, Robert Clausecker -- () ascii ribbon campaign - for an encoding-agnostic world /\ - against html email - against proprietary attachments