Use uid_t instead of __uid_t am: 7f9e57f296 am: 98ca180882 am: 5c176ed1bb

Original change: https://android-review.googlesource.com/c/platform/external/selinux/+/2261050

Change-Id: I65c0c89da674ab3605597d2ec434f828bba4d6a1
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Colin Cross 2022-10-21 00:16:37 +00:00 committed by Automerger Merge Worker
commit 93d9077a2b

View file

@ -695,7 +695,7 @@ int set_range_from_level(context_t ctx, enum levelFrom levelFrom, uid_t userid,
* This code is Android specific, bionic guarantees that * This code is Android specific, bionic guarantees that
* calls to non-reentrant getpwuid() are thread safe. * calls to non-reentrant getpwuid() are thread safe.
*/ */
struct passwd *(*seapp_getpwuid)(__uid_t uid) = getpwuid; struct passwd *(*seapp_getpwuid)(uid_t uid) = getpwuid;
int seapp_context_lookup_internal(enum seapp_kind kind, int seapp_context_lookup_internal(enum seapp_kind kind,
uid_t uid, uid_t uid,