Commit graph

92 commits

Author SHA1 Message Date
Adam Shih
d806a9ed5d review vcd
Bug: 254378739
Test: boot with vcd launched
Change-Id: I9e6fc1efab3f39c4d7f75490860acf901599a87a
2022-11-10 11:41:18 +08:00
Adam Shih
4e54746992 Merge "remove edgeTPU folder" 2022-11-10 03:19:29 +00:00
Rick Chen
59ef653909 Allow CHRE to use EPOLLWAKEUP
Bug: 238666865
Test: Compile pass.
Change-Id: I22f27fb03826d5298e866140dac91cec823e318b
Signed-off-by: Rick Chen <rickctchen@google.com>
2022-11-09 18:32:02 +08:00
Adam Shih
fc41e82939 remove edgeTPU folder
Bug: 258114806
Test: build pass
Change-Id: Ic9eb7f671ef3ede2da40e0ec40b0bb0646240924
2022-11-09 12:39:09 +08:00
Adam Shih
d55543c288 isolate samsung modem related sepolicy
Bug: 254378739
Test: boot with relevant binary launched
Change-Id: Ia18fce855bee17b93d97d1aa29a40d834a81fe09
2022-11-09 10:41:21 +08:00
Adam Shih
a91e557579 review the rest of slsi apps
Bug: 254378739
Test: build pass
Change-Id: Icdea2a58f0b77cc78de7fd831aa7a54ddff2b0d3
2022-11-07 13:44:27 +08:00
Adam Shih
fb3623ca3d review vendor_engineermode_app
Bug: 254378739
Test: build pass
Change-Id: I6dcbe756227cd41280f1d1b83ff7e807680259e2
2022-11-07 13:20:52 +08:00
TreeHugger Robot
19126e2dda Merge "restart hal_health_default" 2022-11-07 03:26:11 +00:00
Adam Shih
5944db2199 restart hal_health_default
Bug: 254378739
Test: boot with the HAL started
Change-Id: I3143011c46e540424e340cbc36a818449395ec69
2022-11-07 02:19:16 +00:00
Adam Shih
4c8e49f158 review sced
Bug: 254378739
Test: build pass with sced correctly labeled
Change-Id: Ie59a048c5996d03d0641c824f6526618c260795e
2022-11-07 10:02:18 +08:00
Adam Shih
61f75374b8 review vendor_telephony_silentlogging_app
Bug: 254378739
Test: build pass
Change-Id: If8234278e2198fe42ae9a986631df8a04ce119f5
2022-11-07 10:02:18 +08:00
Adam Shih
33be9e501d review vendor_telephony_debug_app
Bug: 254378739
Test: build pass
Change-Id: I2b692fe3bfb6827ca65b79a6d5e0203df5e73af5
2022-11-04 12:36:51 +08:00
Adam Shih
e08ac87755 review vendor_silentlogging_remote_app
Bug: 254378739
Test: build pass
Change-Id: Ia56316249a7a00cff93447475b5ed5d88e4d9c11
2022-11-04 12:35:31 +08:00
Adam Shih
534a8634f7 review IMS apps
Bug: 254378739
Test:
Use command to check if the app is around:
$ adb shell ps -Z| grep shannon
u:r:vendor_qualifiednetworks_app:s0:c225,c256,c512,c768 u0_a225 2250 822 14569200 102584 do_epoll_wait 0 S com.shannon.qualifiednetworksservice
u:r:vendor_rcs_app:s0:c212,c256,c512,c768 u0_a212 2495 822 14627492 110156 do_epoll_wait   0 S com.shannon.rcsservice
u:r:vendor_ims_app:s0:c224,c256,c512,c768 u0_a224 2499 822 14886680 112228 do_epoll_wait   0 S com.shannon.imsservice

Change-Id: Ic68c05d3b4d60d921a85eb2de065f8e0d7c57f43
2022-11-04 09:53:30 +08:00
Adam Shih
faf456f4ab review vendor_qualifiednetworks_app
Bug: 254378739
Test:

$ adb shell ps -Z| grep shannon
u:r:vendor_qualifiednetworks_app:s0:c225,c256,c512,c768 u0_a225 2250 822 14569200 102584 do_epoll_wait 0 S com.shannon.qualifiednetworksservice

Change-Id: I83a20d9c461a071c0d46750b32fb787806c005f1
2022-11-04 09:46:59 +08:00
Adam Shih
f6a685f60a Merge changes I937d70c7,Ia3315daa
* changes:
  remove missing app
  review vendor_ims_app
2022-11-03 09:25:31 +00:00
Adam Shih
b5c15037e0 remove missing app
Bug: 254378739
Test: no such app after boot
adb shell ps -Z

Change-Id: I937d70c749bbbb118f233a56eed136c535b18e96
2022-11-03 13:16:23 +08:00
Adam Shih
6d17ee11a8 review vendor_ims_app
Bug: 254378739
Test: boot with ims app labeled
adb shell ps -Z

Change-Id: Ia3315daa3c49e73e05039d97386a981aa5d6859d
2022-11-03 13:14:27 +08:00
Adam Shih
8221a79c0b review grilservice_app
Bug: 254378739
Test:
$ adb shell ps -Z| grep gril
u:r:grilservice_app:s0:c202,c256,c512,c768 u0_a202 1995 829 14518964 91276 0               0 S com.google.android.grilservice

Change-Id: Ie1d22e30cb548b0d82275d9e76fc4810b9fbe289
2022-11-02 11:01:52 +08:00
Adam Shih
5e2579cc53 review oemrilservice_app
Bug: 254378739
Test: boot with the app labeled correctly
adb shell ps -Z| grep oem
u:r:oemrilservice_app:s0:c231,c256,c512,c768 u0_a231 2105 829 14654604 92840 0             0 S com.samsung.slsi.telephony.oemril

Change-Id: I22b839a9547646e811925abfc5ed3b122928123c
2022-11-02 10:57:00 +08:00
Adam Shih
62b41afb1e review rild
Bug: 254378739
Test: boot with rild launched
Change-Id: I90a800bb6b15732cc2fcfdafc5174f8c874b55ef
2022-11-02 10:53:58 +08:00
Gabriel Biren
7b9dd04005 Merge "Update zuma sepolicy to allow the wifi_ext AIDL service." 2022-11-01 23:19:52 +00:00
Adam Shih
b571e6349c remove duplicated gps setting
Bug: 254758553
Test: build pass
Change-Id: I21c08f138f066f4c3baa7fa0c37ed821e3d03363
2022-11-01 10:54:35 +08:00
George Lee
9e250fe85e Merge "bcl: Add Mitigation Logger - Del zuma-sepolicy" 2022-10-31 14:17:57 +00:00
Adam Shih
81a354fc88 move brcm gps solution to gs-common
Bug: 254758553
Test: google map can locate on pixel
Change-Id: I0ffbf5da277d71e04cd3aec1e8ef366b00309a83
2022-10-28 14:00:27 +08:00
George Lee
5a11307aac bcl: Add Mitigation Logger - Del zuma-sepolicy
Mitigation Logger logs battery related information for 1 second when it
is triggered by under voltage or over current interrupts.  Information
collected is to help debug system brownout.

Bug: 228383769
Test: Boot and Test
Change-Id: I83f1d8da286b53c0ae072db7ad1ce62900e5837d
Signed-off-by: George Lee <geolee@google.com>
2022-10-28 05:26:16 +00:00
Adam Shih
53ee1c09b9 review cbd
Bug: 254378739
Test: boot with cbd launched
Change-Id: I9c89c0fc3b40957bc60dd7854788d49e498fc0cd
2022-10-28 11:59:23 +08:00
Adam Shih
2f2b04a36e review modem_svc_sit
Bug: 254378739
Test: boot with modem_svc_sit running
Change-Id: Iee1a831f12ca5c2df54181f0807f1d284072cf7f
2022-10-28 11:12:56 +08:00
Adam Shih
92aa199be5 label all wakeup nodes
Bug: 254378739
Test: boot with no system_suspend error on sysfs
Change-Id: I03b663678f543967e70089e3513cfec9335a1a40
2022-10-27 14:12:09 +08:00
Adam Shih
1889b6d85f review modem_diagnostic_app
Bug: 254378739
Test: build pass
Change-Id: Ia2a07987a0e60e882074df1b8514139bdd6cd95c
2022-10-27 13:46:20 +08:00
TreeHugger Robot
6f44317b90 Merge changes I3402c89b,Ia0e63e7f,I28581c15
* changes:
  review dmd and modem_logging_control
  review cbrs_setup_app
  review ssr_detector_app
2022-10-27 02:32:55 +00:00
Gabriel Biren
9c7e1c9f63 Update zuma sepolicy to allow the wifi_ext AIDL service.
Changes should be similar to aosp/2262723.

Bug: 205044134
Test: m + Pre-submit tests
Change-Id: I458896f8e82be51dde466d7970a2f307d8f9c94d
2022-10-26 23:20:45 +00:00
Salmax Chang
3d7deb5028 cbd, rfsd: remove the super permissions
Remove the setuid, chown and setgid rules.

Bug: 255494528
Change-Id: I47d4295d2f95ec45d9566ce9badd345dc34c80ac
2022-10-25 17:14:45 +08:00
Adam Shih
f652d07d61 review dmd and modem_logging_control
Bug: 254378739
Test: boot with both of them launched
Change-Id: I3402c89be55bb8258d0ceb8475cef9fb913d2604
2022-10-24 14:30:52 +08:00
Adam Shih
0fb88a6e5c review cbrs_setup_app
Bug: 254378739
Test: boot with the app correctly labeled

Change-Id: Ia0e63e7fc1a6b68ad1a7012e65b063f08f05470d
2022-10-24 14:14:12 +08:00
Adam Shih
aff9f380d3 review ssr_detector_app
Bug: 254378739
Test: boot with ssr app correctly labeled
Change-Id: I28581c15cf0f7ecb01cbd11c747ad338b157e1c8
2022-10-24 14:12:27 +08:00
Adam Shih
cbbbe57599 review rfsd
Bug: 254378739
Test: boot with rfsd launched
Change-Id: I15446c8fb84de588ba09325414a1cbabbdaa9c58
2022-10-24 11:54:10 +08:00
Adam Shih
9c81dc8d56 isolate legacy sepolicy to start reviewing while letting others work
Bug: 254378739
Test: boot, camera, google map, play youtube
Change-Id: If8ee7c64c0f7534a7e918f36a0e785b0ee9cd11f
2022-10-24 11:40:47 +08:00
Adam Shih
522689438e remove obsolete entry
Bug: 254378739
Test: build pass
Change-Id: I53d82c4e3eb0b2b33b5bbb6448b787599611e0ae
2022-10-21 10:16:22 +08:00
Adam Shih
7c2d42f608 move aoc settings to gs-common
Bug: 248426917
Test: boot with aoc launched
Change-Id: Ifde50720cd8144bdc484b138d85bcf40575fe0ac
2022-10-20 11:25:09 +08:00
Adam Shih
2078e51ece Merge "remove reused code" 2022-10-19 11:22:26 +00:00
Adam Shih
db9cb6f731 remove reused code
Bug: 244504232
Test: adb bugreport
Change-Id: Ia310bbbb166c2b3f281153bb81c1240908529cc5
2022-10-19 14:55:17 +08:00
Krzysztof Kosiński
efcbb14f05 Use generic wildcard for vendor libprotobuf.
The suffix changes on each upgrade and the newest release uses
a two-part version number instead of a three-part one. Use a regex
that will match any suffix.

Bug: 203713560
Test: presubmit, log check
Change-Id: I12409ae179ec939a2c1f6e7342378abc4c27c207
2022-10-14 13:58:51 +00:00
timmyli
b4c703e375 Add main camera. Add hal_camera_default
hal_camera_default was missing from sepolicy.
Also add main camera to se policy.

Bug: 253469536, 253261569, 248108864
Test: Compiles, manual test to see no access denied logs
Change-Id: Ia68dd6d883413e5510b8ba79cff24204d70efb84
2022-10-13 20:11:26 +00:00
weichinweng
ef2333ceef Add acd-com.google.usf.non_wake_up file to AoC file context.
Bug: 195077076
Bug: 253178766
Test: ls -lZ dev/acd-com.google.usf.non_wake_up
Change-Id: I01e26cca3300eb284b22106367bc651ee3815581
2022-10-12 08:56:15 +00:00
Roger Fang
b6ee86eeed sepolicy: add permission for AMS rate of pixelstats-vend
pixelstats-vend: type=1400 audit(0.0:524): avc: denied { open } for
    path="/sys/devices/platform/audiometrics/ams_rate_read_once" dev="sysfs"
    ino=87602 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:sysfs:s0
    tclass=file permissive=1
    pixelstats-vend: type=1400 audit(0.0:525): avc: denied { getattr }
    for path="/sys/devices/platform/audiometrics/ams_rate_read_once"
    dev="sysfs" ino=87602 scontext=u:r:pixelstats_vendor:s0 tcontext=u:object_r:
    sysfs:s0 tclass=file permissive=1

Bug: 245057559
Test: maually test passed.

Signed-off-by: Roger Fang <rogerfang@google.com>
Change-Id: I6cb477b3eecbb04fe1259f94e18e033cc152a671
2022-10-03 17:56:01 +08:00
Vova Sharaienko
cf1387dd92 Merge "hal_health_default: updated sepolicy" 2022-09-30 04:42:40 +00:00
Vova Sharaienko
f6826e0904 hal_health_default: updated sepolicy
This allows the android.hardware.health service to access
AIDL Stats service

Bug: 249827340
Test: Build, flash, boot & and logcat | grep "avc"
Change-Id: I45512225f11a0e3b06721f40e2355924188f703f
2022-09-29 23:34:29 +00:00
Denny cylee
c59e2b8aa0 sepolicy: add files to power_supply label
avc: denied { read } for name="resistance_id"
dev="sysfs" ino=57006 scontext=u:r:hardware_info_app:s0:c512,c768
tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
app=com.google.android.hardwareinfo

avc: denied { open } for
path="/sys/devices/platform/10cb0000.hsi2c/i2c-8/8-0036/power_supply/maxfg/resistance_id"
dev="sysfs" ino=57006 scontext=u:r:hardware_info_app:s0:c512,c768
tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
app=com.google.android.hardwareinfo

avc: denied { read } for name="serial_number"
dev="sysfs" ino=69725 scontext=u:r:hardware_info_app:s0:c512,c768
tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
app=com.google.android.hardwareinfo

Bug: 248391895
Test: check log

Signed-off-by: Denny cylee <dennycylee@google.com>
Change-Id: I1044cde13e11f85dbf57255edc462be1010f93e4
2022-09-28 08:11:01 +00:00
TreeHugger Robot
8bc677159f Merge "update display path" 2022-09-21 08:58:10 +00:00