Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Tonym@datel.demon.co.uk (Anthony McConnell)
Subject: xntpd and pseudo terminals on dunix 4.0b
Date: 1997/03/04	[thread overview]
Message-ID: <857463083snz@datel.demon.co.uk> (raw)


Digital Unix 4.0b

We have an application that contains a driver for a reference clock; this 
application driver performs important functionality that cannot be removed
or extensively rewritten. We want this driver to interface via a pseudo
terminal to the xntpd driver accessed by /dev/wwvb1. We plan to convert our
time signals into ones expected by xntpd on that device.

First of all we tried a named pipe (created in /dev by "mknod wwvb1 p"). 
Understandably, this failed as the xntpd code contains a section that 
obtains termio settings for the device and since it isn't a character 
special device, this fails.

Then we tried to use the master/slave arrangement provided by pseudo terminals.
This, however, fails because xntpd cannot perform a setuid ioctl on the 
pseudo terminal (we link the tty part to /dev/wwvb1).

We've tried setting all the ownership bits on xntpd and the pseudo terminal 
tty to the same values but it still refuses to work.

Anybody got any ideas!!!

-- 

Anthony McConnell




                 reply	other threads:[~1997-03-04  5:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox