Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 May 1995 12:28:32 -0400
From:      Garrett Wollman <wollman@halloran-eldar.lcs.mit.edu>
To:        sven@stack.urc.tue.nl (Sven Berkvens)
Cc:        freebsd-questions@FreeBSD.org, unix@stack.urc.tue.nl
Subject:   Re: Lots of questions
Message-ID:  <9505191628.AA24973@halloran-eldar.lcs.mit.edu>
In-Reply-To: <199505191543.RAA22906@zen.stack.urc.tue.nl>
References:  <9505191502.AA24815@halloran-eldar.lcs.mit.edu> <199505191543.RAA22906@zen.stack.urc.tue.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
<<On Fri, 19 May 1995 17:43:27 +0200 (MET DST), sven@stack.urc.tue.nl (Sven Berkvens) said:

> Hmmm... Strange. I recompiled the source which came with the 2.0 RELEASE
> distribution, but to no avail - the binaries are identical.

Make sure that your /sys link and the links under /usr/include
correctly point to the sources that were used to compile the kernel,
then do a cd /usr/src/sbin/arp; make clean depend && make all;
./obj/arp -a and see if that helps.

> Not in my version... I can give you a ktrace.out which I did of a hanging
> ELM if you want. read(2) returns 0.

Hmmm.  I guess the bug was fixed while I wasn't looking.

> Any program can still connect (the mode is 666). I've tried it:

But what they can't do is change the ownership or mode.  Programs
which attempt to use ptys should perform perform the following
sequence of actions before using them:

	- open master
	- chmod
	- chown
	- revoke slave
	- open slave

It would be slightly cleaner if we supported an frevoke() call like
AIX does, but that would be rather difficult.  (frevoke() under AIX
maps to vgoneall_except_this_one() in BSD...)

-GAWollman

--
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@lcs.mit.edu  | Shashish is the bonding of hearts in spite of distance.
Opinions not those of| It is a bond more powerful than absence.  We like people
MIT, LCS, ANA, or NSA| who like Shashish.  - Claude McKenzie + Florent Vollant



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9505191628.AA24973>