ConfigurationManager gains checkSELinuxPermission (reads /proc/pid/attr) and hasPermissionForUid (delegates to IPackageManager.checkPermission) for AOSP-compliant access control. TeeLatencySimulator provides log-normal distribution matching real QTEE/Trustonic hardware timing profiles. Module customize.sh now generates a device-unique hardware-bound key seed (32 bytes from /dev/random) and clears stale tee_status.txt on install.
9 lines
224 B
Java
9 lines
224 B
Java
package android.os;
|
|
|
|
public class SELinux {
|
|
public static boolean checkSELinuxAccess(
|
|
String scon, String tcon, String tclass, String perm) {
|
|
throw new UnsupportedOperationException("STUB!");
|
|
}
|
|
}
|