History log of /bionic/libc/arch-arm/syscalls/___fchmodat.S
Revision Date Author Comments
f5a9123d9f365e3a72ac9f2a3921f439541a87e8 28-Apr-2016 Christopher Ferris <cferris@google.com> Add unwind information for r7 in arm syscalls.

It turns out that clang can emit code where the sp is saved in the r7
register on arm. Unfortunately, a lot of our syscalls overwrite that
value while the syscall is executing, so unwinding through that syscall
fails.

Update the syscall generation code to add unwinding information for
these uses.

Bug: 28411713
(cherry picked from commit 6e45d37decbbaf78ed4685213aebb1c9b5ccf8c2)

Change-Id: Ib775effc44c4113735fe9032b0602b9d63e3e390
6e45d37decbbaf78ed4685213aebb1c9b5ccf8c2 28-Apr-2016 Christopher Ferris <cferris@google.com> Add unwind information for r7 in arm syscalls.

It turns out that clang can emit code where the sp is saved in the r7
register on arm. Unfortunately, a lot of our syscalls overwrite that
value while the syscall is executing, so unwinding through that syscall
fails.

Update the syscall generation code to add unwinding information for
these uses.

Bug: 28411713
Change-Id: Id51a5d43c058631bb50834527f93fa299bbcf759
00490ae3f351e07ed4cc2a94b11cba6a22f37311 03-Feb-2015 Nick Kralevich <nnk@google.com> Ensure raw fchmod/fchmodat syscalls are hidden.

In https://android-review.googlesource.com/#/c/127908/5/libc/SYSCALLS.TXT@116
Elliott said:

for LP64 these will be hidden. for LP32 we were cowards and left
them all public for compatibility (though i don't think we ever
dremeled to see whether it was needed). we don't have an easy
way to recognize additions, though, so we can't prevent adding
new turds.

Add a mechanism to prevent the adding of new turds, and use that
mechanism on the fchmod/fchmodat system calls.

Bug: 19233951
Change-Id: I98f98345970b631a379f348df57858f9fc3d57c0