Re: Need advice: writing a char driver

H. Peter Anvin (hpa@freya.yggdrasil.com)
19 Feb 1996 23:03:39 GMT


Followup to: <199602191659.QAA11052@snowcrash.cymru.net>
By author: Alan Cox <alan@cymru.net>
In newsgroup: linux.dev.kernel
>=20
> We already have this problem with the printer and the PLIP driver. A =
scheme
> for arbitrating the port would be very useful (maybe even a tty like
> 'line disicipline').
>=20

The line dicipline abstraction would only be useful if loFrom owner-linux-kernel-outgoing@vger.rutgers.edu Tue Feb 20 07:12:42 1996
Received: from orchard.washtenaw.cc.mi.us (orchard.washtenaw.cc.mi.us [198.111.176.4]) by herbie.ucs.indiana.edu (8.6.12/8.6.12) with ESMTP id HAA03334 for <linuxkernel@herbie.ucs.indiana.edu>; Tue, 20 Feb 1996 07:12:41 -0500
Received: from vger.rutgers.edu by orchard.washtenaw.cc.mi.us (8.6.10/2.3)
with ESMTP id GAA28509; Tue, 20 Feb 1996 06:48:03 -0500
Received: by vger.rutgers.edu id <55747-16894>; Tue, 20 Feb 1996 05:57:32 -0500
To: submit-linux-dev-kernel@ratatosk.yggdrasil.com
Path: rzstud1.rz.uni-karlsruhe.de!ukd1
From: ukd1@rzstud1.rz.uni-karlsruhe.de (Bernd Eckenfels)
Newsgroups: linux.dev.kernel
Subject: Re: securityhole /proc/sys/kernel/domainname
Date: 20 Feb 1996 05:41:17 GMT
Organization: University of Karlsruhe, Germany
Lines: 13
Message-Id: <4gbmtt$pl2@nz12.rz.uni-karlsruhe.de>
References: <4g34cn$aoj@miriam.fuller.edu> <Pine.LNX.3.91.960218152331.347C-100000@warez.rhoen.de> <4g9o0v$noo@miriam.fuller.edu> <4gb6fu$hd7@nz12.rz.uni-karlsruhe.de> <4gb9dv$qs9@miriam.fuller.edu>
Nntp-Posting-Host: rzstud1.rz.uni-karlsruhe.de
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7BIT
Nntp-Posting-User: ukd1
X-Newsreader: TIN [version 1.2 PL2]
X-Submitted-Via: news@ratatosk.yggdrasil.com (linux.* gateway)
Sender: owner-linux-kernel@vger.rutgers.edu
Precedence: bulk

Christoph Lameter (clameter@miriam.fuller.edu) wrote:
> Is there any reason why a regular user process would need getdomainname()?

any process calling getpw* needs that. A simple "ls" on a directory would
fail to print the UIDs.

Greetings
Bernd

-- 
  (OO)      -- Bernd_Eckenfels@Wittumstrasse13.76646Bruchsal.de --
 ( .. )  ecki@lina.{inka.de,ka.sub.org}  http://home.pages.de/~eckes/
  o--o     *plush*  2048/93600EFD  eckes@irc  +4972573817  *plush*
(O____O)       If privacy is outlawed only Outlaws have privacy