True… I don’t have access to any official Solaris versions prior to Solaris
10.  AFAICT Oracle has stopped giving free licenses to Solaris away.

On Fri, Oct 13, 2017 at 12:29 PM Paul B. Henson <[email protected]> wrote:

> > From: Garrett D'Amore
> > Sent: Thursday, October 12, 2017 6:43 PM
> > Because the notion of cwd for a process may differ based on how a process
> > got there, and what context it is running in, I would strongly prefer to
> see
> > that we take very careful care of this, and if we’re going to make it
> universally
> > available, then let’s do it properly via system call that takes care of
> any
> > normalization that might be necessary to account for chroot, zones, etc.
> > Stashing this away in procfs feels far less “good” to me.
> 
> I agree, it should be done "right"; I'm just arguing that it should be
> done :). As I mentioned, given the implementer, I think it probably was
> done "right" in Solaris, although I'm not sure what level of observability
> can be taken from that proprietary operating system to determine how.
> Presumably at the very least a third-party independent user could report
> what Solaris getcwd returns in various scenarios such as in a zone or
> chroot without procfs available.
> 

------------------------------------------
illumos-discuss
Archives: 
https://illumos.topicbox.com/groups/discuss/discussions/T1bf578bf66b8b8b0-M49170932845284a9db83953f
Powered by Topicbox: https://topicbox.com

Reply via email to