Skip to content
Snippets Groups Projects
  1. Mar 24, 2018
    • Chenbo Feng's avatar
      Allow system server to access bpf fs · 88ef20aa
      Chenbo Feng authored
      The permission to allow system_server to access sys/fs/bpf/ directory
      is missing. Add it back so it can get the bpf maps from the bpf_fs.
      
      Test: device boot and no more denial information of system_server try to
      searcg in fs_bpf
            atest android.net.cts.TrafficStatsTest
      Bug: 75285088
      
      Change-Id: I1040cde6c038eccc4e91c69a10b20aa7a18b19f6
      (cherry picked from aosp commit f83bbd17)
      88ef20aa
  2. Mar 23, 2018
  3. Mar 22, 2018
  4. Mar 21, 2018
    • Fyodor Kupolov's avatar
    • Chenbo Feng's avatar
      Allow netd to setup xt_bpf iptable rules · 68ef8c07
      Chenbo Feng authored
      To better record the network traffic stats for each network interface.
      We use xt_bpf netfilter module to do the iface stats accounting instead
      of the cgroup bpf filter we currently use for per uid stats accounting.
      The xt_bpf module will take pinned eBPF program as iptables rule and run
      the program when packet pass through the netfilter hook. To setup the
      iptables rules. netd need to be able to access bpf filesystem and run the
      bpf program at boot time. The program used will still be created and
      pinned by the bpfloader process.
      
      Test: With selinux enforced, run "iptables -L -t raw" should show the
      xt_bpf related rule present in bw_raw_PREROUTING chain.
      Bug: 72111305
      
      Change-Id: I11efe158d6bd5499df6adf15e8123a76cd67de04
      (cherry picked from aosp commit 5c95c168)
      68ef8c07
    • TreeHugger Robot's avatar
      Merge changes from topic "odm-sepolicy" into pi-dev · f11b164a
      TreeHugger Robot authored
      * changes:
        Add /odm/etc/selinux/odm_mac_permissions.xml
        Add /odm/etc/selinux/odm_hwservice_contexts
        Add /odm/etc/selinux/odm_property_contexts
        Add /odm/etc/selinux/odm_seapp_contexts
        Add /odm/etc/selinux/odm_file_contexts
        Add /odm/etc/selinux/odm_sepolicy.cil
      f11b164a
    • Fyodor Kupolov's avatar
      Added SELinux policy for BinderCallsStatsService · 624dc30d
      Fyodor Kupolov authored
      Test: manual
      Bug: 75318418
      Merged-In: I700c1b8b613dba1c99f4fbffdd905c0052c1b2e7
      Change-Id: I700c1b8b613dba1c99f4fbffdd905c0052c1b2e7
      624dc30d
  5. Mar 20, 2018
  6. Mar 19, 2018
  7. Mar 18, 2018
  8. Mar 16, 2018
    • TreeHugger Robot's avatar
    • padarshr's avatar
      Init: Enable init to relabel symlinks for recovery_block_device. · ecab4010
      padarshr authored
      Allow init the ability to relabel recovery block devices. In the case
      where we have recovery as a chain partition, due to its presence in
      early mount node, init, in first stage itself would require relabel
      permissions for the restorecon operation on recovery block device.
      
      Bug: 73642793
      Test: On bootup, recovery partition gets the appropriate se-label.
            Perform OTA on non-A/B device with recovery as chain partition,
            now the recovery partition gets upgraded successfully, now that
            it has the correct se-label.
      
      Change-Id: I370c510320e78ab78c9c55573073415b4983d0f6
      Merged-In: I370c510320e78ab78c9c55573073415b4983d0f6
      (cherry picked from commit bc14ee3c)
      ecab4010
    • Bowgo Tsai's avatar
      Mark some odm properties as vendor-init-settable · 98d5c1f5
      Bowgo Tsai authored
      Bug: 64195575
      Test: boot a device
      
      Change-Id: I7f7deb5e2c5c6e0a75cf22eb610a7973b5be0d7e
      Merged-In: I7f7deb5e2c5c6e0a75cf22eb610a7973b5be0d7e
      (cherry picked from commit a47a1c25)
      98d5c1f5
  9. Mar 13, 2018
    • Jaekyun Seok's avatar
      Allow vendor-init-settable to ro.enable_boot_charger_mode · 0630c7d9
      Jaekyun Seok authored
      vendor-init-settable should be allowed to ro.enable_boot_charger_mode so
      that SoC vendors can set its default value.
      
      Bug: 74421250
      Test: succeeded building and tested with taimen
      Change-Id: I2859aab29fefb7882989413a089b0de55142d2f1
      Merged-In: I2859aab29fefb7882989413a089b0de55142d2f1
      (cherry picked from commit 46bc518c)
      0630c7d9
Loading