platform_system_sepolicy/private
Handa Wang 8612e80d18 allow ot_daemon to read/write sockets shared by system_server
system_server creates an ICMPv6 socket and send it to ot_daemon via ParcelFileDescriptor. ot_daemon will use that socket to send/receive ICMPv6 messages.

Here's how the socket is created in System Server:
int sock = socket(AF_INET6, SOCK_RAW, IPPROTO_ICMPV6);

Bug: 294486086

Security consultation bug: 296809188

Test: Verified on a cuttlefish

Change-Id: I9d479c9da01187a0e476591f447f7199ecb3a409
2023-09-22 02:18:46 +00:00
..
compat Merge "[Thread] add sepolicy rules for Thread system service" into main 2023-08-24 06:42:08 +00:00
access_vectors Add SELinux Policy For io_uring 2023-01-27 11:44:59 -05:00
adbd.te Blocks untrusted apps to access /dev/socket/mdnsd from U 2023-01-20 15:25:46 +09:00
aidl_lazy_test_server.te
apex_test_prepostinstall.te
apexd.te Introduce vendor_apex_metadata_file 2023-06-05 17:17:51 +09:00
apexd_derive_classpath.te Allow apexd to call derive_classpath binary 2021-10-28 16:27:09 +01:00
app.te Merge "Allow typical app domains to measure fs-verity on data file" into main 2023-08-15 14:23:23 +00:00
app_neverallows.te Merge changes from topic "iso_compute" 2023-02-01 17:33:59 +00:00
app_zygote.te Merge "Allow app_zygote to map memfd backed memeory as PROT_EXEC" 2023-06-15 08:44:16 +00:00
art_boot.te Give art_boot explicit access to experiment flags. 2023-05-16 16:20:50 +01:00
artd.te Allow vendor_overlay_file from vendor apex 2023-06-09 13:43:11 +09:00
asan_extract.te
atrace.te atrace: don't audit debugfs access 2023-06-07 20:29:47 +00:00
attributes Create sdk_sandbox_all. 2023-05-09 15:11:39 +00:00
audioserver.te Add SELinux policy for accessing the AudioService 2022-07-27 12:11:50 +00:00
auditctl.te
automotive_display_service.te Revert^2 "Updates sepolicy for EVS HAL" 2022-02-10 17:21:54 +00:00
binderservicedomain.te Allow service managers access to apex data. 2022-09-23 21:33:58 +00:00
blank_screen.te
blkid.te
blkid_untrusted.te
bluetooth.te Allow Bluetooth stack to read security log sysprop 2022-05-25 21:05:02 +00:00
bluetoothdomain.te
bootanim.te Label /data/misc/bootanim with bootanim_data_file. 2023-07-25 23:33:30 +00:00
bootstat.te
boringssl_self_test.te
bpfdomain.te refactor: get_prop(bpfdomain, bpf_progs_loaded_prop) 2023-01-06 10:09:33 +00:00
bpfloader.te netd/netutils_wrapper/network_stack/system_server - allow getattr on bpf progs/maps 2023-03-28 03:11:42 +00:00
bufferhubd.te
bug_map Remove netd entries in bug_map 2023-03-22 10:02:37 +11:00
cameraserver.te Adds GPU sepolicy to support devices with DRM gralloc/rendering 2022-04-18 17:30:56 -07:00
canhalconfigurator.te SEPolicy for AIDL CAN HAL 2022-12-09 11:00:10 -08:00
charger.te Add charger_type. 2021-11-05 18:44:04 -07:00
charger_type.te Add charger_vendor type 2021-12-07 16:24:23 -08:00
clatd.te clatd.te - no longer need netlink 2023-03-16 10:53:18 +00:00
compos_fd_server.te Delete more unused policies by CompOS 2022-01-25 08:40:46 -08:00
compos_verify.te Allow compos_verify to write VM logs 2022-06-17 13:41:51 +01:00
composd.te Allow system server to set dynamic ART properties. 2023-03-31 11:46:05 +01:00
coredomain.te Add permission for VFIO device binding 2023-08-02 15:06:51 +09:00
cppreopts.te
crash_dump.te [dice] Remove all the sepolicy relating the hal service dice 2023-02-24 08:34:26 +00:00
credstore.te Remove RemoteProvisioner and remoteprovisioning services 2023-03-14 15:45:35 -07:00
crosvm.te Use regular file for VM DTBO 2023-08-04 15:26:17 +09:00
derive_classpath.te Introduce vendor_apex_metadata_file 2023-06-05 17:17:51 +09:00
derive_sdk.te Introduce vendor_apex_metadata_file 2023-06-05 17:17:51 +09:00
device_as_webcam.te Add selinux permissions for DeviceAsWebcam Service 2023-02-02 12:26:33 -08:00
dex2oat.te Allow dex2oat access to symlinks in APEXes to find DCLA libs. 2023-07-25 00:07:27 +01:00
dexoptanalyzer.te dontaudit dexoptanalyzer's DM file check on secondary dex files. 2023-01-30 07:56:10 +00:00
dhcp.te
dmesgd.te dmesgd: sepolicies 2022-02-10 17:42:52 +00:00
dnsmasq.te
domain.te Revert "Remove fsverity_init SELinux rules" 2023-07-26 06:21:37 +00:00
drmserver.te
dumpstate.te Don't emit audit logs for dumpstate->keystore 2023-03-21 09:16:47 +00:00
ephemeral_app.te strengthen app_data_file neverallows 2023-05-23 00:01:27 +00:00
evsmanagerd.te Revert^2 "Adds a sepolicy for EVS manager service" 2022-02-10 17:21:14 +00:00
extra_free_kbytes.te Add policies for ro.kernel.watermark_scale_factor property 2022-09-08 19:35:34 +00:00
fastbootd.te Allow fastbootd set boottime property 2023-04-28 07:31:11 +00:00
file.te Make font_fallback.xml unreadable 2023-08-14 07:46:19 +09:00
file_contexts Merge "Revert ntfs file context changes" into main 2023-08-23 12:47:58 +00:00
file_contexts_asan Allow app_process to link /data/asan/system_ext/lib/* 2023-06-09 04:43:52 +00:00
file_contexts_overlayfs
fingerprintd.te
flags_health_check.te Update name from trunk_stable_flags to aconfig flags 2023-08-16 19:10:13 +00:00
fs_use
fsck.te
fsck_untrusted.te
fsverity_init.te Remove all module_request rules 2023-08-22 16:56:04 +00:00
fuseblkd.te Adds support for fuseblk binaries. 2023-02-02 15:32:39 +01:00
fuseblkd_untrusted.te Adds support for fuseblk binaries. 2023-02-02 15:32:39 +01:00
fwk_bufferhub.te Remove bufferhub HAL policy. 2021-10-27 10:54:45 -07:00
gatekeeperd.te
genfs_contexts SEPolicy for trace event suspend_resume_minimal 2023-04-05 07:55:43 +00:00
gki_apex_prepostinstall.te
gmscore_app.te Add 2 new system properties for Quick Start 2023-06-23 10:43:11 +00:00
gpuservice.te Allow graphics_config_writable_prop to be modified. 2023-05-04 15:56:33 +00:00
gsid.te Allow gsid to create alternative installation directory 2023-04-28 07:06:02 +00:00
hal_allocator_default.te
hal_lazy_test.te
halclientdomain.te
halserverdomain.te
healthd.te Remove healthd. 2021-10-20 18:47:41 -07:00
heapprofd.te strengthen vendor_file neverallows 2023-05-18 00:07:32 +00:00
hidl_lazy_test_server.te
hwservice.te
hwservice_contexts Revert "Add sepolicies for CPU HAL." 2022-11-09 16:47:07 +00:00
hwservicemanager.te Allow service managers access to apex data. 2022-09-23 21:33:58 +00:00
idmap.te
incident.te
incident_helper.te
incidentd.te Add build properties for attestation feature 2023-02-02 18:52:35 +08:00
init.te Introduce vm_manager_device_type for crosvm 2023-03-29 10:19:06 -07:00
initial_sid_contexts
initial_sids
inputflinger.te
installd.te Allow installd to enable fs-verity on app's file 2023-08-07 11:08:34 -07:00
isolated_app.te sepolicy: rework perfetto producer/profiler rules for "user" builds 2023-02-03 15:05:14 +00:00
isolated_app_all.te strengthen app_data_file neverallows 2023-05-23 00:01:27 +00:00
isolated_compute_app.te Fix attribute plurals for isolated_compute_allowed 2023-04-20 16:39:39 +00:00
iw.te
kernel.te Supress permissive audit messages post OTA reboot 2022-10-10 21:58:41 +00:00
keys.conf Changing selinux policy for privapps for new certs. 2022-04-05 17:31:49 -07:00
keystore.te Merge "Allow service managers access to apex data." 2022-10-14 18:04:46 +00:00
keystore2_key_contexts
keystore_keys.te
linkerconfig.te Introduce vendor_apex_metadata_file 2023-06-05 17:17:51 +09:00
llkd.te [dice] Remove all the sepolicy relating the hal service dice 2023-02-24 08:34:26 +00:00
lmkd.te Add search in bpf directory for bpfdomains 2022-03-21 17:31:17 -07:00
logd.te Add sepolicy for logd and logcat services 2022-01-13 11:38:43 -08:00
logpersist.te Add logd.ready 2021-11-30 15:10:53 +09:00
lpdumpd.te Allow lpdumpd to read Virtual A/B diagnostics. 2023-07-14 09:08:56 -07:00
mac_permissions.xml Changing selinux policy for privapps for new certs. 2022-04-05 17:31:49 -07:00
mdnsd.te
mediadrmserver.te
mediaextractor.te
mediametrics.te
mediaprovider.te
mediaprovider_app.te Allow apps and SDK sandbox to access each others' open FDs 2023-05-12 11:35:07 +00:00
mediaserver.te Allow mediaserver access to media_native flag namespace 2023-05-18 21:29:07 -07:00
mediaswcodec.te
mediatranscoding.te Adds GPU sepolicy to support devices with DRM gralloc/rendering 2022-04-18 17:30:56 -07:00
mediatuner.te Allow mediatuner to get tuner.server.enable 2023-06-20 17:24:51 +00:00
migrate_legacy_obb_data.te
mls
mls_decl
mls_macros
mlstrustedsubject.te Update SELinux policy to allow artd to perform secondary dex compilation 2022-10-24 16:07:01 +01:00
mm_events.te
modprobe.te
mtectrl.te [MTE] ignore mtectrl selinux error for device tree. 2022-09-29 22:53:58 +00:00
mtp.te
net.te Create sdk_sandbox_all. 2023-05-09 15:11:39 +00:00
netd.te netd/netutils_wrapper/network_stack/system_server - allow getattr on bpf progs/maps 2023-03-28 03:11:42 +00:00
netutils_wrapper.te netd/netutils_wrapper/network_stack/system_server - allow getattr on bpf progs/maps 2023-03-28 03:11:42 +00:00
network_stack.te netd/netutils_wrapper/network_stack/system_server - allow getattr on bpf progs/maps 2023-03-28 03:11:42 +00:00
nfc.te
odrefresh.te Remove odrefresh privileges no longer needed for CompOS 2022-01-18 12:56:27 -08:00
odsign.te Revert "Remove fsverity_init SELinux rules" 2023-07-26 06:21:37 +00:00
ot_ctl.te add sepolicy rules for Thread network 2023-06-07 07:04:19 +00:00
ot_daemon.te allow ot_daemon to read/write sockets shared by system_server 2023-09-22 02:18:46 +00:00
otapreopt_chroot.te Allow otapreopt_chroot to use stdin and stdout pipes. 2023-08-07 21:21:20 +01:00
otapreopt_slot.te
perfetto.te Allow perfetto to write into perfetto_traces_bugreport_data_file 2023-03-28 11:34:58 +00:00
performanced.te
permissioncontroller_app.te
platform_app.te persist.sysui.notification.ranking_update_ashmem 2023-06-07 22:31:00 +00:00
policy_capabilities
port_contexts
postinstall.te
postinstall_dexopt.te Allow vendor_overlay_file from vendor apex 2023-06-09 13:43:11 +09:00
ppp.te
preloads_copy.te
preopt2cachename.te
priv_app.te strengthen app_data_file neverallows 2023-05-23 00:01:27 +00:00
prng_seeder.te Add SEPolicy for PRNG seeder daemon. 2022-11-15 01:50:22 +00:00
profcollectd.te profcollectd: allow to request wakelock from system_suspend. 2022-02-17 10:20:08 -08:00
profman.te Update SELinux policy for app compilation CUJ. 2022-07-29 14:07:52 +00:00
property.te Update name from trunk_stable_flags to aconfig flags 2023-08-16 19:10:13 +00:00
property_contexts Merge "Add remaining attestation properties to selinux" into main 2023-08-21 14:34:49 +00:00
racoon.te
radio.te
recovery.te
recovery_persist.te
recovery_refresh.te
remount.te Add remount.te to allow adb remount-related operations 2021-11-02 22:10:05 +08:00
rkpd.te Add SELinux policies for remote_key_provisioning_native namespace. 2022-09-29 21:32:58 +00:00
rkpd_app.te Add set property permissions to RKPD application. 2023-03-16 18:05:10 +00:00
roles_decl
rs.te Add dontaudit for rs fd usage 2023-07-26 12:12:41 +02:00
rss_hwm_reset.te
runas.te
runas_app.te Don't audit shell_test_data_file for runas_app 2023-08-03 21:28:21 +00:00
sdcardd.te
sdk_sandbox_34.te Create sdk_sandbox_all. 2023-05-09 15:11:39 +00:00
sdk_sandbox_all.te strengthen app_data_file neverallows 2023-05-23 00:01:27 +00:00
sdk_sandbox_next.te Introduce sdk_sandbox_next 2023-05-10 18:54:24 +00:00
seapp_contexts Merge "Policy for virtual_camera" into main 2023-07-26 12:20:17 +00:00
secure_element.te Added sepolicy rule for vendor uuid mapping config 2021-11-20 01:08:11 +00:00
security_classes Add SELinux Policy For io_uring 2023-01-27 11:44:59 -05:00
service.te Add permission for VFIO device binding 2023-08-02 15:06:51 +09:00
service_contexts [Thread] add sepolicy rules for Thread system service 2023-08-23 17:08:58 +08:00
servicemanager.te Allow service managers access to apex data. 2022-09-23 21:33:58 +00:00
sgdisk.te
shared_relro.te
shell.te Merge "persist.sysui.notification.ranking_update_ashmem" 2023-06-08 00:58:04 +00:00
simpleperf.te Revert "Revert "allow simpleperf to profile more app types."" 2021-10-27 11:05:01 -07:00
simpleperf_app_runner.te Revert "Revert "allow simpleperf to profile more app types."" 2021-10-27 11:05:01 -07:00
simpleperf_boot.te Add sepolicy for simpleperf_boot. 2022-01-15 16:12:51 -08:00
slideshow.te
snapshotctl.te
snapuserd.te Allow snapuserd to write log files to /data/misc 2023-05-01 17:15:17 -07:00
stats.te Allow traced_probes to subscribe to statsd atoms 2023-03-22 19:53:34 +00:00
statsd.te Allow statsd to write to priv app FDs 2021-10-28 13:07:19 -07:00
storaged.te
su.te Start using virtmgr for running VMs 2023-01-05 17:39:39 +00:00
surfaceflinger.te Grant surfaceflinger and graphics allocator access to the secure heap 2023-01-19 09:02:56 +00:00
system_app.te sepolicy: rework perfetto producer/profiler rules for "user" builds 2023-02-03 15:05:14 +00:00
system_server.te Remove all module_request rules 2023-08-22 16:56:04 +00:00
system_server_startup.te
system_suspend.te suspend: Allow access to /sys/power/wake_[un]lock 2022-12-14 14:18:55 -08:00
technical_debt.cil Create sdk_sandbox_all. 2023-05-09 15:11:39 +00:00
tombstoned.te
toolbox.te Dontaudit chmod of virtualizationsevice_data_file 2022-06-15 17:25:20 +01:00
traced.te Allow Perfetto's traced daemon to set debug sysprops 2023-05-10 10:44:20 -04:00
traced_perf.te strengthen app_data_file neverallows 2023-05-23 00:01:27 +00:00
traced_probes.te Merge "traced_probes: allow traced_probes to access diskstats info" 2023-04-04 01:25:18 +00:00
traceur_app.te
ueventd.te
uncrypt.te
untrusted_app.te Blocks untrusted apps to access /dev/socket/mdnsd from U 2023-01-20 15:25:46 +09:00
untrusted_app_25.te Blocks untrusted apps to access /dev/socket/mdnsd from U 2023-01-20 15:25:46 +09:00
untrusted_app_27.te Blocks untrusted apps to access /dev/socket/mdnsd from U 2023-01-20 15:25:46 +09:00
untrusted_app_29.te Blocks untrusted apps to access /dev/socket/mdnsd from U 2023-01-20 15:25:46 +09:00
untrusted_app_30.te Blocks untrusted apps to access /dev/socket/mdnsd from U 2023-01-20 15:25:46 +09:00
untrusted_app_32.te Blocks untrusted apps to access /dev/socket/mdnsd from U 2023-01-20 15:25:46 +09:00
untrusted_app_all.te sepolicy: rework perfetto producer/profiler rules for "user" builds 2023-02-03 15:05:14 +00:00
update_engine.te Add sepolicy for ro.build.ab_update.ab_ota_partitions 2023-05-24 18:26:12 -07:00
update_engine_common.te
update_verifier.te Allow update_verifier to connect to snapuserd daemon 2022-06-08 20:26:18 +00:00
usbd.te
users
vdc.te
vehicle_binding_util.te Revert "Revert "Allow vehicle_binding_util to access AIDL VHAL. am: d5af7b7cea am: 565699bc61 am: e4ddf119a1 am: 54e7d19e1d am: 3686a43f8f"" 2022-05-11 18:14:06 +00:00
vendor_init.te Introduce vm_manager_device_type for crosvm 2023-03-29 10:19:06 -07:00
vfio_handler.te Add rules for reading VM DTBO by vfio_handler 2023-08-18 01:17:23 +00:00
viewcompiler.te
virtual_camera.te Policy for virtual_camera 2023-07-25 19:27:48 +00:00
virtual_touchpad.te
virtualizationmanager.te Use regular file for VM DTBO 2023-08-04 15:26:17 +09:00
virtualizationservice.te Use regular file for VM DTBO 2023-08-04 15:26:17 +09:00
vold.te Give vold permission to wipe a block device 2023-08-02 14:27:08 -07:00
vold_prepare_subdirs.te Revert "Allow vold_prepare_subdirs to use apex_service" 2023-08-11 15:34:44 +00:00
vzwomatrigger_app.te
wait_for_keymaster.te
watchdogd.te
webview_zygote.te Allow webview_zygote to "search" vendor apex dirs 2023-06-08 13:18:44 +09:00
wificond.te
zygote.te Make font_fallback.xml unreadable 2023-08-14 07:46:19 +09:00