Commit graph

26 commits

Author SHA1 Message Date
Michael Bestas
31691fe2c7
sepolicy: Update paths for new repository location
Change-Id: Ibdaed7b3ff6463c682c65091ffbc82c36bfff348
2023-10-24 20:06:54 +03:00
Himanshu Agrawal
c61c806e02 sepolicy_vndr: Compilation fix for S upgrade
Change-Id: Ie41b7cc0bb91d5d92480fafa9d44bcbe8b855343
2021-11-11 06:34:38 -08:00
Akhil Manikoth Kallankandy
a805a80f18 sensors:USTA crash while launch
Change-Id: I60559ab4bb06edf584f743174e77bf2a2a07a6da
2021-01-15 01:30:42 -08:00
xiaohuin
0c5dfc296b sepolicy: Add permission for hang_guard
Allow sepolicy rules for hang_guard to
send signal to process, write into kmsg,
look through proc and write into sysrq.

Change-Id: Ia707097a5e4867377138df7948f50441f560bdd6
2020-11-30 18:48:30 -08:00
Huang Li
68883cf73e sepolicy_vndr: Inherit base network permissions from netd for mst_test_app
Change-Id: I71e059c47c10610a53dfb3d586d7234b6d13848a
2020-10-29 02:56:30 -07:00
Huang Li
519d51ce0f sepolicy_vndr: init sepolicy for mst_test_app
Change-Id: Idbb1f753e9760fcd0c1bf5053677744230c147f2
2020-09-23 18:19:54 +08:00
qctecmdr
e11526d0c0 Merge "sepolicy: add rule to use diag hal for Factory tool" 2020-08-18 03:32:12 -07:00
Huang Li
349d0dda2e sepolicy: add rule to use diag hal for Factory tool
As diag team use diag hal instead of /dev/diag, need add sepolicy to access diag hal for factory tool.

Change-Id: I151fda397d4b54d340e367a202bc43ac117fa9df
CRs-Fixed: 2744148
2020-08-15 12:58:09 +08:00
Jeya R
3f41824844 sepolicy: add policies for DSP HAL manager
Add DSP HAL manager related attributes and policies. Allow untrusted
shell apps and APKs to be a client of the DSP HAL server. Mark the
DSP HAL interface library as same process HAL.

Change-Id: I7b2e5c716c6191d480d26d39a3adf188dc3aefb3
2020-08-11 12:30:55 +05:30
Bavyasritha Alahari
b264eb4513 sepolicy:remove legacy sysmon_app domain
Remove unused sysmon_app domain from the legacy test
and corresponding rule in seapp_contexts.

Change-Id: I54390f9d186477e5ac52b363392db4efbe546664
2020-08-04 17:32:55 +05:30
Bavyasritha Alahari
bd1c287701 sepolicy: move sysmonapp domain to test
Move sysmonapp domain applications to tests folders
under legacy and qva. Also extend the sepolicy rules
to respective platform signed ones.

Change-Id: I6923d59300a94c1a9c63c9d3fc32050bb86f9271
2020-07-28 15:23:44 +05:30
Gopal Krishna Shukla
23584d16f4 sepolicy: add legacy support for debugutils HAL
Change-Id: Ifcdf032b11af3481ef05749cd89301368b28badf
2020-07-22 11:17:27 +05:30
Rajshekar Eashwarappa
420b0f19fc Sepolicy: Comment out neverallow violations
To compile sdm710 target.

Change-Id: I274b7ad2da86a39f6fe7295eb77570f1bdd87375
2020-04-07 10:28:20 -07:00
Jaihind Yadav
2af4ec87b0 sepolicy: adding vendor_ prefix changes for pub/priv dirs.
to avoid naming colision with system types we are adding vendor_ prefix for all vendor defined types.

Change-Id: I1396f2c6d9576af3c3755096bb1e69d254b6db4e
2020-01-14 07:14:38 -08:00
Vivek Arugula
452c63a129 sepolicy: avoid avc denials in USTA test app path
Change-Id: I8f2ab92e54f66c79a2979c6825aed68f81a1739f
2019-10-23 13:12:22 -07:00
kranthi
9476d1b95c Sepolicy : Add dont audit for vendor_gles_data_file label
System process cannot access vendor partition files.

Change-Id: I7fd5805ac98319660c1e5f9fca3ae2137a49d0a0
2019-09-23 16:41:37 +05:30
Vivek Arugula
49a8c0000d sepolicy : Add policy rules for usta service
As part of making USTA (Sensor android test application) as
installable, we split the app into 2 parts. One Acts as only UI,
another one acts as service which interacts with sensors native
via JNI. Both the apps are placed in system/app path only.

Change-Id: I58df425bebef96b9d6515179e9581eed03571ad6
2019-09-13 17:34:22 -07:00
Vivek Arugula
9908060da4 sepolicy: Allow USTA test app to access /data/sensors/scripts for legacy path.
Change-Id: I2526ac36b4b1f55b2aa11bb34350ef14ba306290
2019-06-28 12:13:03 +05:30
Ravi Kumar Siddojigari
7225802ecb sepolicy : moving dumpstate permission to normal builds .
As the testcase is expected to pass in even userbuild .
Moving the rule out of test folder .

Change-Id: I0cab3ac99d99b417b159a6229e61e3a4fc492497
2019-06-19 11:11:08 +05:30
Ravi Kumar Siddojigari
778c5bfc40 sepolicy : addressed dumpstate related denials.
As part of CTS testing its expected no denails should be seen
from dumpstate domain during testing so addressing generic
permission issue.

test :testNoBugreportDenials

Change-Id: Ic60a49e6330c42aa99280af8e6913af140e981e5
2019-06-03 18:21:39 +05:30
Sandeep Neerudu
ff548122c8 sepolicy: Add persist file access rules for USTA test App
Change-Id: I1ea7b7bd2a77dc37021fc3312ca04e25eeff06a9
2019-05-15 06:35:49 -07:00
Ravi Kumar Siddojigari
5afe6b90f2 sepolicy : addressed dumpstate related denials.
As part of CTS testing its expected no denails should be seen
from dumpstate domain during testing so addressing generic
permission issue.

test :testNoBugreportDenials

Change-Id: I27178e6b4180d53cd5f6574bf71fe54819b10454
2019-05-07 00:37:11 -07:00
Manu Prasad
d3cc9189a0 sepolicy: Change policy for wfd on legacy targets
WFD requires revision in its SEAndroid policies due
to an OS upgrade and design re-architecture to conform
to system-wide mandates.

Change-Id: I5a9adc280cefab73d8c467379b74951fc3a88e71
2019-04-09 00:26:54 -07:00
Shibin George
1b067e55d1 Allow system_server to access /sys/kernel/debug/binder/state
For debugging watchdog issues in system_server, system_server
needs read access to binder-state file. Access to generic debugfs has
been removed for all processes except init, vendor_init & dumpstate.
This CL labels /sys/kernel/debug/binder/state file and allows
system_server, dumpstate, vendor_init & init, 'r_file_perms' access
to the same file.
The label and the associated access permissions only apply to
userdebug builds.

Change-Id: I159e39bcd05d699454797f8b1d1c17c810c99cb1
2019-04-01 00:41:08 -07:00
Jaihind Yadav
a763f09e5f sepolicy: adding the misc change from 5.0 to 5.9
This is delta of sepolicy 5.0 component between 25th jan to 26th fab.

Change-Id: I43dbdf9f4e4300dfafedbd2e19460fb55844fbac
2019-02-27 17:16:13 +05:30
Jaihind Yadav
c650338277 sepolicy: moving qssi supported legacy target here.
Change-Id: Ife7e851823afc1dcbf2f561c8079795e909544bc
2019-02-18 21:49:10 -08:00