Skip to content
Snippets Groups Projects
Select Git revision
  • android-7.1.2_r28_klist
  • master default protected
  • pie-cts-release
  • pie-vts-release
  • pie-cts-dev
  • oreo-mr1-iot-release
  • sdk-release
  • oreo-m6-s4-release
  • oreo-m4-s12-release
  • pie-release
  • pie-r2-release
  • pie-r2-s1-release
  • oreo-vts-release
  • oreo-cts-release
  • oreo-dev
  • oreo-mr1-dev
  • pie-gsi
  • pie-platform-release
  • pie-dev
  • oreo-cts-dev
  • android-o-mr1-iot-release-1.0.4
  • android-9.0.0_r8
  • android-9.0.0_r7
  • android-9.0.0_r6
  • android-9.0.0_r5
  • android-8.1.0_r46
  • android-8.1.0_r45
  • android-n-iot-release-smart-display-r2
  • android-vts-8.1_r5
  • android-cts-8.1_r8
  • android-cts-8.0_r12
  • android-cts-7.1_r20
  • android-cts-7.0_r24
  • android-o-mr1-iot-release-1.0.3
  • android-cts-9.0_r1
  • android-8.1.0_r43
  • android-8.1.0_r42
  • android-n-iot-release-smart-display
  • android-p-preview-5
  • android-9.0.0_r3
40 results

AndroidSystemSEPolicy

  • Clone with SSH
  • Clone with HTTPS
  • user avatar
    mukesh agrawal authored
    Previously, we'd restricted WifiService's use of
    the kernel's tracing feature to just userdebug_or_eng
    builds.
    
    This restriction was in place because the feature
    had not yet been reviewed from a privacy perspective.
    Now that the feature has passed privacy review, enable
    the feature on all builds.
    
    Note that other safeguards remain in place (on all
    builds):
    - The set of events to be monitored is configured by
      init, rather than WifiService (part of system_server).
      This privilege separation prevents a compromised
      system_server from tracing additional information.
    - The trace events are kept only in RAM, until/unless
      WifiService receives a dump request. (This would happen,
      for example, in the case of adb dumpsys, or generating
      a bugreport.)
    
    Bug: 35679234
    Test: manual (see below)
    
    Manual test details:
    - flash device
    - connect device to a wifi network
    $ adb shell dumpsys wifi | grep rdev_connect
      [should see at least one matching line]
    
    Change-Id: I85070054857d75177d0bcdeb9b2c95bfd7e3b6bc
    723364f1
    History
    Name Last commit Last update