From: "Roman V. Shaposhnick" <vugluskr@unicorn.math.spbu.ru>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] some thoughts about auth*
Date: Fri, 8 Nov 2002 05:56:45 +0300 [thread overview]
Message-ID: <20021108055645.A4309@unicorn.math.spbu.ru> (raw)
In-Reply-To: <5997b562ef90863c347d5fa609d088da@hamnavoe.demon.co.uk>
On Thu, Nov 07, 2002 at 07:47:36PM +0000, Richard Miller wrote:
> "Roman V. Shaposhnick" <vugluskr@unicorn.math.spbu.ru>said:
> While looking into this, I found another error in the 3e->4e
> transition of the kfs network support. If you want 3e clients
> to be able to mount a kfs exported by a 4e cpu server, the following
> changes appear to be necessary:
>
> /sys/src/cmd/disk/kfs/9p1.c:72 d ./9p1.c:71
> < memmove(ou->chal, cp->chal, sizeof(ou->chal));
> /sys/src/cmd/disk/kfs/9p1.c:73 a ./9p1.c:73
> > memset(ou->chal, 0, sizeof(ou->chal));
> /sys/src/cmd/disk/kfs/9p1.c:76 a ./9p1.c:77
> > memmove(ou->chal, cp->chal, sizeof(ou->chal));
>
> /sys/src/cmd/disk/kfs/auth.c:61 c ./auth.c:61
> < convM2T(in->ticket, &t, nvr.authkey);
> ---
> > convM2T(in->ticket, &t, nvr.machkey);
That's exactly what I had in mind but was afraid to suggest :). Well,
with these changes in mind now there is absolutely no place in
Plan9 sources ( modulo stand alone fs ) where nvr.authkey can be found.
Of course I understand that asking for ditching nvr.authkey from Nvrsafe is
too much to ask, but it might be reasonable to mark it as deprecated in
a header file. That way, people will be much less likely to be confused
in the future.
How about that ?
Thanks,
Roman.
P.S. Is second declaration of the nvr in the disk/kfs/auth.c at line
35 really necessary ? Or is it just copy'n'paste artifact ?
next prev parent reply other threads:[~2002-11-08 2:56 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-11-07 19:47 Richard Miller
2002-11-08 2:56 ` Roman V. Shaposhnick [this message]
[not found] <fce4571861a826ddf4677ec3cecbe995@plan9.bell-labs.com>
2002-11-12 17:37 ` Roman V. Shaposhnick
-- strict thread matches above, loose matches on Subject: below --
2002-11-07 2:42 presotto
2002-11-07 0:25 Roman V. Shaposhnick
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=20021108055645.A4309@unicorn.math.spbu.ru \
--to=vugluskr@unicorn.math.spbu.ru \
--cc=9fans@cse.psu.edu \
/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.
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).