Skip to content
Snippets Groups Projects
  • Alex Klyubin's avatar
    7f468994
    Grant rild and gatekeeperd access to hwservicemanager · 7f468994
    Alex Klyubin authored
    In my commit f41d89eb I forgot to
    switch rild and gatekeeperd rules from explicitly associating these
    domains with the hal_telephony and hal_gatekeeper to using the
    hal_impl_domain macro. As a result, the recent commit
    a2519226 inadvertently revoked
    HwBinder access from rild and gatekeeperd.
    
    This commit fixes the issue by switching rild and gatekeeperd to the
    hal_impl_domain macro.
    
    Test: "sepolicy-analyze out/target/product/bullhead/root/sepolicy attribute haldomain"
          now lists rild and gatekeeperd
    Test: "sepolicy-analyze out/target/product/bullhead/root/sepolicy attribute hal_telephony"
          still lists rild
    Test: "sepolicy-analyze out/target/product/bullhead/root/sepolicy attribute hal_gatekeeper"
          still lists gatekeeperd
    Bug: 34180936
    Bug: 34470443
    Change-Id: I7949556f58c36811205d5ea3ee78ea5708e95b45
    7f468994
    History
    Grant rild and gatekeeperd access to hwservicemanager
    Alex Klyubin authored
    In my commit f41d89eb I forgot to
    switch rild and gatekeeperd rules from explicitly associating these
    domains with the hal_telephony and hal_gatekeeper to using the
    hal_impl_domain macro. As a result, the recent commit
    a2519226 inadvertently revoked
    HwBinder access from rild and gatekeeperd.
    
    This commit fixes the issue by switching rild and gatekeeperd to the
    hal_impl_domain macro.
    
    Test: "sepolicy-analyze out/target/product/bullhead/root/sepolicy attribute haldomain"
          now lists rild and gatekeeperd
    Test: "sepolicy-analyze out/target/product/bullhead/root/sepolicy attribute hal_telephony"
          still lists rild
    Test: "sepolicy-analyze out/target/product/bullhead/root/sepolicy attribute hal_gatekeeper"
          still lists gatekeeperd
    Bug: 34180936
    Bug: 34470443
    Change-Id: I7949556f58c36811205d5ea3ee78ea5708e95b45