Skip to content
  • Niklas Brunlid's avatar
    8e0086a8
    Allow system_server to create files on configfs · 8e0086a8
    Niklas Brunlid authored
    A change in the "open" syscall between kernel 4.4 and 4.9 means that
    the "create" action is now checked and makes system_server trigger
    an SELinux denial when PackageSettings is removing a user ID from
    Settings.java/writeKernelRemoveUserLPr() in PackageManager.
    
    Bug: 70150770
    Test: Manual
    - Add a new user on the device, no need to perform setup.
    - Wait 30s
    - Remove the added user
    - While running, check the result of:
        adb logcat -v time -b events | grep audit | grep system_server
    Change-Id: I1f490ea95d5bcb2adc76cba041bffbea131b447a
    8e0086a8
    Allow system_server to create files on configfs
    Niklas Brunlid authored
    A change in the "open" syscall between kernel 4.4 and 4.9 means that
    the "create" action is now checked and makes system_server trigger
    an SELinux denial when PackageSettings is removing a user ID from
    Settings.java/writeKernelRemoveUserLPr() in PackageManager.
    
    Bug: 70150770
    Test: Manual
    - Add a new user on the device, no need to perform setup.
    - Wait 30s
    - Remove the added user
    - While running, check the result of:
        adb logcat -v time -b events | grep audit | grep system_server
    Change-Id: I1f490ea95d5bcb2adc76cba041bffbea131b447a
Loading