Bug 3647

Summary: MapsBuilder does not expose Shared flag
Product: frysk Reporter: Phil Muldoon <pmuldoon>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2243    

Description Phil Muldoon 2006-12-04 20:57:39 UTC
The private flag that is now exposed can be 

empty|private|shared

Need to expose a boolean through the the Builder than exposes the shared flag is
neither private or unset is true.
Comment 1 Phil Muldoon 2006-12-08 05:11:05 UTC
2006-12-07  Phil Muldoon  <pmuldoon@redhat.com>
	
	* TestMaps.java: Add permShared flag
	* MapsBuilder.java: Ditto.
	* cni/MapsBuilder.cxx (construct): Add
	permShared check and flag.
Comment 2 Phil Muldoon 2006-12-08 15:50:54 UTC
The fix is unsatisfactory given that the flag can be unset|shared|private
Comment 3 Andrew Cagney 2007-02-02 18:11:05 UTC
Private and shared are mutually exclusive, this removes private leaving shared.

Index: frysk-core/frysk/rt/ChangeLog
2007-02-02  Andrew Cagney  <cagney@redhat.com>

        * TestStackBacktrace.java: Update to match
        frysk.sys.proc.MapsBuilder change, permPrivate removed.

Index: frysk-core/frysk/util/ChangeLog
2007-02-02  Andrew Cagney  <cagney@redhat.com>

        * CoredumpAction.java: Update to match frysk.sys.proc.MapsBuilder
        change, permPrivate removed.
        * TestFCore.java: Ditto.

Index: frysk-imports/frysk/sys/proc/ChangeLog
2007-02-02  Andrew Cagney  <cagney@redhat.com>

        * MapsBuilder.java (buildMap): Delete parameter permPrivate,
        rename permShared to shared.
        * TestMaps.java: Update.

Doing it as an ENUM is a nice to have once there's java 1.5.