Wilson Sung
4ab2964a03
Move legacy genfs_contexts to vendor
...
Bug: 312143882
Bug: 314036370
Test: make selinux_policy
Change-Id: I5846fb7b26eee3ddc7c7ac67f6b60f4357ec3608
2023-11-30 05:05:48 +00:00
Treehugger Robot
be59016f17
Merge "Remove UDFPS GHBM/LHBM property" into main
2023-11-29 08:19:15 +00:00
Donnie Pollitz
662dc87e32
trusty: Fix selinux denials for block devices
...
Bug: 312894027
Test: Confirmed avc denial is gone on boot
Change-Id: Iaa87cdef24214a2b6f6eba2af917c03bbbb4bfb5
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-11-28 09:20:41 +01:00
Wilson Sung
7d7ebbc370
Move lwis declaration to vendor
...
Bug: 312143882
Test: make selinux_policy
Change-Id: Ice60742e2b1d2c863dbb55f31e5e38c4d8768fcb
2023-11-23 02:23:02 +00:00
Treehugger Robot
60b251ed89
Merge "Move legacy app config to tracking_denials" into main
2023-11-22 23:26:29 +00:00
Treehugger Robot
3109e39e10
Merge "Remove rls_device type" into main
2023-11-22 23:24:13 +00:00
Wilson Sung
2a66f04eee
Move legacy zuma/file_contexts to vendor
...
Bug: 312143882
Change-Id: I992762f507a49edfcb4f25bf26594bbb03f191a1
2023-11-22 11:34:18 +00:00
Wilson Sung
03d78938bf
Move legacy app config to tracking_denials
...
Bug: 312143882
Test: make selinux_policy
Change-Id: Id9203ada3b6364f517a0251eed139ad793fbb94f
2023-11-22 11:17:45 +00:00
Treehugger Robot
aed9527a37
Merge "Move sg_device related policy" into main
2023-11-22 09:39:24 +00:00
Wilson Sung
009879a2fc
Remove rls_device type
...
None file_context use rls_device type
Bug: 312143882
Test: make selinux_policy
Change-Id: I85c85d2ce3828ea812c8084e150afd5ee8431a74
2023-11-22 09:08:32 +00:00
Wilson Sung
b880b46c91
Move file_context to vendor
...
Bug: 312143882
Change-Id: Idadeb768371ec170fce8851a381d6ab9e5d31bfc
2023-11-22 08:39:03 +00:00
Donnie Pollitz
25c848aea9
Merge "Fix SELinux permissions for trusty_userdata partition" into main
2023-11-22 08:07:38 +00:00
Randall Huang
a5f3627328
Move sg_device related policy
...
Bug: 312582937
Test: make selinux_policy
Change-Id: Ic64acb35898e8517141e2fcffb4e2ff71b3b5345
Signed-off-by: Randall Huang <huangrandall@google.com>
2023-11-22 14:42:38 +08:00
Wilson Sung
08e5f90427
Remove UDFPS GHBM/LHBM property
...
Bug: 312143882
Test: make selinux_policy
Change-Id: I081a6ea005b05b43b0c7a56859c6a804c16a0bce
2023-11-22 03:40:37 +00:00
Wilson Sung
eddd28d140
Remove unused vendor_toe_device
...
Bug: 312143882
Test: make selinux_policy
Change-Id: I3298675615a0e75218be4cf4dac1a04f6aeeafe0
2023-11-22 03:37:16 +00:00
Wilson Sung
c967ee5dc3
Move sg_device related policy
...
Bug: 312143882
Test: make selinux_policy
Change-Id: I68b00a6577a01cf04f67b6b277bce6fe1faef618
2023-11-22 02:44:43 +00:00
Wilson Sung
afa1494fc6
Label bootanim.color property
...
Bug: 312143882
Test: make selinux_policy
Change-Id: Ie585dc92818e9dab81cfd6a2713e8114d272cd19
2023-11-21 10:58:51 +00:00
Donnie Pollitz
6ebd0711a4
Fix SELinux permissions for trusty_userdata partition
...
Bug: 301677815
Test: Trusty storage port tests passing
Change-Id: Ibbcbd4523e31a3c79035fe16bc1bec3ed60205fa
Signed-off-by: Donnie Pollitz <donpollitz@google.com>
2023-11-21 09:15:50 +01:00
Wilson Sung
9cb23f8b7a
Merge "Move vendor_persist_type to vendor" into main
2023-11-21 02:30:00 +00:00
Wilson Sung
3178313292
Remove batt and NFC unused type
...
Bug: 312143882
Test: make selinux_policy
Change-Id: I88ca31d5893143f8f368f576ef4b78e6219bbb74
2023-11-20 12:47:52 +00:00
Wilson Sung
75f9200a13
Move vendor_persist_type to vendor
...
radio needs this type
Bug: 312143882
Change-Id: I95b7d4dc0b867234972955eac0be6b8204ce3ecc
2023-11-20 12:34:01 +00:00
Kyle Tso
38484e0653
Merge changes from topic "contaminantdisable-sepolicy-main" into main
...
* changes:
hal_usb_impl: Add get_prop for vendor_usb_config_prop
hal_usb_impl: Move hal_usb_impl and hal_usb_gadget_impl to vendor
2023-11-17 03:51:44 +00:00
Chien Kun Niu
84ef937a19
hal_usb_impl: Move hal_usb_impl and hal_usb_gadget_impl to vendor
...
Move hal_usb_impl and hal_usb_gadget_impl to right space
Bug: 310816620
Change-Id: I04d3710dd7f4e52b204f537de73d18a1351a6836
Signed-off-by: Chien Kun Niu <rickyniu@google.com>
2023-11-15 17:50:29 +08:00
Daniel Norman
f6ee9c4b50
Removes duplicate hidraw_device type definition.
...
This type is now defined by the platform.
Bug: 303522222
Change-Id: I1a53405c7b6f12d6318a7808fa2cb61e02696cba
Test: ls -z /dev/hidraw0
2023-11-10 22:52:51 +00:00
Treehugger Robot
fac134469c
Merge "Remove unused CS40L26 I2C paths" into main
2023-11-08 11:08:32 +00:00
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
Tai Kuo
956c643267
Remove unused CS40L26 I2C paths
...
Bug: 285343932
Bug: 307468462
Test: No AVC denials.
Change-Id: Id25e88e536500b9c205acf87900b597d611a9b63
2023-11-06 17:56:58 +08: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