Date: Mon, 9 Oct 1995 14:45:08 -0700 From: stu@cisco.com (Stu Phillips) To: Bruce Evans <bde@zeta.org.au>, pst@cisco.com Cc: hackers@freebsd.org Subject: Re: FleeBSD and XNTPD Message-ID: <v02110119ac9f465bf2eb@[171.69.60.153]>
next in thread | raw e-mail | index | archive | help
At 12:15 PM 10/9/95, Bruce Evans wrote: > >FSETOWN has never worked "right" for ttys in FreeBSD releases. It only >works for controlling terminals that are associated with the session of >the calling process. Using it may interfere with normal controlling >terminal semantics (there is only one process group associated with each >tty, so you can't arrange for SIGIO to be sent to a diferent process to >SIGHUP). Some unreleased versions between 1.1 and 1.1.5 broke the >semantics of controlling terminals to fix xntpd. > Agreed but doesn't this apply to terminal devices to which there is already attached a controlling terminal ? In this instance there is nothing hanging on the terminal device at all - ie no login shell or similar. Shouldn't the rejection of the attempt be made iff there is already a process marked as the controlling process ? The xntpd process is run from a pty and is attempting to attach to a serial port (the dreaded com2) in order to access the GPS receiver. >>> Spent a frustrating weekend trying to get one of the clock drivers for >>> XNTPD working - of course, to hook up my GPS using NMEA as a first pass >>> to determine just what level of accuracy it might produce. > >I thought that this was fixed at least in the dcf clock driver, but since >`TIOCSCTTY' doesn't occur in any of the xntpd source files in -current, >I don't see how any of the clock drivers can have a controlling terminal. See above - how would a process get itself marked as the recipient of the signal without being able to use F_SETMODE or TICGSPGP (both of which should map to the same thing) ? Sorry if this is a dumb question.... but after all, look at my .sig :-) Stu ---------------------------------------------------------------------------- Stu Phillips | Phone: (408) 526-5172 Vice-President, Central Engineering | Fax: (408) 526-4952 Cisco Systems, Inc. | 170 West Tasman Drive | San Jose, CA 95134-1706 | Email: stu@cisco.com ----------------------------------------------------------------------------
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?v02110119ac9f465bf2eb>