*BSD News Article 10766


Return to BSD News archive

Received: by minnie.vk1xwt.ampr.org with NNTP
	id AA636 ; Sat, 06 Feb 93 13:00:23 EST
Path: sserve!manuel.anu.edu.au!munnari.oz.au!spool.mu.edu!olivea!uunet!emba-news.uvm.edu!sadye.emba.uvm.edu!wollman
From: wollman@sadye.emba.uvm.edu (Garrett Wollman)
Newsgroups: comp.unix.bsd
Subject: Re: SYS_getdomainname error (using getdomainname patch)
Message-ID: <1993Jan31.194843.20328@uvm.edu>
Date: 31 Jan 93 19:48:43 GMT
References: <1ka4e3INNi4p@hrd769.brooks.af.mil> <1993Jan29.174916.15369@fcom.cc.utah.edu> <1kbounINN1fh@hrd769.brooks.af.mil>
Sender: news@uvm.edu
Organization: University of Vermont, EMBA Computer Facility
Lines: 15

One thing I don't understand in all this is, why should this even be a
system call?  (Maybe I should ask Sun, since it's their idea...)  I
can't see any reason whatsoever why this shouldn't be implemented as
simple library functions that read and write a file (say,
/etc/domainname, or even better /etc/resolv.conf when possible).  I
have always believed in the rule that ``if it can reasonably be
implemented in the library, then it has no business in the kernel.''

-GAWollman

-- 
Garrett A. Wollman   | Shashish is simple, it's discreet, it's brief. ... 
wollman@emba.uvm.edu | Shashish is the bonding of hearts in spite of distance.
uvm-gen!wollman      | It is a bond more powerful than absence.  We like people
UVM disagrees.       | who like Shashish.  - Claude McKenzie + Florent Vollant