diff options
| author | Abhilasha Manna <amanna@qti.qualcomm.com> | 2026-03-27 15:27:48 +0530 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-03-27 09:09:05 -0700 |
| commit | 801addc52851b88b335d2349f6f7787b8200c95c (patch) | |
| tree | f632878c16b8be0aa35e55300f7c8ce882c7bbca /meta-oe | |
| parent | 79201ef95ed1169f21c97710859de5417824c55e (diff) | |
| download | meta-openembedded-801addc52851b88b335d2349f6f7787b8200c95c.tar.gz | |
refpolicy-targeted: Add sepolicy for adb service
- Fix adb pull/push operations.
- Fix interactive shell execution.
Signed-off-by: Abhilasha Manna <amanna@qti.qualcomm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-oe')
| -rw-r--r-- | meta-oe/dynamic-layers/selinux/recipes-security/refpolicy/refpolicy-targeted/0001-Added-sepolicy-for-adb-service.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta-oe/dynamic-layers/selinux/recipes-security/refpolicy/refpolicy-targeted/0001-Added-sepolicy-for-adb-service.patch b/meta-oe/dynamic-layers/selinux/recipes-security/refpolicy/refpolicy-targeted/0001-Added-sepolicy-for-adb-service.patch index f766bc3123..62f81e4ffb 100644 --- a/meta-oe/dynamic-layers/selinux/recipes-security/refpolicy/refpolicy-targeted/0001-Added-sepolicy-for-adb-service.patch +++ b/meta-oe/dynamic-layers/selinux/recipes-security/refpolicy/refpolicy-targeted/0001-Added-sepolicy-for-adb-service.patch | |||
| @@ -64,13 +64,13 @@ index 000000000..f7e8ac7d0 | |||
| 64 | +# Minimal Rules Required for adbd service | 64 | +# Minimal Rules Required for adbd service |
| 65 | +allow adbd_t self:capability sys_resource; | 65 | +allow adbd_t self:capability sys_resource; |
| 66 | + | 66 | + |
| 67 | +domain_interactive_fd(adbd_t) | ||
| 67 | +dev_rw_usbfs(adbd_t) | 68 | +dev_rw_usbfs(adbd_t) |
| 68 | +files_read_etc_files(adbd_t) | 69 | +files_read_etc_files(adbd_t) |
| 70 | +files_rw_etc_runtime_files(adbd_t) | ||
| 69 | +term_use_ptmx(adbd_t) | 71 | +term_use_ptmx(adbd_t) |
| 70 | +term_use_generic_ptys(adbd_t) | 72 | +term_use_generic_ptys(adbd_t) |
| 71 | + | 73 | + |
| 72 | + | ||
| 73 | + | ||
| 74 | -- | 74 | -- |
| 75 | 2.43.0 | 75 | 2.43.0 |
| 76 | 76 | ||
