From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4FGcJ7UTuV4dUAAA0tVLHw (envelope-from ) for ; Mon, 11 May 2020 08:58:29 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SG78H8MTuV5pbwAA1q6Kng (envelope-from ) for ; Mon, 11 May 2020 08:58:43 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 651F1940B80 for ; Mon, 11 May 2020 08:58:41 +0000 (UTC) Received: from localhost ([::1]:48536 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jY4Go-0007SE-8f for larch@yhetil.org; Mon, 11 May 2020 04:58:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34618) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jY4Ga-0007Rs-4J; Mon, 11 May 2020 04:58:28 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:52360) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jY4GZ-0003ht-BN; Mon, 11 May 2020 04:58:27 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id C609A2434; Mon, 11 May 2020 10:58:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WDA1-hDS2IYL; Mon, 11 May 2020 10:58:23 +0200 (CEST) Received: from function (lfbn-bor-1-797-11.w86-234.abo.wanadoo.fr [86.234.239.11]) by hera.aquilenet.fr (Postfix) with ESMTPSA id DF56B1C26; Mon, 11 May 2020 10:58:23 +0200 (CEST) Received: from samy by function with local (Exim 4.93) (envelope-from ) id 1jY4GU-00FRLD-OW; Mon, 11 May 2020 10:58:22 +0200 Date: Mon, 11 May 2020 10:58:22 +0200 From: Samuel Thibault To: Jan Nieuwenhuizen Subject: Re: Feeble attempt at using xattr gnu.translator Message-ID: <20200511085822.xbotifcwjdza4hhy@function> Mail-Followup-To: Jan Nieuwenhuizen , bug-hurd@gnu.org, guix-devel@gnu.org References: <873687po5m.fsf@gnu.org> <20200510200555.2yrvifu73emzk44s@function> <87zhaej2fi.fsf@gnu.org> <20200511084208.tnjdat5bofcgsxth@function> <20200511084647.xusdpgzhurjojoei@function> <875zd2j1i1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <875zd2j1i1.fsf@gnu.org> Organization: I am not organized User-Agent: NeoMutt/20170609 (1.8.3) Received-SPF: softfail client-ip=185.233.100.1; envelope-from=samuel.thibault@gnu.org; helo=hera.aquilenet.fr X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/11 04:46:50 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -11 X-Spam_score: -1.2 X-Spam_bar: - X-Spam_report: (-1.2 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_SOFTFAIL=0.665 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org, bug-hurd@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 X-Spam-Score: -0.51 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Scan-Result: default: False [-0.51 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.53955132735874]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.51.188.0/24:c]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.07), country: US(-0.00), ip: 209.51.188.17(-0.54)]; DWL_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; HAS_ORG_HEADER(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; MAILLIST(-0.20)[mailman]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; RCVD_IN_DNSWL_FAIL(0.00)[209.51.188.17:server fail]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:22989, ipnet:209.51.188.0/24, country:US]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[samuel.thibault@gnu.org,guix-devel-bounces@gnu.org]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; MIME_GOOD(-0.10)[text/plain]; RCVD_TLS_LAST(0.00)[]; DMARC_NA(0.00)[gnu.org]; HAS_LIST_UNSUB(-0.01)[]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.51.188.17:from]; MID_RHS_NOT_FQDN(0.50)[]; RCVD_COUNT_SEVEN(0.00)[8]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: mxD2XYdSiz21 Jan Nieuwenhuizen, le lun. 11 mai 2020 10:53:58 +0200, a ecrit: > Samuel Thibault writes: > > > Samuel Thibault, le lun. 11 mai 2020 10:42:08 +0200, a ecrit: > >> > diskfs_S_file_set_translator (struct protid *cred, > >> > [...] > >> > if (passivelen && passive[passivelen - 1]) > >> > return EINVAL; > >> > > >> > hmm; so even when there are no arguments, VALUE must end with 0?! > >> > >> That > > > > That's a bit sad, but I'm not so surprised either. I don't remember if > > that was discussed at the time. > > At first glance it felt like a bug/non-finished thing; setttrans does > not require the user to resort to \0-hackery. It does not because settrans is supposed to *be* the user-visible interface. setfattr is not supposed to be. Samuel