Re: Question about _BPX_SHAREAS=YES.

2025-02-25 Thread Kirk Wolf
I believe you are asking why processes that are local spawned don't have the same pid as the spawning process? With local-spawned processes, they share the same AS but they will still have different pid numbers. One reason that child processes are not locally spawned is that they are started w

Re: Question about _BPX_SHAREAS=YES.

2025-02-25 Thread Seymour J Metz
לֹ֥א יְשַׁקֵּ֖ר From: IBM Mainframe Discussion List on behalf of Colin Paice <059d4daca697-dmarc-requ...@listserv.ua.edu> Sent: Tuesday, February 25, 2025 11:14 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Question about _BPX_SHAREAS=YES. Ex

Re: Question about _BPX_SHAREAS=YES.

2025-02-25 Thread Paul Gilmartin
On Tue, 25 Feb 2025 16:14:08 +, Colin Paice wrote: > >... *What is a "*set-user-ID >program" *... and how does spawn know! > It's like AC=1 for a load module. It's in the iI-node and stat() should show it. From the command line, "ls -l" and look at the mode bits, user and group or

Question about _BPX_SHAREAS=YES.

2025-02-25 Thread Colin Paice
I'm a it fuzzy about _BPX_SHAREAS=YES and if it is working (or not) I have a shell script(s2) which prints out the pid, and parent pid. I call this from another script s1. The output from _BPX_SHAREAS=YES sh s1 _BPX_SHAREAS=NO sh s1 Both print the same parent, so it looks like it is having no eff