Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Jeff Odom <zeus@jhu.edu>
Subject: lpd memory violations
Date: Sat, 30 Nov 1996 19:12:17 -0500 (EST)	[thread overview]
Message-ID: <c99382215c69d066df299d6ec63955cd.axp-list@archive.invalid> (raw)

Does anyone know what the format of __ivaliduser is? It seems that under
RH 4.0, lpd calls __ivaliduser to check if a host is in either
/etc/hosts.equiv or /etc/hosts.lpr. The way it calls it is:

__ivaliduser(fd, hostname, DUMMY, DUMMY, baselen)

where fd is the file descriptor of either file, hostname is the remote
machine's full name, and baselen is the length of the machine's short name
(i.e. "foo" in foo.bar.gov).

It looks like lpd expects __ivaliduser to return 0 if the hostname is
found in one of the files.  However, when called, all it gives is a line
that goes something like:

memory violation at pc=155556bfa20 rp=155556beba0 (bad address = 00000000)

and then dumps a core.  I can bypass this by putting in my own routine, of
course, but that's not exactly the best fix. I'd really like to know what
the fields are that DUMMY fills in, too...

Jeff

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

             reply	other threads:[~1996-12-01  0:12 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-12-01  0:12 Jeff Odom [this message]
     [not found] <Pine.LNX.3.95.961130190432.5883B-100000@wehsal.mb.jhu.edu>
1996-12-01 22:22 ` lpd memory violations Michal Jaegermann
1996-12-02  3:51   ` Jeff Odom
  -- strict thread matches above, loose matches on Subject: below --
1996-12-02  4:28 Przemek Klosowski
1996-12-02 15:48 Przemek Klosowski
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