Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 1995 12:37:40 -0700 (PDT)
From:      Julian Elischer <julian@ref.tfs.com>
To:        joerg_wunsch@uriah.heep.sax.de
Cc:        ukkonen@aphrodite.funet.fi, hackers@freebsd.org
Subject:   Re: new getsid(2) system call for freebsd...
Message-ID:  <199507091937.MAA10453@ref.tfs.com>
In-Reply-To: <199507090620.IAA27669@uriah.heep.sax.de> from "J Wunsch" at Jul 9, 95 08:20:50 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.

I notice however that systems that are moving towards posix
are all implimenting this..
(osf and solaris to name two)
I assume therefore (not having POSIX docs) that it might be 
1/ common
2/ required

terry? you have posix docs?



julian



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