Bug 3774

Summary: ProcBlock's isOwned code doesn't work
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Nurdin Premji <npremji>
Status: RESOLVED FIXED    
Severity: normal CC: npremji
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2244    

Description Andrew Cagney 2006-12-20 18:54:40 UTC
The ProcBloc observer is trying to use the condtion:

    boolean isOwned = proc.getUID() == Manager.host.getSelf().getUID()
                      || proc.getGID() == Manager.host.getSelf().getGID();

to determine if an attach will work.

This does not work.

The code needs to instead always attempt the observer add, if the attempt fails
the core will notify with a failure and that failure should be propogated back
to the client
Comment 1 Nurdin Premji 2006-12-20 20:55:38 UTC
Fixed:

December 20, 2006
frysk-core/frysk/proc/CL
	* ProcBlockAction.java (ProcBlockAction): Removed isOwned check as per 
	bug 3774.