POSIX(ON) vs POSIX(OFF) coexistence is a constant PITA. There are two separate LE environments, why in the world can't they each have their own POSIX-ness? For example: Try to run an LE program as an ISPF dialog with POSIX(ON) and you'll find that it is impossible.
Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Mar 17, 2016 at 9:05 AM, Robin Atwood <abend...@gmail.com> wrote: > Now I have hit the problem I thought might be lurking. The module I fixed > before with the POSIX(ON) pragma is the listener. It attaches a number of > worker tasks it givesockets an incoming session to. When the worker does > its takesocket it must then do a gsk_secure_socket_open() to start the SSL > handshake. This failed with a EDC5167I so I added the POSIX(ON) pragma. > Restarting, the STC immediately failed in a call to BPX1MSS, rc=156, rsn= > 0D070201, which means: > > JRAlreadySigSetUp: BPX1MSS found the process already set up for signals > Action: Only one task can be set up for signals at any one time. Issue the > signal unset (BPX1MSD) service on the task that did the last setup and then > reissue this service. > > So it seems I can only have POSIX(ON) in one TCB? That's a bit of a > showstopper. :( > > Thanks > Robin > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Charles Mills > Sent: 14 March 2016 21:24 > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Linking C module with SSL > > Yup ... > > Be aware that changing to POSIX(ON) will introduce other subtle changes in > behavior. For example, fopen()'s decision on what is a legacy dataset and > what is a UNIX file changes. I was surprised to see that DD:SYSPRINT was > now the name of a new UNIX file and happily created it under /u/! Really. > > > Is this telling me SSL can only be used under USS? > > Yes, but realize that USS is z/OS, and you can have a program that runs > from conventional JCL and looks externally like it could have been written > in 1970 that in fact "runs under USS." > > Charles > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Robin Atwood > Sent: Monday, March 14, 2016 2:40 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: Linking C module with SSL > > Thanks. I had just spotted Charles's post back in 2012 with the same > problem and used a pragma. Now the init function fails with 202 (KEYRING > OPEN ERROR) but that looks like an admin problem. :) > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, send email > to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN