bionic/libc/arch-arm
Elliott Hughes 0f461e35f6 Fix <sys/resource.h>.
The situation here is a bit confusing. On 64-bit, rlimit and rlimit64 are
the same, and so getrlimit/getrlimit64, setrlimit/setrlimit64,
and prlimit/prlimit64 are all the same. On 32-bit, rlimit and rlimit64 are
different. 32-bit architectures other than MIPS go one step further by having
an even more limited getrlimit system call, so arm and x86 need to use
ugetrlimit instead of getrlimit. Worse, the 32-bit architectures don't have
64-bit getrlimit- and setrlimit-equivalent system calls, and you have to use
prlimit64 instead. There's no 32-bit prlimit system call, so there's no
easy implementation of that --- what should we do if the result of prlimit64
won't fit in a struct rlimit? Since 32-bit survived without prlimit/prlimit64
for this long, I'm not going to bother implementing prlimit for 32-bit.

We need the rlimit64 functions to be able to build strace 4.8 out of the box.

Change-Id: I1903d913b23016a2fc3b9f452885ac730d71e001
2014-01-09 11:00:04 -08:00
..
bionic Regenerate the NOTICE files. 2014-01-07 13:46:11 -08:00
cortex-a7 libc/arm: add cortex-a7 cpu variant 2013-03-23 01:38:22 -07:00
cortex-a8 libc/arm: add cortex-a8 cpu variant 2013-05-15 20:13:28 -07:00
cortex-a9 Add .cfi_startproc/.cfi_endproc to ENTRY/END. 2013-11-19 16:31:24 -08:00
cortex-a15 Merge commit '811b0cdb2d6e4a697dbc63a678712759dd0db242' into HEAD 2013-11-22 13:38:33 -08:00
generic Clean up some ARMv4/ARMv5 cruft. 2013-12-13 14:02:30 -08:00
include/machine Remove <machine/kernel.h>. 2013-12-18 11:21:55 -08:00
krait Merge commit '811b0cdb2d6e4a697dbc63a678712759dd0db242' into HEAD 2013-11-22 13:38:33 -08:00
syscalls Fix <sys/resource.h>. 2014-01-09 11:00:04 -08:00
arm.mk Add cfi directives to all arm assembly. 2013-12-02 19:13:12 -08:00
syscalls.mk Fix <sys/resource.h>. 2014-01-09 11:00:04 -08:00