[stunnel-users] Solaris: new_context, makecontext

Alexander Lazic al-stunnel at none.at
Mon Nov 7 23:46:28 CET 2005


On Mon 07.11.2005 19:09, Michal Trojnara wrote:
>
>Who uses Solaris x86?

I think much person then we know ;-)

If you need help, we use sol10 x86 with:

---
gcc --version
gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# uname -a
SunOS host 5.10 Generic_118844-20 i86pc i386 i86pc
---

I don't know if you know these links:

http://docs.sun.com/app/docs/doc/816-5168/6mbb3hrdg?q=makecontext&a=view
---from the notes at the bottom
.
.
.
The semantics of the uc_stack member of the ucontext_t structure have
changed as they apply to inputs to makecontext(). Prior to Solaris 10,
the ss_sp member of the uc_stack structure represented the high memory
address of the area reserved for the stack. The ss_sp member now
represents the base (low memory address), in keeping with other uses of
ss_sp.

This change in the meaning of ss_sp is now the default behavior. The
-D__MAKECONTEXT_V2_SOURCE compilation flag used in Solaris 9 update
releases to access this behavior is obsolete.
.
.
.
---

And here are the hole man-Sections:
http://docs.sun.com/app/docs?q=makecontext&p=coll%2F40.10

Solaris 10 Software Developer Collection:
http://docs.sun.com/app/docs/coll/45.20

Hth

Aleks



More information about the stunnel-users mailing list