Commit graph

34 commits

Author SHA1 Message Date
Wilson Sung
4b30393e1a Move hal_input_processor_default to vendor
Bug: 312143882
Bug: 273163412
Test: make selinux_policy
Change-Id: Ie130e123a79c8d3cab71dbabbfb82c287b93b425
2023-12-01 03:19:30 +00:00
Treehugger Robot
6825c00c06 Merge "Move legacy property.te to vendor and tracking_denials" into main 2023-11-30 23:22:54 +00:00
Treehugger Robot
f86a7057ef Merge "Move legacy property_contexts to vendor and tracking_denials" into main 2023-11-30 23:22:12 +00:00
Wilson Sung
1f829bd3f9 Move legacy property.te to vendor and tracking_denials
Bug: 312143882
Bug: 314065301
Test: make selinux_policy
Change-Id: I1e414cb04b71bf9aa47f8b60a78aad220bdf21b6
2023-11-30 09:11:00 +00:00
Wilson Sung
c467c70f33 Move legacy property_contexts to vendor and tracking_denials
Bug: 312143882
Bug: 314065298
Test: make selinux_policy
Change-Id: Ica7bbd24df3959af917896dbdc43d352e33add43
2023-11-30 08:48:52 +00:00
Wilson Sung
81b4d82d4c Remove unused rls_service
Binary not existed

Bug: 312143882
Test: make selinux_policy
Change-Id: If51749d9c0b12d1a5ac8f3070cef30557202bdf8
2023-11-30 08:38:34 +00:00
Treehugger Robot
dde9116594 Merge "Move legacy genfs_contexts to vendor" into main 2023-11-30 07:33:04 +00:00
Treehugger Robot
dca7f0c3c4 Merge "Move legacy file.te to vendor and tracking_denials" into main 2023-11-30 07:33:03 +00:00
Wilson Sung
e531406f68 Move legacy file.te to vendor and tracking_denials
Bug: 312143882
Bug: 314035704
Test: make selinux_policy
Change-Id: Ibf5ac4c3e06bb2f5aab44e59073156181ab0b5a1
2023-11-30 05:07:58 +00:00
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
Wilson Sung
be32c237af Move legacy file_contexts to tracking_denials
Bug: 312143882
Bug: 314036372
Test: make selinux_policy
Change-Id: If8f325e6e0c9ffa1bfb463686d1df6ed82abd804
2023-11-30 05:05:28 +00: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
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
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
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
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
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
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
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
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
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
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