Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4eca0505 authored by Alessandro Astone's avatar Alessandro Astone
Browse files

Add 'sepolicy/' from commit 'fec01c082753f90de62e769d61e85bd5978fb08f'

git-subtree-dir: sepolicy
git-subtree-mainline: ab1addf3
git-subtree-split: fec01c082753f90de62e769d61e85bd5978fb08f
parents ab1addf3 73dae1e7
Loading
Loading
Loading
Loading

sepolicy/OWNERS

0 → 100644
+13 −0
Original line number Diff line number Diff line
adamshih@google.com
alanstokes@google.com
bowgotsai@google.com
jbires@google.com
jeffv@google.com
jgalenson@google.com
jiyong@google.com
nnk@google.com
rurumihong@google.com
smoreland@google.com
sspatil@google.com
tomcherry@google.com
trong@google.com
+2 −0
Original line number Diff line number Diff line
# vendors
BOARD_SEPOLICY_DIRS += device/google/redfin-sepolicy/vendor/google
+4 −0
Original line number Diff line number Diff line
# vendor binaries
/vendor/bin/hw/android\.hardware\.usb@1\.2-service\.redfin                             u:object_r:hal_usb_impl_exec:s0
/vendor/bin/hw/android\.hardware\.vibrator-service\.redfin                             u:object_r:hal_vibrator_default_exec:s0
/vendor/bin/hw/android\.hardware\.dumpstate@1\.1-service\.redfin                       u:object_r:hal_dumpstate_impl_exec:s0
+3 −0
Original line number Diff line number Diff line
# Access to WLC firmware info
allow hal_dumpstate_impl sysfs_wlc:dir r_dir_perms;
allow hal_dumpstate_impl sysfs_wlc:file r_file_perms;
+27 −0
Original line number Diff line number Diff line
# pixelstats vendor
type pixelstats_vendor, domain;

type pixelstats_vendor_exec, exec_type, vendor_file_type, file_type;
init_daemon_domain(pixelstats_vendor)
r_dir_file(pixelstats_vendor, sysfs_pixelstats)

unix_socket_connect(pixelstats_vendor, chre, chre)

get_prop(pixelstats_vendor, hwservicemanager_prop)
hwbinder_use(pixelstats_vendor)
allow pixelstats_vendor hal_pixelstats_hwservice:hwservice_manager find;

allow pixelstats_vendor fwk_stats_hwservice:hwservice_manager find;
binder_call(pixelstats_vendor, statsd)

allow pixelstats_vendor sysfs_scsi_devices_0000:file rw_file_perms;
r_dir_file(pixelstats_vendor, sysfs_batteryinfo)
# UeventListener
allow pixelstats_vendor self:netlink_kobject_uevent_socket create_socket_perms_no_ioctl;

# wlc
allow pixelstats_vendor sysfs_wlc:dir search;

# OrientationCollector
allow pixelstats_vendor fwk_sensor_hwservice:hwservice_manager find;
binder_call(pixelstats_vendor, system_server)
Loading