master/slave translators (was IPv6)

2000-09-13 Thread Kalle Niemitalo
On Wed, Sep 13, 2000 at 10:44:18AM +0200, Mark Kettenis wrote:
 There is a possible race when
 both passive translators are activated simultaniously and I'm not 100%
 sure the mechanism used by /hurd/term protects against that.

Would it be better to set up the nodes as master and slave too?

- An application opens the slave node.
- The file system starts the translator of the slave node.
- The slave translator opens the master node.
- The file system starts the translator of the master node.
- The master translator sets itself as the active translator of the slave
  node, but does not kill the slave process.
- The slave translator now has a send right to the master translator.
- The slave translator asks the master translator to take over listening
  to the port which the application got when it opened the slave node.
- The master translator says ok, and starts serving the application.
- The slave translator exits.

Is this doable and free of races?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: About addauth and security.

2000-09-04 Thread Kalle Niemitalo
On Mon, Sep 04, 2000 at 11:12:31AM +0400, Nalim wrote:
 I've seen addauth program. As I
 understand user can add new privileges
 himself. But it is dangerous for
 security. Am I wrong?

IIRC, if the addauth process doesn't have the privileges you're adding to
another process, it tries to get them from the password server.  For that
to work, you need to know the password of the user whose rights you're
giving to a process.  So no danger there.

I'm more worried about the other program (was it called rmauth?) which
lets you remove rights from processes.  Setuid programs often temporarily
switch to the real UID before accessing user-specified files etc..  Now
what happens if you remove your own UID from the program so that the
switch fails?  Are programs written to notice that?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: debconf dont want to configure itself

2000-08-02 Thread Kalle Niemitalo
On Wed, Aug 02, 2000 at 11:54:50AM +0200, Tomasz Wegrzanowski wrote:
 debconf: failed to initialize frontend: Dialog
 debconf: falling back to frontend: Slang
 debconf: failed to initialize frontend: Slang

I once hit this too.  I ended up modifying some debconf source file so
that it fell back to the text frontend, which worked.




Re: Debian.org domain

2000-05-03 Thread Kalle Niemitalo
On Wed, May 03, 2000 at 09:11:16AM +0200, [EMAIL PROTECTED] wrote:

 I was wondering why the HURD project has no domainname. It seems
 hurd.org is registered by someone in Istanbul, is he somebody of the
 HURD people?!?

This has been asked before.  See the thread at:
http://www.debian.org/Lists-Archives/debian-hurd-9912/msg00073.html



Re: GRUB 0.5.93.1 boot floppy released

1999-11-20 Thread Kalle Niemitalo
On Sat, Nov 20, 1999 at 12:15:51AM +, Tomasz Wegrzanowski wrote:
 Does any mirror of ftp://alpha.gnu.org/ exists ?

Here in Finland: ftp://ftp.funet.fi/pub/mirrors/alpha.gnu.org/
I don't know about others.

You could try browsing the sites on the ftp.gnu.org mirror list
(http://www.gnu.org/order/ftp.html); perhaps some of them mirror
alpha.gnu.org too.