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.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21490 invoked from network); 2 Feb 2021 05:30:23 -0000 Received: from tb-ob0.topicbox.com (64.147.108.117) by inbox.vuxu.org with ESMTPUTF8; 2 Feb 2021 05:30:23 -0000 Received: from tb-mx1.topicbox.com (tb-mx1.nyi.icgroup.com [10.90.30.61]) by tb-ob0.topicbox.com (Postfix) with ESMTP id C4DE22FE1A for ; Tue, 2 Feb 2021 00:30:19 -0500 (EST) (envelope-from bounce.mM574eab3091a832d9fd544d82.r522be890-2105-11eb-b15e-8d699134e1fa@9fans.bounce.topicbox.com) Received: by tb-mx1.topicbox.com (Postfix, from userid 1132) id BA41D1595EB8; Tue, 2 Feb 2021 00:30:19 -0500 (EST) ARC-Authentication-Results: i=2; topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; 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=message-id:content-type :content-transfer-encoding:to:subject:date:from:in-reply-to :mime-version:list-help:list-id:list-post:list-subscribe :reply-to:list-unsubscribe; s=sysmsg-1; t=1612243819; bh=EdmrZZI Q8IyQG46mtjn1CMTi5qU6rYmG6xgrx3E5CCY=; b=BJny8DTinCkwHNglxHrOTg/ iOpcJ4NzYT2I4zd5Y0+Xf+IDQsHXAf8KN9jkVflCNLw8TG6OhlHq7bSLldZFHVzj u6sDzg3TzdQssHZR28Zr/shLuQAprZEF3ptO65pyQ4DjZoUOzGu3WdbK3JjKkSdc lsXnSQWjlJMs8WERPopE= ARC-Seal: i=2; a=rsa-sha256; cv=pass; d=topicbox.com; s=sysmsg-1; t= 1612243819; b=dmXicjuMj/rocZ90GaTS/RhtNg9Rwik+uCf+vOthMlKEvX2RbB +iT86Q29tSMHU0iBDfTbIvy3RDankpORU8jr7pFXo197vpj5Xwe1kFcX6A4vGtog BSP+Z75As+K+8ZXOOVbzTs9Ki0e2B6jQOf6egZ6hWNq0JTr7mdojpLs6U= Authentication-Results: topicbox.com; arc=pass; dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; 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=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,nokogiri.pikopiko.org,kusuri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,nokogiri.pikopiko.org,kusuri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=12 state=0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=9fans.net; h=message-id :content-type:content-transfer-encoding:to:subject:date:from :in-reply-to:mime-version:list-help:list-id:list-post :list-subscribe:reply-to:list-unsubscribe; s=dkim-1; bh=f7/q3+JV b8L41kyn/TkpAF46cbcq6Wa9ju02Ro9JOOU=; b=ppiKftQ2VraaI8YVHRBiKDcu wGLDmxpnIJNY6GUWpInR6cKlTKBHE7uNQ/V6GYgMMl/C7sORtVeJL9nNPpxBzs28 6GOvR4gpfE8OwSzocHiv4FNi5RzCBGhPKniUTFiPr+88/2cJCX6eam3hJpi9EwMp Zsr2J0fhoCToejB7heg= Received: from tb-mx0.topicbox.com (localhost.local [127.0.0.1]) by tb-mx0.topicbox.com (Postfix) with ESMTP id B0FCF154B900 for <9fans@9fans.net>; Tue, 2 Feb 2021 00:30:11 -0500 (EST) (envelope-from ori@eigenstate.org) Received: from tb-mx0.topicbox.com (localhost [127.0.0.1]) by tb-mx0.topicbox.com (Authentication Milter) with ESMTP id FB803EF99C6; Tue, 2 Feb 2021 00:30:11 -0500 ARC-Seal: i=1; a=rsa-sha256; cv=none; d=topicbox.com; s=arcseal; t= 1612243811; b=kIiBl6uOiDpx18xLth8H97vhiFOTkoDVp533yNCwowySWe6wVe NXgRV8MYVC/Xa0Gl0djiVcXx6KRRD2tn9ZVi4ZwKUrdtxIk1yLQAwTlj1XH8VUf5 1E1KbuhFHD5xvqCkExmcNgiSJIfRcsHSjI0UBf8aqd9uRtpr85Iq+r3O9bSjiVHM NGs/9KJkiXR1NVel/2x7netCBDC4vYbKuXYAkz557lfmCyFAM0EX75dpx5NTOsz8 M66+HQ2nhmUbPrlUI4lnp6EJdgdbp5cO5iH+R55wK/qzRV/0qhgAPjj8iVuoSPY7 zECKAool7UGFj0d5oH4QVlKY1FLnRB0V3Ijg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d= topicbox.com; h=message-id:content-type :content-transfer-encoding:to:subject:date:from:in-reply-to :mime-version:content-type:content-transfer-encoding; s=arcseal; t=1612243811; bh=YVdAzOvkIV6BK3ABqIpIXK+SajMzWS6+tXTiPLgg6GM=; b= v6cja1Bz58Qc4XWPfc0ItBwQoylfNNQ/y19rl4SupxxpKZdCE8F2/PUA9ELWKNHS j8UdgnmkmErdo7j6LEKTkNwO9cg9piigAVYCUJiarX+aruPrwvLP9RoG07aykCvx dz2SnvASOJXs+HyxDPMrax8hi12WDEo+6Kt10K3Xya9MeyhcqlC447bS2lukYfIt +1v5Vhift734wfikKLp6o2paIvz7s6e0N601P0K+rCyd/Tr0J+kf2r2gAcExAgjs D6hzohCn74lJIgQ/rSrDqXqjj+dZhxl1EnSqrQnL4caSmlJUyrCW9MrKphQlgZ3B POE/lZEn0oMDCqgKTYHwVA== ARC-Authentication-Results: i=1; tb-mx0.topicbox.com; arc=none (no signatures found); bimi=skipped (DMARC Policy is not at enforcement); dkim=none (no signatures found); dmarc=pass policy.published-domain-policy=none policy.applied-disposition=none policy.evaluated-disposition=none (p=none,d=none,d.eval=none) policy.policy-from=p header.from=eigenstate.org; iprev=pass smtp.remote-ip=206.124.132.107 (mimir.eigenstate.org); spf=pass smtp.mailfrom=ori@eigenstate.org smtp.helo=mimir.eigenstate.org; x-aligned-from=pass (Address match); x-ptr=pass smtp.helo=mimir.eigenstate.org policy.ptr=mimir.eigenstate.org; x-return-mx=pass header.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,nokogiri.pikopiko.org,kusuri.pikopiko.org); x-return-mx=pass smtp.domain=eigenstate.org policy.is_org=yes (MX Records found: eigenstate.org,mail.pikopiko.org,nokogiri.pikopiko.org,kusuri.pikopiko.org); x-tls=pass smtp.version=TLSv1.2 smtp.cipher=ECDHE-RSA-AES256-GCM-SHA384 smtp.bits=256/256; x-vs=clean score=12 state=0 X-ME-VSCause: gggruggvucftvghtrhhoucdtuddrgeduledrfeelgdejjecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecufghrlhcuvffnffculdejmd enogfthfevqddqjfgurhdqufhushhpvggtthdqlhhoficuldehmdenucfjughrpefktgfg vffufffhjgggtgfgsehtkeejtddttdejnecuhfhrohhmpehorhhisegvihhgvghnshhtrg htvgdrohhrghenucggtffrrghtthgvrhhnpeehkeeuieeukeelheehkeelfeeiueejhedv geefgfejvedvuedvtdetfedvfeevkeenucffohhmrghinhepghhoohhglhgvrdgtohhmpd hpohhsthhnihigrdhpfidptghorhgvughumhhprdgtgidpghhithhhuhgsrdgtohhmnecu kfhppedvtdeirdduvdegrddufedvrddutdejpdejgedruddtuddrvddrieenucevlhhush htvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvtdeirdduvdegrddufedvrddu tdejpdhhvghlohepmhhimhhirhdrvghighgvnhhsthgrthgvrdhorhhgpdhmrghilhhfrh homhepoehorhhisegvihhgvghnshhtrghtvgdrohhrgheq X-ME-VSScore: 12 X-ME-VSCategory: clean Received-SPF: pass (eigenstate.org: 206.124.132.107 is authorized to use 'ori@eigenstate.org' in 'mfrom' identity (mechanism 'mx' matched)) receiver=tb-mx0.topicbox.com; identity=mailfrom; envelope-from="ori@eigenstate.org"; helo=mimir.eigenstate.org; client-ip=206.124.132.107 Received: from mimir.eigenstate.org (mimir.eigenstate.org [206.124.132.107]) (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>; Tue, 2 Feb 2021 00:30:10 -0500 (EST) (envelope-from ori@eigenstate.org) Received: from abbatoir.fios-router.home (pool-74-101-2-6.nycmny.fios.verizon.net [74.101.2.6]) by mimir.eigenstate.org (OpenSMTPD) with ESMTPSA id 47fcd07c (TLSv1.2:ECDHE-RSA-AES256-SHA:256:NO) for <9fans@9fans.net>; Mon, 1 Feb 2021 21:30:09 -0800 (PST) Message-ID: <62B6AEBE2C5E36BBD16C5BC32F40E7B9@eigenstate.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable To: 9fans@9fans.net Subject: Re: [9fans] Plan 9 Applying to GSoC 2021 Date: Mon, 01 Feb 2021 21:30:07 -0800 From: ori@eigenstate.org In-Reply-To: MIME-Version: 1.0 Topicbox-Policy-Reasoning: allow: sender is a member Topicbox-Message-UUID: bb1b1af0-6517-11eb-8e4b-b592f2b504c2 Archived-At: =?UTF-8?B?PGh0dHBzOi8vOWZhbnMudG9waWNib3guY29tL2dyb3Vwcy85?= =?UTF-8?B?ZmFucy9UMDBiM2RjODlhOGRmMjk1YS1NNTc0ZWFiMzA5MWE4MzJkOWZkNTQ0?= =?UTF-8?B?ZDgyPg==?= 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:M574eab3091a832d9fd544d82:1:D4DotJYFPkgB1_KIogBP87Ex9oJ4oY7YgKbbJJykyWg Quoth Anthony Sorace : > 1. Project ideas. One of the key parts of the application is the > project ideas page. If you=E2=80=99ve got ideas that seem like they=E2= =80=99d > be a good fit for the program, and *especially* if you=E2=80=99re up for > mentoring them, please think about how to describe them in > sufficient detail for a student to work on (objectives, > promising starting points, likely challenges, &c). Here's a partial list of things I've been hoping to find time for. Some are fuzzy and poorly thought out. I'd be willing to mentor most of them, given someone that I had confidence in. In no particular order: - Imlementing asan in 6l: Right now, there's no easy way to detect access to uninitialized memory on the stack, use after free, or many other common C errors in plan 9. Unix has a number of tools like the address sanitizer and valgrind. I think it would be possible to make the linkers instrument programs with checks similar to the clang address sanitizer. https://research.google.com/pubs/archive/37752.pdf This would involve getting a fairly deep understanding of how the linkers work, modifying them to add a check before every memory read and write. It would also involve writing a runtime library for it, which could possibly be put into libc besite the profiling code. - Improving dtracy: 9front has implemented a dtrace workalike called dtracy. It's already proved useful for collecting statistics systemwide, but has a few annoyances. Namely: - It does not know how to collect stack traces. - It needs manually defined tracepoints. The first issue would involve teaching the kernel how to collect the stack trace of a process -- so, parsing debug info and packing it up into something that can be sent back to userspace. The second can probably be done by marrying devtrace from 9atom with dtracy: http://man.postnix.pw/9atom/3/trace - Implementing fuzzing framework: Plan 9 programs often handle unexpected input poorly. A tool that would help root out crashes and improve reliability of plan 9 software would be very welcome. The goal would be to implement a tool similar to AFL, but running on plan 9, using the plan 9 toolchain. https://lcamtuf.coredump.cx/afl/ This may require some changes to the linker, to make profiling information granular enough to provide coverage. - Implementing syzkaller support: The reasoning is the same as above: The plan 9 kernel almost certainly has a number of undiscovered bugs, panics, and issues around mishanlding of untrusted input. An attempt to fuzz the kernel would ceratinly improve software quality. This may also involve enhancing the linker to provide more granular coverage information. https://github.com/google/syzkaller/blob/master/docs/internals.md - SSH server: For providing service to unix, this could be helpful -- at least, git/serve could use it for push and clone. This would probably be done by forking the ssh client (/sys/src/cmd/ssh.c), and making it handle the server side of communication, then doing a cleanup pass to pull out the common code. - TLS certificate chain verification: Right now, we rely on thumbprints for certificate verification. Thumbprints require manual additions for ever server that we want to communicate with in a secure and authenticated manner. We should instead handle TLS certificate chain verification in our x509 client. The LibreSSL people recently put together a test suite for certificate verification. This should be used to validate the work. - Devdraw improvements: It seems like moving devdraw to userspace is a good idea. This also allows doing some vectorized SSE draw ops that would be painful in the kernel, as well as allowing freer experimentation with toys like affine transforms, antialiasing modes, similar. - Malloc improvemnts: Our current allocator is slow, and takes a global lock on every allocation. We're leaving a lot of performance on the table, and a faster allocator need not be all that much more complex. - Arm64 go support Seems feasible. May be too small in scope, since all the code gen is there. If so, there are a bunch of improvements to the runtime that could be made. As a sporadic user of go, I'm probably not the best choice. It seems that miller or 0intro are the most prolific plan9 go committers -- if they are willing. - Searchable PDFs in page: Sigrid has done some initial work on writing the basics of a pdffs; Expanding on it and implementing plain text output would be a good first step. Once plain text is done, implementing rendering would be the next step. It's an open question how to do the rendering, and whether it's worth extending libmemdraw or stealing parts of libttf as part of the project. This is a big one, and I'd be happy if we came out of it with a working pdf2text. Sigrid is the initial author, and would be the best choice to mentor, if she is willing. ------------------------------------------ 9fans: 9fans Permalink: https://9fans.topicbox.com/groups/9fans/T00b3dc89a8df295a-M574ea= b3091a832d9fd544d82 Delivery options: https://9fans.topicbox.com/groups/9fans/subscription