3 ms·
Yeah, right, just like the PS3 was intentionally hard to develop for to keep away the rubble. That worked out really great (at least Sony did a complete 180 and
by flohofwoe 8y ago
Yeah, right, just like the PS3 was intentionally hard to develop for to keep away the rubble. That worked out really great (at least Sony did a complete 180 and made the PS4 SDK a great development environment).
https://www.tomshardware.co.uk/sony-playstation-ps3-developers-hirai,news-30120.html https://www.tomshardware.co.uk/sony-playstation-ps3-develope...
As long as Android allows running native code via JNI, the security concerns are void anyway. If they are really concerned about security, they would fix their development tools (just like Apple did by integrating clang ASAN and UBSAN right into the Xcode UI).
- pjmlp 8y agoI guess you haven't been paying attention to the clamping down of the NDK I was talking about. https://android-developers.googleblog.com/2016/06/improving-stability-with-private-cc.html https://android-developers.googleblog.com/2016/06/improving-... https://android-developers.googleblog.com/2017/04/fortify-in-android.html https://android-developers.googleblog.com/2017/04/fortify-in... https://android-developers.googleblog.com/2017/08/hardening-kernel-in-android-oreo.html https://android-developers.googleblog.com/2017/08/hardening-... https://android-developers.googleblog.com/2018/10/control-flow-integrity-in-android-kernel.html https://android-developers.googleblog.com/2018/10/control-fl... Also Google is working with ARM to adopt the new memory tagging architecture from ARMv83+ in Android. https://llvm.org/devmtg/2018-10/slides/Serebryany-Stepanov-Tsyrklevich-Memory-Tagging-Slides-LLVM-2018.pdf https://llvm.org/devmtg/2018-10/slides/Serebryany-Stepanov-T...
- gmueckl 8y agoOne article is about enforcing the exvlusive use of public APIs. The rest is about hardening the C/C++ code of AOSP. I dobnot see any "clamping down" here. What am I missing?
- pjmlp 8y agoUsing SE Linux and seccomp to close down entry points to the Linux kernel. Since this work only started on Android 7, it is clamping down the free reign that existed before.
- kllrnohj 8y agoExcept they allow nearly everything for regular Android apps since libc lets you access nearly every syscall. Nothing was meaningfully "clamped down" there. You can't directly syscall some obsolete syscalls anymore, and you can't syscall random numbers, but nearly any actual real syscall is still accessible and nothing indicates that it won't be. As long as libc can do it so can you, since you & libc are in the same security domain. Or anything else that an NDK library can do in your process, you can go poke at that syscall, too. It'd almost always be stupid to do that instead of going through the wrappers, but you technically can
- pjmlp 8y agoAndroid uses bionic.
- kllrnohj 8y agoYes, and..? Bionic is Android's libc. libc is just the name of the C standard library, not any particularly C standard library. You might be confused and thinking of glibc, which is a particular libc implementation.
- pjmlp 8y agoAnd as such it is only required to expose ISO C functions.
- gmueckl 8y agoLooking at this list, the blocked syscalls do not seem to be too bad: https://github.com/aosp-mirror/platform_bionic/blob/master/libc/SECCOMP_BLACKLIST_APP.TXT https://github.com/aosp-mirror/platform_bionic/blob/master/l... This is mostly setgid/setuid, mount point and system clock related stuff. Except for syslog and chroit, I see no syscalls that you should be using in a user process anyway. So technically, this is clamping down Android, but it seems like a pretty reasonable restriction and far from a heavy handed approach.