Questions tagged [seandroid]

SEAndroid is the android version of SELinux - A mandatory access control (MAC) system for the Android operating system. As a MAC system, it differs from Linux’s familiar discretionary access control (DAC) system.

17 questions
0
votes
1 answer

Add new security policy in SElinux on Android 10

I want witch /dev/i2c-1 device to be outside the SELinux security policy on Android 10. I have the source code for Android 10. I tried creating a .te file in /device/thales/mt8768q/sepolicy/edgelab.te In foo.te, I added a similar example to the…
0
votes
1 answer

Android take screenshot (ROOT)

I am developing an app for taking screenshots with root access. I am using this call to take screenshot: "/system/bin/screencap -p " + getFilesDir() + "screen.png" However it creates this screenshot in root context and I can't access it with my app…
horin
  • 1,664
  • 6
  • 23
  • 52
1
2