9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: "有澤 健治" <karisawa@gmail.com>
To: 9fans@9fans.net
Subject: [9fans] plan9port
Date: Fri, 24 Sep 2021 11:58:40 +0900	[thread overview]
Message-ID: <c2cbff0e-4d7c-81c7-dc62-1c9d9abc6116@gmail.com> (raw)

Hello 9fans.

issue:
9pfuse does not try to be authenticated.

the fix:
replace fsmount in src/cmd/9pfuse/main.c by fsamount.

how to fix:
(a) we need to add
     #include <auth.h>
in src/cmd/9pfuse/a.h
(b) replace
     if((fsys = fsmount(fd, spec)) == nil)
by
     if((fsys = fsamount(fd, spec)) == nil)
in src/cmd/9pfuse/main.c

if you want to leave old protocol, adding "-n" flag may be better 
following 9p command.

Kenji Arisawa


------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/T0cd6b4c2ce9f9a00-M9d256d23c5f69112f5294f4c
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

             reply	other threads:[~2021-09-24  2:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-24  2:58 有澤 健治 [this message]
  -- strict thread matches above, loose matches on Subject: below --
2008-11-21 21:09 Rudolf Sykora
2008-11-21 21:43 ` Uriel
2008-11-22  0:56   ` Russ Cox

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=c2cbff0e-4d7c-81c7-dc62-1c9d9abc6116@gmail.com \
    --to=karisawa@gmail.com \
    --cc=9fans@9fans.net \
    /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).