Elliott Hughes 78e4f8fed2 syscall(3)'s return type should be long.
This doesn't require us to change any of the syscall implementations
because (a) the LP32 ones have sizeof(int) == sizeof(long) anyway,
which is how we never noticed this bug before and (b) the LP64 ones
all use a 64-bit register for the result (and for the syscall number
too).

Bug: https://code.google.com/p/android/issues/detail?id=73952
Bug: 16568314

(cherry picked from commit 21972b61ec0572395c5684eebc6cc7b3a4c9e3be)

Change-Id: Ifbc424be29e5650ec72a24df25dd35f24fdd5b3c
2014-07-28 15:39:24 -07:00
..
2014-07-11 09:28:53 -07:00
2014-07-24 11:17:55 -07:00
2014-07-22 20:43:55 -07:00
2014-07-28 09:33:00 -07:00
2014-07-22 11:24:17 -07:00
2014-06-13 10:55:19 -07:00
2014-07-24 15:14:06 -07:00
2014-07-24 15:14:06 -07:00