Home | History | Annotate | Download | only in public
      1 type asan_reboot_prop, property_type;
      2 type audio_prop, property_type, core_property_type;
      3 type boottime_prop, property_type;
      4 type bluetooth_prop, property_type;
      5 type config_prop, property_type, core_property_type;
      6 type cppreopt_prop, property_type, core_property_type;
      7 type ctl_bootanim_prop, property_type;
      8 type ctl_bugreport_prop, property_type;
      9 type ctl_console_prop, property_type;
     10 type ctl_default_prop, property_type;
     11 type ctl_dumpstate_prop, property_type;
     12 type ctl_fuse_prop, property_type;
     13 type ctl_mdnsd_prop, property_type;
     14 type ctl_rildaemon_prop, property_type;
     15 type dalvik_prop, property_type, core_property_type;
     16 type debuggerd_prop, property_type, core_property_type;
     17 type debug_prop, property_type, core_property_type;
     18 type default_prop, property_type, core_property_type;
     19 type device_logging_prop, property_type;
     20 type dhcp_prop, property_type, core_property_type;
     21 type dumpstate_options_prop, property_type;
     22 type dumpstate_prop, property_type, core_property_type;
     23 type ffs_prop, property_type, core_property_type;
     24 type fingerprint_prop, property_type, core_property_type;
     25 type firstboot_prop, property_type;
     26 type hwservicemanager_prop, property_type;
     27 type logd_prop, property_type, core_property_type;
     28 type logpersistd_logging_prop, property_type;
     29 type log_prop, property_type, log_property_type;
     30 type log_tag_prop, property_type, log_property_type;
     31 type mmc_prop, property_type;
     32 type net_dns_prop, property_type;
     33 type net_radio_prop, property_type, core_property_type;
     34 type nfc_prop, property_type, core_property_type;
     35 type overlay_prop, property_type;
     36 type pan_result_prop, property_type, core_property_type;
     37 type persist_debug_prop, property_type, core_property_type;
     38 type persistent_properties_ready_prop, property_type;
     39 type powerctl_prop, property_type, core_property_type;
     40 type radio_prop, property_type, core_property_type;
     41 type restorecon_prop, property_type, core_property_type;
     42 type safemode_prop, property_type;
     43 type serialno_prop, property_type;
     44 type shell_prop, property_type, core_property_type;
     45 type system_prop, property_type, core_property_type;
     46 type system_radio_prop, property_type, core_property_type;
     47 type vold_prop, property_type, core_property_type;
     48 type wifi_log_prop, property_type, log_property_type;
     49 type wifi_prop, property_type;
     50 
     51 allow property_type tmpfs:filesystem associate;
     52 
     53 ###
     54 ### Neverallow rules
     55 ###
     56 
     57 # core_property_type should not be used for new properties or
     58 # device specific properties. Properties with this attribute
     59 # are readable to everyone, which is overly broad and should
     60 # be avoided.
     61 # New properties should have appropriate read / write access
     62 # control rules written.
     63 
     64 neverallow * {
     65   core_property_type
     66   -audio_prop
     67   -config_prop
     68   -cppreopt_prop
     69   -dalvik_prop
     70   -debuggerd_prop
     71   -debug_prop
     72   -default_prop
     73   -dhcp_prop
     74   -dumpstate_prop
     75   -ffs_prop
     76   -fingerprint_prop
     77   -logd_prop
     78   -net_radio_prop
     79   -nfc_prop
     80   -pan_result_prop
     81   -persist_debug_prop
     82   -powerctl_prop
     83   -radio_prop
     84   -restorecon_prop
     85   -shell_prop
     86   -system_prop
     87   -system_radio_prop
     88   -vold_prop
     89 }:file no_rw_file_perms;
     90