See the write up on _BPX_SHAREAS in BPX1SPN and how _BPX_SHAREAS=YES/MUST
affects local spawn with the sticky bit is set.
Kirk Wolf
Dovetailed Technologies
http://dovetail.com
On Fri, Aug 25, 2017 at 12:52 AM, Peter Hunkeler wrote:
> >on z/OS the sticky bit on an executable file affects how a
>on z/OS the sticky bit on an executable file affects how a spawn() and
>_BPX_SHAREAS works.
It mainly affects where the loader starts looking for the program to be loaded,
namely LPA. Its a performance thing in the first place. Then, for some reason
unknown to me, IBM had to decide that such
on z/OS the sticky bit on an executable file affects how a spawn() and
_BPX_SHAREAS works.
Its kind of a hack (mess).
Kirk Wolf
Dovetailed Technologies
http://dovetail.com
On Thu, Aug 24, 2017 at 12:06 AM, Peter Hunkeler wrote:
> >1. The problem with IDz was real and solved by change the permi
>1. The problem with IDz was real and solved by change the permissions.
To me this is not a solution rather a circumvention to the real problem. No
process should recognize the difference in calling, i.e. fork()/exec() or
spawn(), a UNIX binary having or not having the sticky bit set.
If iDZ
W dniu 2017-08-23 o 12:52, Peter Hunkeler pisze:
A little bit of explanations.
I asked the question, because I found discrepancy in the permissions.
Who, how, when, and why changed the permissions - I don't know, that's
another story. However the system seemed to work properly with r-x on
/bin/
>A little bit of explanations.
I asked the question, because I found discrepancy in the permissions.
Who, how, when, and why changed the permissions - I don't know, that's
another story. However the system seemed to work properly with r-x on
/bin/sh. The problem occured during installation of some
>Admittedly, I have not tried turning off the Sticky Bit in order to execute
>file sh in the /bin directory, so perhaps it would still function properly.
Sure it will, at least as long as the file /bin/sh is the real shell binary,
aka load module. It's a performance penalty, only, since the shel
1755, the shell has the sticky bit set by IBM's installation default.
--
Peter Hunkeler
Von: ITschak Mugzach An:
IBM-MAIN@LISTSERV.UA.EDU Betreff: Re: permissions to /bin/sh Datum: 21.08.17,
11:34
0755 or less
בתאריך 21 באוג 2017 11:12, "R.S." כתב:
> What is de