Skip to content
Snippets Groups Projects
  • dcashman's avatar
    bd7f5803
    Enforce more specific service access. · bd7f5803
    dcashman authored
    Move the remaining services from tmp_system_server_service to appropriate
    attributes and remove tmp_system_server and associated logging:
    
    registry
    restrictions
    rttmanager
    scheduling_policy
    search
    sensorservice
    serial
    servicediscovery
    statusbar
    task
    textservices
    telecom_service
    trust_service
    uimode
    updatelock
    usagestats
    usb
    user
    vibrator
    voiceinteraction
    wallpaper
    webviewupdate
    wifip2p
    wifi
    window
    
    Bug: 18106000
    Change-Id: Ia0a6d47099d82c53ba403af394537db6fbc71ca0
    bd7f5803
    History
    Enforce more specific service access.
    dcashman authored
    Move the remaining services from tmp_system_server_service to appropriate
    attributes and remove tmp_system_server and associated logging:
    
    registry
    restrictions
    rttmanager
    scheduling_policy
    search
    sensorservice
    serial
    servicediscovery
    statusbar
    task
    textservices
    telecom_service
    trust_service
    uimode
    updatelock
    usagestats
    usb
    user
    vibrator
    voiceinteraction
    wallpaper
    webviewupdate
    wifip2p
    wifi
    window
    
    Bug: 18106000
    Change-Id: Ia0a6d47099d82c53ba403af394537db6fbc71ca0
shared_relro.te 569 B
# Process which creates/updates shared RELRO files to be used by other apps.
type shared_relro, domain;

# The shared relro process is a Java program forked from the zygote, so it
# inherits from app to get basic permissions it needs to run.
app_domain(shared_relro)

# Grant write access to the shared relro files/directory.
allow shared_relro shared_relro_file:dir rw_dir_perms;
allow shared_relro shared_relro_file:file create_file_perms;

# Needs to contact the "webviewupdate" and "activity" services
allow shared_relro webviewupdate_service:service_manager find;