Commit graph

21 commits

Author SHA1 Message Date
Weizhung Ding
1b4f6b7035 Merge "sync legacy sysfs_display permission" into main 2023-11-07 08:32:12 +00:00
Rick Chen
e759711bf5 sensors: Move USF related sepolicy to gs-common.
Bug: 305120274
Test: Compile pass.
Change-Id: Id2d47bcf49d21bc7144145d07fd54bddf3e9033c
Signed-off-by: Rick Chen <rickctchen@google.com>
2023-11-06 23:20:31 +08:00
Weizhung Ding
873751ee60 sync legacy sysfs_display permission
Test: build
Bug: 308381451
Change-Id: I470500ec44b08bcb2c106d27100bef0a9e301742
2023-11-06 14:03:25 +00:00
Treehugger Robot
519a15e014 Merge "Allow HWC to access display refresh control" into main 2023-10-31 04:05:09 +00:00
guibing
cf06992020 zumapro: sepolicy: Update gpu sysfs nodes sepolicies.
Use similar gpu sysfs nodes sepolicies from zuma.

Bug: 300516438
Test: ls -lZ /sys/devices/platform/1f000000.mali
Change-Id: I7190c19c6122bf867a6bde939c4be006ae7432f9
2023-10-27 17:55:45 +00:00
Jeremy DeHaan
b70a0d779e Allow HWC to access display refresh control
Bug: 304394975
Change-Id: Ie718bc50d9ffec8347079b32327b7d3862ff41d6
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
2023-10-16 16:20:29 -07:00
Hiroshi Akiyama
65bb6f7c98 Migrate dump_power.sh to cpp for improved speed
Bug: 299133307
Test: adb bugreport and check dumpstate_board.txt
Change-Id: Ia12b5f4c050a719f994b0f7df8211533d48e0806
Signed-off-by: Hiroshi Akiyama <hiroshiakiyama@google.com>
2023-10-13 18:01:11 -07:00
John Chang
2d20db9d65 display: properties of vrr settings
Bug: 290843234
Test: verify getprop/setprop after reboot.
Change-Id: I9cf5e2272b6ea9e9bbcf72b4363faf272872e27c
2023-10-10 18:21:54 +00:00
Matthew Sedam
a934af3727 Allow CHRE to access the IStats service for the zumapro target
This CL also moves the chre.te file from legacy to vendor.

Bug: 298459533
Test: Use stats service from chre
Change-Id: I6b954983e71b436a0dfef8a50cc2ce352bd14d79
2023-10-06 20:32:43 +00:00
Tai Kuo
a3abd5ad39 Allow regmap debugfs for drivers probed by insmod
auditd  : type=1400 audit(0.0:731): avc:  denied  { search } for
comm="modprobe" name="regmap" dev="debugfs" ino=2057
scontext=u:r:insmod-sh:s0 tcontext=u:object_r:vendor_regmap_debugfs:s0
tclass=dir permissive=1 bug=b/274727542

vendor_kernel_boot and vendor_dlkm modules probe by insmod need this.
Move regmap debugfs from legacy/whitechapel_pro/ to vendor/.

Bug: 274727542
Bug: 289012421
Bug: 285343932
Test: ls -d /sys/kernel/debug/regmap/*-0043
Change-Id: I1db7a5a3413467b4e14954d994b071b206fe0300
2023-09-12 16:42:21 +08:00
Hasan Awais
3ca2aca558 uwb: add permissions for factory uwb calib file
needed for copying the factory calib file from persist to
/data/vendor/uwb, along with converting the file to a valid format
for uwb HAL

Equivalent CL: ag/22980180

Bug: 296108382
Bug: 296108391
Test: local build passed
Change-Id: I576d21433e2d0b958ef876bd42c382dd2061796e
Signed-off-by: Hasan Awais <hasanawais@google.com>
2023-09-11 17:36:08 +00:00
Jack Wu
a43564d968 fix incorrect max_secondary path
Bug: 299268124
Test: data is correct in dumpstate
Change-Id: I198b7117270ef078c698b2c30f479bcb510d6471
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-07 20:10:19 +08:00
Jack Wu
442592fc0c move google,charger SELinux config from legacy to vendor
Bug: 298923686
Test: no Permission denied while accessing the file node
Change-Id: Idea525f8067dd8d74065bcb128da4b25a04113dc
Signed-off-by: Jack Wu <wjack@google.com>
2023-09-05 17:12:38 +08:00
Wilson Sung
863d41f6c6 Move vendor to legacy/zuma/vendor
Bug: 296187211
Change-Id: I28450565c4ee585060387ad988e7efbb1620eaee
2023-09-04 11:07:29 +08:00
Vania Januar
dbe23f1ab5 Revert "Revert^2 commit 2c99c990d3""
This reverts commit 9bd666007d.

Reason for revert: build break b/297170337

Change-Id: I2459b680bb3153d3d7e0f17761b4a825da942bcc
2023-08-23 12:58:42 +00:00
Wilson Sung
5e2e8df6e9 Remove camera duplicate config
Bug: 296187211
Test: make selinux_policy
Merged-In: I030b4f5c59383478355ac2cee8363f45c8101041
Change-Id: I105f5b282c29874b4fb6595fc808f5ae033e75d3
2023-08-23 17:58:51 +08:00
Wilson Sung
9bd666007d Revert^2 commit 2c99c990d3"
This reverts commit 5d2c755531.

Bug: 297129706
Change-Id: Ia8301a139559e8abf119a0964d7a06914aacf55e
2023-08-23 17:57:57 +08:00
Chiachang Wang
5d2c755531 Revert commit 2c99c990d3
This reverts commit 2c99c990d3.

Reason for revert: <Build break>

Change-Id: I030b4f5c59383478355ac2cee8363f45c8101041
2023-08-23 04:16:56 +00:00
Wilson Sung
355f0df8fd Sync zuma-sepolicy to legacy folder
Duplicate from zuma-sepolicy 7f3e2b9

Test: make selinux_policy
Bug: 296187211
Change-Id: If686fbdcf058849479019e8b37bb1d57a0215ed6
Signed-off-by: Wilson Sung <wilsonsung@google.com>
2023-08-22 15:37:56 +08:00
Robin Peng
30ab759177 Sync with device/google/zuma-sepolicy a89fbcc4aa1ae
fix build breakage:
device/google/zumapro-sepolicy/legacy/whitechapel_pro/file.te:4:ERROR 'Duplicate declaration of type' at token ';' on line 104436:
type tcpdump_vendor_data_file, file_type, data_file_type;
type updated_wifi_firmware_data_file, file_type, data_file_type;

Bug: 272725898
Change-Id: Ic17d18409c28760d172a4ee7a5beb6c90016a381
2023-05-01 10:04:38 +00:00
Robin Peng
bff99af2da init zumapro from zuma sha 43d5907677d0f
Bug: 272725898
Change-Id: If35d9efdda9dd3b8d8b24008f0738a0cbbe5bd9b
2023-03-31 14:16:57 +00:00