From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu Subject: Re: [9fans] 'wall' messages From: rog@vitanuova.com In-Reply-To: <49d88ae4feaba4506f44c00cc1ec5fe6@collyer.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Date: Thu, 9 Oct 2003 19:36:36 +0100 Topicbox-Message-UUID: 6ad99c68-eacc-11e9-9e20-41e7f4b1d025 > Okay, here are implementations of write and wall in under 100 lines. couple of potential problems: a) the pipes don't go away when you log out; maybe ORCLOSE would be a good flag to add to the create. b) anyone can pretend to be anyone else, or deny access to anyone else. i'd think that b) could be solved quite simply by doing a little 9p server and using authentication, but auth(2) doesn't seem to explain server-side authentication overly much (auth_rpc gets a mention, but that's all), and... /sys/src/cmd/fossil/9auth.c (the only 9p code i could think of that does auth) seems a little more complicated than i was after. maybe i've missed something and perhaps lib9p can handle authentication automatically? (might be nice) PS. nemo: http://www.vitanuova.com/test/termrc.gif only 368 words though.