Re: The Case for Rust (in the base system)

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Mon, 22 Jan 2024 10:46:20 UTC
David Chisnall writes:

> I'd love to see a generic process manager in the base system 
> that subsumes devd and inetd written in Lua, [...]

Back in 386BSD+patchkit days I changed inetd(8) so that you could
write Tcl scripts in inetd.conf, and let them decide what you wanted
to happen.  It did everything tcpwrappers did, and then some.

> I'd love to see a default that anything intended to run with 
> elevated privilege is written in Lua.

Can you elaborate that one ?

Do you mean "setuid programs" or "500 root programs" ?

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.