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=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18674 invoked from network); 4 Oct 2023 23:43:22 -0000 Received: from tb-ob1.topicbox.com (64.147.108.173) by inbox.vuxu.org with ESMTPUTF8; 4 Oct 2023 23:43:22 -0000 Received: from tb-mx0.topicbox.com (tb-mx0.nyi.icgroup.com [10.90.30.73]) by tb-ob1.topicbox.com (Postfix) with ESMTP id 3F5223602B for ; Wed, 4 Oct 2023 19:43:21 -0400 (EDT) (envelope-from bounce.mM5fd43d2e15b927fd76e19b2b.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx0.topicbox.com (Postfix, from userid 1132) id 40F272BEBF17; Wed, 4 Oct 2023 19:43:21 -0400 (EDT) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=S7wMwpi5 header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=newton688@gmail.com smtp.helo=mail-qk1-f173.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=content-type:content-transfer-encoding:from :mime-version:subject:date:message-id:references:in-reply-to:to :list-help:list-id:list-post:list-subscribe:reply-to :list-unsubscribe; s=sysmsg-1; t=1696463001; bh=nxDeNwT2BEwQr+yW UyraNqZ8vgveGSm6Q9ciWAkxEfQ=; b=KPDAq8FP5pYmhoQxLv3ybQ1OXbBHIamV nQMMrbTyTo18b+5ZVloF722w3i4t0dYcSidFi+io9XKGJaMvou2ZKNiI4RPUnHuX PH7DLbDvDGvctxrUKdq664fByYmKldo/oHkzXiZL4FQwzZQb7ta1Xgs2uIHBBklz J4R7Egv6bgk= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1696463001; b=WZkbslwyQ40BxgufXbvMsUFDR4uZ+yUckiOdce3aIj1Cl5h2B3 QKzlWa59B6pY6Sox1oGQjX68xTSHj5hgP7wz9miZFzw1hRR2TIE49O3MmcP4G7Jp SlgtHfOoftGH5DWr6KdS0jWid2NnUje+hKdDAaBxjAIOE6qLyVit8e41A= Authentication-Results: topicbox.com; arc=pass; dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=S7wMwpi5 header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; spf=pass smtp.mailfrom=newton688@gmail.com smtp.helo=mail-qk1-f173.google.com; x-internal-arc=fail (as.1.topicbox.com=pass, ams.1.topicbox.com=fail (message has been altered)) (Message modified while forwarding at Topicbox) X-Received-Authentication-Results: tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=S7wMwpi5 header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.222.173 (mail-qk1-f173.google.com); spf=pass smtp.mailfrom=newton688@gmail.com smtp.helo=mail-qk1-f173.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=i0mT1AsZ; x-me-sender=none; x-ptr=pass smtp.helo=mail-qk1-f173.google.com policy.ptr=mail-qk1-f173.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h= content-type:content-transfer-encoding:from:mime-version:subject :date:message-id:references:in-reply-to:to:list-help:list-id :list-post:list-subscribe:reply-to:list-unsubscribe; s=dkim-1; t=1696463001; x=1696549401; bh=nxDeNwT2BEwQr+yWUyraNqZ8vgveGSm6 Q9ciWAkxEfQ=; b=lBLQFYqYC0ZY7Fsroo2kKwGtP/dpha3eDGPAUPtLtRG5dqdl L7ghpE9PVrSujW6Tuij+/OHVz2UqEIi54wbKkepqpKz+emOPFXAFeIn1vAHR8rEW PtmmKGJM77+Ukr0+NV7bwVZ0X6q6xhlO9FX7HPYbwQDUpwLvgfEHU7J5tFk= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id BA3C12BEBAE5 for <9fans@9fans.net>; Wed, 4 Oct 2023 19:43:04 -0400 (EDT) (envelope-from newton688@gmail.com) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id 161429E87ED; Wed, 4 Oct 2023 19:43:04 -0400 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1696462984; b=slvcRFjYK0hpBi5Cv8J0WemuXuOpvQCiJkdNhr5a6eYoOLowu0 PP0nH8sftmdVMG1sEnJryjqRuQPe76F06p5aeL6lE0SHXg+laC51b4GqhHE3iEni CnlzbSn+czq/QEv8Cj/tJAj8da1K88UcHZSiVaknljqdgcJEO62UJPahNfRKpkV6 jQ3kKWHPMgWnobNImMYU0GWDXP/OBUW79FSGdGAVFEPSocGnWVq1fZkZiBdoOukR wRE6Yler4uR1mG6DxLd/ORuiwyEuq+XD+CEjylMcZwOlOKndoe+cH6Pv8v1MkOd2 sHMNFTgEDbjQJD8cqQSWv7C2r12xImqUc6ZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=content-type:content-transfer-encoding:from :mime-version:subject:date:message-id:references:in-reply-to:to; s=arcseal; t=1696462984; bh=tGokZ3oDlO3Rp5sqGBRxMuvOMCvxXhM0NuS nKo/jQEA=; b=phX7SnyHHZiUxlCNNzrSyuCVs6DS/YN4UvLKxacAnr0w64iW1kr pFTkFMJY10CSEhfBbfA0KIcMa6IHsjCLeiLRvBhkhUwN059pPW8JtZ9vG5bLHqta wxD16Q/1WGA1daaQqW13WeQ/iLUK+4AHHNHP3Z/HxoygHOv87YVQhCkwqwUE632P d+EUyfau9aqPL22P+Zz8bSf2rd6absrAIglPn7j/0EuUtVzgLGy6zoSqM9E7aJga /4vBFs28RfR/6u0QXcAJ7SC3QQ1xCP6zA3Wvvr1r5oLOBjAlZFrCuGu/1EHEBP3j 9uzAcDT9mBT6WEO/FVMZxlG9XpObw0Vzk5w== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=pass (2048-bit rsa key sha256) header.d=gmail.com header.i=@gmail.com header.b=S7wMwpi5 header.a=rsa-sha256 header.s=20230601 x-bits=2048; dmarc=pass policy.published-domain-policy=none policy.published-subdomain-policy=quarantine policy.applied-disposition=none policy.evaluated-disposition=none (p=none,sp=quarantine,d=none,d.eval=none) policy.policy-from=p header.from=gmail.com; iprev=pass smtp.remote-ip=209.85.222.173 (mail-qk1-f173.google.com); spf=pass smtp.mailfrom=newton688@gmail.com smtp.helo=mail-qk1-f173.google.com; x-aligned-from=pass (Address match); x-google-dkim=pass (2048-bit rsa key) header.d=1e100.net header.i=@1e100.net header.b=i0mT1AsZ; x-me-sender=none; x-ptr=pass smtp.helo=mail-qk1-f173.google.com policy.ptr=mail-qk1-f173.google.com; x-return-mx=pass header.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-return-mx=pass smtp.domain=gmail.com policy.is_org=yes (MX Records found: alt1.gmail-smtp-in.l.google.com,alt4.gmail-smtp-in.l.google.com,alt3.gmail-smtp-in.l.google.com,gmail-smtp-in.l.google.com,alt2.gmail-smtp-in.l.google.com); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=0 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgedvkedrgeefgddvhecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecunecujfgurheptgfghfgguf ffkfhfjgfvofesthhqmhdthhdtjeenucfhrhhomhepvehhrhhishcuofgtifgvvgcuoehn vgifthhonheikeeksehgmhgrihhlrdgtohhmqeenucggtffrrghtthgvrhhnpeduhfeute elvddujeeiieegteffhfehjeduveevieevjeefveduudfgledvvddtteenucffohhmrghi nhepthhophhitggsohigrdgtohhmnecukfhppedvtdelrdekhedrvddvvddrudejfedpud egvddrudekfedrvdefjedrjedtnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehinhgvthepvddtledrkeehrddvvddvrddujeefpdhhvghlohepmhgrihhlqdhqkhduqd hfudejfedrghhoohhglhgvrdgtohhmpdhmrghilhhfrhhomhepoehnvgifthhonheikeek sehgmhgrihhlrdgtohhmqe X-ME-VSScore: 0 X-ME-VSCategory: clean Received-SPF: pass (gmail.com ... _spf.google.com: Sender is authorized to use 'newton688@gmail.com' in 'mfrom' identity (mechanism 'include:_netblocks.google.com' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="newton688@gmail.com"; helo=mail-qk1-f173.google.com; client-ip=209.85.222.173 Received: from mail-qk1-f173.google.com (mail-qk1-f173.google.com [209.85.222.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by tb-mx0.topicbox.com (Postfix) with ESMTPS for <9fans@9fans.net>; Wed, 4 Oct 2023 19:43:04 -0400 (EDT) (envelope-from newton688@gmail.com) Received: by mail-qk1-f173.google.com with SMTP id af79cd13be357-77410032cedso24247385a.1 for <9fans@9fans.net>; Wed, 04 Oct 2023 16:43:04 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696462983; x=1697067783; h=to:in-reply-to:references:message-id:date:subject:mime-version:from :content-transfer-encoding:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=tGokZ3oDlO3Rp5sqGBRxMuvOMCvxXhM0NuSnKo/jQEA=; b=i0mT1AsZf5PDkCo/rDoO1uKiGeinm6++IIaBuyfOHxX41ZpVCD511MoxefoajESou6 Wcs6H5yUFSWFROdg1n0HtientTZk3ka+FxuDMANYzGzwCuLcrmYdVpf9N5o27qAT2+TS lyb67Nu3v4dWNBQgfPMKoDaM7lTnYGlXJAnOZTphXRf5N7PuqU7XxEqDHsYQZ5jBFC4A xmOb6voJPj26M4Atn7Sg0MhF6N3PYbqtpC8vfT8/FeGEHT09f0hrwkUTjssl+TkoSj/X ZPaMcu3qru8JM/3LQXhlqjYYWvUCnHDiBQQXc5T1sbwWehAubR+xkIhZ2jy9aeJc9gJp Bkvg== X-Gm-Message-State: AOJu0YynZbqCx9ViBI6pcUbuI5Krk3xaANsLn1kxTlWDu40/zqXDn0hH HFuxhFyCx/i5AXZnIT+aTumQBo9EWpKMrQ== X-Google-Smtp-Source: AGHT+IHVDo1Ece5pwZcI8KqikZRVOmpvtjOs2KrNtyCksaIPuufdXUBuIcsb3Zq4kgYiyfFvBNmWpg== X-Received: by 2002:a05:620a:678:b0:775:446b:860c with SMTP id a24-20020a05620a067800b00775446b860cmr3436158qkh.70.1696462983253; Wed, 04 Oct 2023 16:43:03 -0700 (PDT) Received: from smtpclient.apple ([142.183.237.70]) by smtp.gmail.com with ESMTPSA id c7-20020ae9e207000000b00774133fb9a3sm84938qkc.114.2023.10.04.16.43.02 for <9fans@9fans.net> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Oct 2023 16:43:02 -0700 (PDT) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable From: Chris McGee Mime-Version: 1.0 (1.0) Subject: Re: [9fans] fd and /srv filesystem Date: Wed, 4 Oct 2023 19:42:50 -0400 Message-Id: <6F39A2EA-0896-4B39-AF15-250E60D65125@gmail.com> References: In-Reply-To: To: 9fans <9fans@9fans.net> X-Mailer: iPhone Mail (20H19) Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: c6bdbefa-630f-11ee-98d6-584a028c7b06 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UZmFhMjU1NGE5Yjc0YzQ3OS1NNWZkNDNkMmUxNWI5MjdmZDc2ZTE5?= =?UTF-8?B?YjJiPg==?= List-Help: List-Id: "9fans" <9fans.9fans.net> List-Post: List-Software: Topicbox v0 List-Subscribe: Precedence: list Reply-To: 9fans <9fans@9fans.net> List-Unsubscribe: , Topicbox-Delivery-ID: 2:9fans:437d30aa-c441-11e9-8a57-d036212d11b0:522be890-2105-11eb-b15e-8d699134e1fa:M5fd43d2e15b927fd76e19b2b:1:L4_cDwRwcUaYiXKW4URSEvRMVLjOlTQzxjyLdy2ITUc Thanks all for the explanations. I think I understand better now. Chris > On Oct 4, 2023, at 12:06 PM, ori@eigenstate.org wrote: >=20 > =EF=BB=BFQuoth Chris McGee : >> Hi All, >>=20 >> I was thinking about file descriptors in the context of Plan 9. On Unix = an >> fd is generally only usable by the current process, and child ones throu= gh >> a fork with some special incantation if one wants to communicate one ove= r a >> domain socket. This is possibly for security reasons, avoiding other use= rs' >> processes from trying to guess the fd of a critical file. >>=20 >> It's common practice in Plan 9 to post an fd (sometimes via a pipe) from >> one process to the /srv filesystem so that others can discover it and op= en >> a comms channel. Does the kernel transform the fd into something when >> posted to /srv so that it can be consumed by any other process in the >> system? >>=20 >> Thanks, >> Chris >>=20 >=20 > it's all just Chans in the kernel; devsrv just provides > a way of giving an open chan a name in the namespace. >=20 ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/Tfaa2554a9b74c479-M5fd43= d2e15b927fd76e19b2b Delivery options: https://9fans.topicbox.com/groups/9fans/subscription