getresuid() not implemented when running Android apps
Reported by
fred...@fornwall.net,
Sep 1 2016
|
|||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.89 Safari/537.36
Steps to reproduce the problem:
1. Run an Android app (installed from Google Play) with native code calling getresuid(). A reduced example is the following C file:
#include <stdio.h>
#include <unistd.h>
int main() {
uid_t ruid, euid, suid;
if (getresuid(&ruid, &euid, &suid) == 0) {
printf("ruid=%d, euid=%d, suid=%d\n", ruid, euid, suid);
} else {
perror("getresuid");
}
return 0;
}
2. The getresuid() fails with "getresuid: Function not implemented". Same thing with getreseuid().
What is the expected behavior?
That getresuid() and getreseuid() works for native code in Android apps installed from Google Play.
What went wrong?
The getresuid() and getreseuid() system calls fails due to not being implemented when running Android apps.
Did this work before? No
Chrome version: Channel: dev
OS Version: ver. 3230769
Flash Version:
Let me know if there is a better place to report issues against running Android apps from Google Play.
,
Sep 4 2016
I can confirm this issue exists on my Pixel. Platform info: Chrome version: 54.0.2840.6 ChromeOS: 8743.4.0 ARC version: 3230769 Channel: Dev Platform: 8743.4.0 (Official Build) dev-channel samus Flash: Shockwave Flash 23.0 r0
,
Sep 20 2016
,
Apr 8 2017
This appears to be resolved as of the following: ARC version: 3872362 Platform: 9334.33.0 (Official Build) beta-channel samus Firmware: Google_Samus.6300.174.0
,
Apr 9 2018
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot |
|||
►
Sign in to add a comment |
|||
Comment 1 Deleted