Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 1995 08:20:50 +0200 (MET DST)
From:      J Wunsch <j@uriah.heep.sax.de>
To:        ukkonen@aphrodite.funet.fi
Cc:        hackers@freebsd.org
Subject:   Re: new getsid(2) system call for freebsd...
Message-ID:  <199507090620.IAA27669@uriah.heep.sax.de>
In-Reply-To: <199507072142.AAA00799@jau.csc.fi> from "Jukka Ukkonen" at Jul 8, 95 00:42:04 am

next in thread | previous in thread | raw e-mail | index | archive | help
As Jukka Ukkonen wrote:
> 
> 
> 	A couple of days ago I had a sudden moment of inspiration and
> 	I added an initial version of a new SVR4 style system call
> 	getsid(2) to FreeBSD.

> 	The rationale for such a new system call is first and foremost
> 	completeness and symmetry. The second reason is the fact that
> 	X/Open might begin requiring such a service in their XPG, which
> 	might become a portability issue one day. The third point is
> 	that now and then there are things that would be somewhat easier
> 	to do, if such an interface were available, and moreover it is
> 	practically impossible to do exactly the same thing in a user
> 	mode subroutine.

While i don't know about the second point (and hope that anybody else
here would comment on it), the third point is not acceptable (for me).
Writing code that relies on a specific system call that's only present
in a couple of systems is not a good idea.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199507090620.IAA27669>