> But it gets stranger: if I klog -setpag, creating a PAG and a token, then 
> I can use that token in all windows governed by that dtsession.  This 
> makes me uncomfortable, because as I understood it klog -setpag should 
> create a PAG for this and all child processes like pagsh does, but 
> shouldn't be affecting parent or sibling processes. 

One thing to keep in mind about "klog -setpag".  On all platforms but
AIX, it changes your group list to include the PAG information.  It
turns out that the group list is shared amongst the entire process
group, so it will affect all the windows that are decendants of the
initial login.  (I didn't realize until recently that this was even
possible.)  I guess the pagsh command disassociates itself from the
process group before getting a new PAG. 

For some reason, klog -setpag on the AIX 3.2 platform behaves
differently.  From what I remember, it's basically a no-op.  There's a
defect open that asks to make it behave like the rest of the platforms,
but I'm not sure if it's technically feasible under AIX.  I haven't
tried it on AIX 4.1, so I can't say what happens there. 

Joe. 

Reply via email to