Modern Apps git

MAOS.git

Public
git clone https://git.maproj.org/MAOS.git
main ▾

MAOS.git / sepolicy / mosey / priv_app.te

priv_app.te12 lines · 786 BRaw
1# MAOS: Modern Apps Share (com.vayunmathur.share, a presigned priv-app, so domain priv_app)
2# drives Google's Mosey AWDL daemon for AirDrop in place of Google's own Mosey app, which
3# adevtool excludes. These mirror the client allows Google grants mosey_app in the extracted
4# system_ext policy: find IMoseyService, and make binder calls to the daemon (which only
5# transfers back, so the reply direction is all it needs).
6#
7# Included only on devices whose adevtool output ships mosey_server and defines these types;
8# see the SYSTEM_EXT_PRIVATE_SEPOLICY_DIRS lines added by patches/adevtool.patch.
9allow priv_app mosey_service:service_manager find;
10allow priv_app mosey_server:binder { call transfer };
11allow mosey_server priv_app:binder transfer;
12allow priv_app mosey_server:fd use;