From 3c68afee054039ac6f7858438843fdcacec3191c Mon Sep 17 00:00:00 2001 From: Victor Hsieh Date: Wed, 18 Sep 2019 14:33:54 -0700 Subject: [PATCH] Mirror fs-verity ownership UID to Java This has been done in system/core, so mirroring for later use. https://android-review.googlesource.com/c/platform/system/core/+/1115493 Test: compile Bug: 112038744 Change-Id: I2d7f5d38caae0b6ada1f208b3d71d937d527716e --- core/java/android/os/Process.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/java/android/os/Process.java b/core/java/android/os/Process.java index 74c89d6898e5..f85297627d76 100644 --- a/core/java/android/os/Process.java +++ b/core/java/android/os/Process.java @@ -182,6 +182,12 @@ public class Process { */ public static final int NETWORK_STACK_UID = 1073; + /** + * Defines the UID/GID for fs-verity certificate ownership in keystore. + * @hide + */ + public static final int FSVERITY_CERT_UID = 1075; + /** {@hide} */ public static final int NOBODY_UID = 9999; -- 2.11.0