Commit graph

15 commits

Author SHA1 Message Date
Robin Peng
dbd71b58f5 init-insmod-sh: fix avc error
avc: denied { set } for property=vendor.all.modules.ready pid=1238 uid=0 gid=0 scontext=u:r:init-insmod-sh:s0 tcontext=u:object_r:vendor_ready_prop:s0 tclass=property_service permissive=0

Bug: 238853979
Signed-off-by: Robin Peng <robinpeng@google.com>
Change-Id: I92aa94db50884ea6d499fad785ef49853d831f56
2022-07-18 04:55:14 +00:00
qinyiyan
7efce53e84 Fix build breakage. Remove debug_camera_app.te as it's not defined.
ERROR 'unknown type debug_camera_app' at token ';' on line 83026:
        allow debug_camera_app edgetpu_app_service:service_manager find;

bug: 238929529
Test: make selinux_policy -j128
Change-Id: Ia8a21d02bff5c2f0c62e333b6b800678a80a2c51
2022-07-13 17:18:37 -07:00
qinyiyan
b11f8d2103 Add edgetpu contexts and sepolicies.
bug: 236041918
Change-Id: Ie3d2833c3c297dad7304dca307778d2f6a155180
2022-07-12 15:24:20 -07:00
TreeHugger Robot
6de977c9ba Merge "HwInfo: remove -sepolicy/tracking_denials/hardware_info_app.te" 2022-07-06 01:24:09 +00:00
Ruofei Ma
f85ab24233 Merge "Add bigwave sepolicy" 2022-07-05 22:25:05 +00:00
Ruofei Ma
1afbff1320 Add bigwave sepolicy
Bug: 195687338

Change-Id: I8dae1b62b0516e173381893af3c90ae24b6b9b87
2022-07-05 22:24:35 +00:00
Denny cy Lee
d05407421d HwInfo: remove -sepolicy/tracking_denials/hardware_info_app.te
Bug: 208909060
Test: not avc log for hardware_info_app
Signed-off-by: Denny cy Lee <dennycylee@google.com>
Change-Id: I0678da7b9495e87130553fd967fc26015c3161e4
2022-07-04 03:18:06 +00:00
Hyunki00.koo
47c4e6c965 edgetpu/file_contexts
Signed-off-by: Hyunki00.koo <hyunki00.koo@samsung.com>
Change-Id: I6dfa880a0d4ceb80a54de24e3817b6c880fea7ba
2022-06-30 19:59:41 -07:00
Jaegeuk Kim
c36c283704 Update ufs path
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I8ea66435e131c7718ea5d2740fa8165d452f68f9
2022-06-24 00:03:00 -07:00
Nucca Chen
7ad5cc4d73 Remove clatd tracking_denial
Bug: 210363983
Change-Id: I5ee6763d73a82cc4ffe21270544eb68810be626c
Test: boot with no relevant error log
2022-06-13 07:19:36 +00:00
Jaegeuk Kim
28cec159fb Allow sysfs_devices_block to f2fs-tools
The fsck.f2fs checks the sysfs entries of block devices to get disk
information. Note that, the block device entries are device-specific.

1. fsck.f2fs
avc: denied { search } for comm="fsck.f2fs" name="0:0:0:0" dev="sysfs" ino=59803 scontext=u:r:fsck:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=dir permissive=0
avc: denied { getattr } for comm="fsck.f2fs" path="/sys/devices/platform/14700000.ufs/host0/target0:0:0/0:0:0:0/block/sda/sda7/partition" dev="sysfs" ino=60672 scontext=u:r:fsck:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0

2. mkfs.f2fs
avc: denied { search } for comm="make_f2fs" name="0:0:0:0" dev="sysfs" ino=59803 scontext=u:r:e2fs:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=dir permissive=0
avc: denied { getattr } for comm="make_f2fs" path="/sys/devices/platform/14700000.ufs/host0/target0:0:0/0:0:0:0/block/sda/sda8/partition" dev="sysfs" ino=61046 scontext=u:r:e2fs:s0 tcontext=u:object_r:sysfs_scsi_devices_0000:s0 tclass=file permissive=0

Bug: 172377740
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: I409feec84565f965baa96b06a5b08bcfc1a8db02
2022-05-24 17:46:40 -07:00
Jason Macnak
d14bd06f34 Remove sysfs_gpu type definition
... as it has moved to system/sepolicy.

Bug: b/161819018
Test: presubmit
Change-Id: I107f92617bea56590b5af351341cc1c3b2844360
2022-04-19 18:03:57 +08:00
Aaron Ding
7b5994afd8 Create device Ripcurrent on Zuma platform
s/cloudripper/ripcurrent
s/gs201/zuma
s/pantah/ripcurrent

Bug: 229340586
Change-Id: If94759d6d555f3f9c8ee80331a31ef85082f03c7
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 14:11:17 +08:00
Aaron Ding
e47b3d9991 Branch zuma from gs201
Branch zuma from gs201 sha1 63751751aa91275b083797278d638078b3a0bf7a

cp/pantah/ripcurrent
cp/gs201/zuma

Bug: 229340586
Change-Id: Ie692d8dbbf0fc4d3b376dc9fe3e930bd3955a88e
Signed-off-by: Aaron Ding <aaronding@google.com>
2022-04-19 14:10:58 +08:00
Bill Rassieur
e4a3061192 Initial empty repository 2022-03-15 09:21:45 -07:00