Thanks for the reminder as I obviously tested last time with "persist.mac_applyNameTypes = true", but this time forgot and left it as "false".
I can confirm that setting "persist.mac_applyNameTypes" does work as you specify below. I've now updated the http://selinuxproject.org/page/NB_SEforAndroid_2#Allow-all_Entry page so I don't forget again. Thanks Richard --- On Mon, 17/6/13, rpcraig <[email protected]> wrote: > From: rpcraig <[email protected]> > Subject: Re: Have intent_mac.xml file <allow-all> entries changed > To: "Richard Haines" <[email protected]> > Cc: [email protected] > Date: Monday, 17 June, 2013, 12:41 > On 06/16/2013 09:49 AM, Richard > Haines wrote: > > On a previous release it was possible to use a package > name within src/dst > > <allow-all> entries as follows: > > > > <allow name="phone_to_sms" src="com.android.phone" > dst="com.android.smspush"/> > > This was only true if there was a subsequent type in the > mmac_types.xml file that was named "com.android.phone" or if > the "persist.mac_applyNameTypes" was set to true (defaults > to false). The persist.mac_applyNameTypes allowed all > packages installed to be assigned a type based on their > package name. Both the src and dst fields in the allow > stanza represent generic string types and without the > persist.mac_applyNameTypes boolean couldn't assign package > name types without someone explicitly creating a > mmac_types.xml stanza indicating so. Do you have a > commit or snapshot of the code where you believe this to be > the contrary? > > > However in the current update this is no longer > possible as it requires > > a <type name=".." /> entry from the > mmac_types.xml file, therefore the > > <allow-all> entry will be as follows: > > > > <allow name="phone_to_sms" src="telephony_app" > dst="wappush_app"/> > > > > If package names are no longer supported in these > entries then the > > currently distributed intent_mac.xml file needs to be > updated to avoid > > confusion. > > > > Richard > > > > > > -- > > This message was distributed to subscribers of the > seandroid-list mailing list. > > If you no longer wish to subscribe, send mail to [email protected] > with > > the words "unsubscribe seandroid-list" without quotes > as the message. > > -- This message was distributed to subscribers of the seandroid-list mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe seandroid-list" without quotes as the message.
