9fans archive / 1998 / 11 / 95 /    prev next

From: steve_kilbane@ceg... steve_kilbane@ceg...
Subject: [9fans] removing a name from the name space
Date: Thu, 19 Nov 1998 12:13:23 +0000

On 19/11/98 09:18:25 Richard Uhtenwoldt  wrote:

> why would one want to do that?  well, suppose that I
> want to run a game that does not need the network.
> before I run the game, I remove the file that "exports"
> (terminology?) the network interface from the game's
> namespace so that it impossible for the game to act as a
> trojan horse.  so, it is useful for security reasons.

Wrong way round. You create a new namespace, using rfork(), and only attach
to it the parts of the system that you need. See the ftp and http servers
for examples.

steve