From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21221 invoked from network); 8 Sep 2022 04:11:28 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 8 Sep 2022 04:11:28 -0000 Received: from pb-smtp1.pobox.com ([64.147.108.70]) by 9front; Thu Sep 8 00:10:10 -0400 2022 Received: from pb-smtp1.pobox.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id D77BF1397A6 for <9front@9front.org>; Thu, 8 Sep 2022 00:10:06 -0400 (EDT) (envelope-from unobe@cpan.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=message-id :to:subject:date:from:in-reply-to:mime-version:content-type :content-transfer-encoding; s=sasl; bh=T6IlL7F2BXHP9f3KZQZTD5C+u Bz/PAZiwt5Ny4l+S38=; b=q8FXzFhKV7h9KlQVfopk7Nlk0+H13UZckDbsidWE7 V4Vm3RcJNIOP8jvrgxhJf+OEJ9nsJ3Z8jFj8aiCEtXUo8mmRZrvEx8CGY2KYhLRQ vCxUUOYx1OdawusQeiKGtLJNUB4oaW8CAMb2oKfYBI9Al5RvIwjjKy/ArP6+5oIE A0= Received: from pb-smtp1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp1.pobox.com (Postfix) with ESMTP id A8D811397A4 for <9front@9front.org>; Thu, 8 Sep 2022 00:10:06 -0400 (EDT) (envelope-from unobe@cpan.org) Received: from strider.localdomain (unknown [75.237.206.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp1.pobox.com (Postfix) with ESMTPSA id 4BFC61397A0 for <9front@9front.org>; Thu, 8 Sep 2022 00:10:04 -0400 (EDT) (envelope-from unobe@cpan.org) Message-ID: <405E52DFB3D6D7172F2DB16B3E96D9AB@smtp.pobox.com> To: 9front@9front.org Date: Wed, 07 Sep 2022 21:10:00 -0700 From: unobe@cpan.org In-Reply-To: <92B97C87A7D1692F9E82BBC291888265@eigenstate.org> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Pobox-Relay-ID: 1DE60606-2F2C-11ED-8711-2AEEC5D8090B-09620299!pb-smtp1.pobox.com List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: structured mobile SQL out-scaling scripting general-purpose manager Subject: Re: [9front] [PATCH] upas/marshal: honor username headers Reply-To: 9front@9front.org Precedence: bulk Quoth ori@eigenstate.org: > Quoth Ricardo Lanziano : > > Use login instead of $upasname > > > > --- > > diff a786a79acfc5079761f8b3efe72142640c1e9d2c 7fbe81115b367b068061c66904ae7e5bb45b2366 > > --- a/sys/src/cmd/upas/marshal/marshal.c Wed Aug 24 08:55:44 2022 > > +++ b/sys/src/cmd/upas/marshal/marshal.c Wed Aug 24 18:41:13 2022 > > @@ -357,7 +357,7 @@ > > bwritesfree(&out, &hdrstring); > > > > /* read user's standard headers */ > > - mboxpathbuf(file, sizeof file, user, "headers"); > > + mboxpathbuf(file, sizeof file, login, "headers"); > > if(b = Bopen(file, OREAD)){ > > if (readheaders(b, &flags, &hdrstring, nil, nil, nil, nil, 0) == Error) > > fatal("reading"); > > (sorry about the slow response) > > hm. makes sense to me, but arguable -- you may want > to have custom headers per account, not per user. > indeed.