7109 Commits

Author SHA1 Message Date
Elliott Hughes
b1955cc447 am 56d790fc: am c65cbf97: Merge "Fix <sys/resource.h>."
* commit '56d790fceed92d7d970da8a1bb598bf7c78db7ee':
  Fix <sys/resource.h>.
2014-01-09 19:11:47 +00:00
Elliott Hughes
56d790fcee am c65cbf97: Merge "Fix <sys/resource.h>."
* commit 'c65cbf97d9769025ad83d6e7f4e7daa58a273a4c':
  Fix <sys/resource.h>.
2014-01-09 11:05:35 -08:00
Elliott Hughes
c65cbf97d9 Merge "Fix <sys/resource.h>." 2014-01-09 19:01:15 +00:00
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
Elliott Hughes
cf6090561b am e5af4430: am 8c6c9801: am 8276d287: Merge "Our dirent is a dirent64."
* commit 'e5af4430477b3fb8a6faaa5348a6dda4574fcea6':
  Our dirent is a dirent64.
2014-01-09 01:31:07 +00:00
Elliott Hughes
90e61a3039 am 49fd7864: am 2ab8dd30: am 66f473ef: Merge "Add <sys/reg.h>."
* commit '49fd7864cd997f78ac683c8c54dd009020c3d0e5':
  Add <sys/reg.h>.
2014-01-09 01:31:07 +00:00
Elliott Hughes
e5af443047 am 8c6c9801: am 8276d287: Merge "Our dirent is a dirent64."
* commit '8c6c9801f175acbd7ebde6e2f855e0b47ae0f96e':
  Our dirent is a dirent64.
2014-01-09 01:26:31 +00:00
Elliott Hughes
49fd7864cd am 2ab8dd30: am 66f473ef: Merge "Add <sys/reg.h>."
* commit '2ab8dd30ef455973c94a7386c70f0d4627789bab':
  Add <sys/reg.h>.
2014-01-09 01:26:30 +00:00
Elliott Hughes
8c6c9801f1 am 8276d287: Merge "Our dirent is a dirent64."
* commit '8276d2875f64587e266567f5bb2c5e0c70ef0a5d':
  Our dirent is a dirent64.
2014-01-08 17:20:16 -08:00
Elliott Hughes
2ab8dd30ef am 66f473ef: Merge "Add <sys/reg.h>."
* commit '66f473ef3313a2af7b9639f134e107a804d1e164':
  Add <sys/reg.h>.
2014-01-08 17:20:15 -08:00
Elliott Hughes
8276d2875f Merge "Our dirent is a dirent64." 2014-01-09 01:15:27 +00:00
Elliott Hughes
66f473ef33 Merge "Add <sys/reg.h>." 2014-01-09 01:15:10 +00:00
Elliott Hughes
72dee4e4aa am d0a17beb: am 548eddab: am 8a6eec38: Merge "Fix x86_64 register names in <sys/user.h>."
* commit 'd0a17beb73c851babf18736773645dbca206f69b':
  Fix x86_64 register names in <sys/user.h>.
2014-01-09 00:37:52 +00:00
Elliott Hughes
16b28da0df am 36a3f941: am 60ff1387: am 5d5cc227: Merge "We shouldn\'t have a <sys/dirent.h> that\'s a subset of <dirent.h>."
* commit '36a3f941d07ad58b7df1152b1cfb6041604eb666':
  We shouldn't have a <sys/dirent.h> that's a subset of <dirent.h>.
2014-01-09 00:37:51 +00:00
Elliott Hughes
d0a17beb73 am 548eddab: am 8a6eec38: Merge "Fix x86_64 register names in <sys/user.h>."
* commit '548eddab41c1665f1baf20be7d9d5267e9243087':
  Fix x86_64 register names in <sys/user.h>.
2014-01-09 00:35:30 +00:00
Elliott Hughes
36a3f941d0 am 60ff1387: am 5d5cc227: Merge "We shouldn\'t have a <sys/dirent.h> that\'s a subset of <dirent.h>."
* commit '60ff1387f418faa24f0eb6f00e72ad1674b3bcaa':
  We shouldn't have a <sys/dirent.h> that's a subset of <dirent.h>.
2014-01-09 00:35:30 +00:00
Elliott Hughes
38f0ef3ff7 Our dirent is a dirent64.
Change-Id: Idc9ebfd900fddd4f7c7ac95bc9b74401ebc801a3
2014-01-08 16:31:36 -08:00
Elliott Hughes
548eddab41 am 8a6eec38: Merge "Fix x86_64 register names in <sys/user.h>."
* commit '8a6eec38eb19b5af317b57c15459f9786df83eba':
  Fix x86_64 register names in <sys/user.h>.
2014-01-08 16:30:17 -08:00
Elliott Hughes
60ff1387f4 am 5d5cc227: Merge "We shouldn\'t have a <sys/dirent.h> that\'s a subset of <dirent.h>."
* commit '5d5cc2273f7be6b3d9fe4e5787ab22bc137c811a':
  We shouldn't have a <sys/dirent.h> that's a subset of <dirent.h>.
2014-01-08 16:30:17 -08:00
Elliott Hughes
5b17e4da39 Add <sys/reg.h>.
This describes the offsets into ptrace's returned arrays of registers
for x86 and x86-64.

Change-Id: I044f03e286673999a298b73a813d4ad366625845
2014-01-08 16:29:22 -08:00
Elliott Hughes
8a6eec38eb Merge "Fix x86_64 register names in <sys/user.h>." 2014-01-09 00:24:55 +00:00
Elliott Hughes
5d5cc2273f Merge "We shouldn't have a <sys/dirent.h> that's a subset of <dirent.h>." 2014-01-09 00:24:32 +00:00
Elliott Hughes
eddc8ece3d Fix x86_64 register names in <sys/user.h>.
Change-Id: Ieb327247a41f6195589716170e324d1cd1251b96
2014-01-08 15:54:19 -08:00
Elliott Hughes
155b076420 We shouldn't have a <sys/dirent.h> that's a subset of <dirent.h>.
glibc has no <sys/dirent.h>. If we do have to bring this back, we
should probably just have one file #include the other.

Change-Id: I5c0bf9c03769daf3b23f69778e9f01f81c3de9ec
2014-01-08 15:51:13 -08:00
Elliott Hughes
398aadbf6d am e4f4ef04: am eac00eb7: am 4c8caf0a: Merge "<sched.h> should offer both __sched_priority and sched_priority."
* commit 'e4f4ef047c7240d5603ad4e65007f4b79a2fefa3':
  <sched.h> should offer both __sched_priority and sched_priority.
2014-01-08 02:53:05 +00:00
Elliott Hughes
f89abab0cb am fccb66b3: am 4458a5a7: am 4faf76ca: Merge "<fcntl.h> should get you the POSIX_FADV_* constants."
* commit 'fccb66b3ab3f6e5672a46d4730d545859308dc8c':
  <fcntl.h> should get you the POSIX_FADV_* constants.
2014-01-08 02:53:04 +00:00
Elliott Hughes
e4f4ef047c am eac00eb7: am 4c8caf0a: Merge "<sched.h> should offer both __sched_priority and sched_priority."
* commit 'eac00eb72bb6b7cfb9fb949df2dec52783df4bc9':
  <sched.h> should offer both __sched_priority and sched_priority.
2014-01-08 02:50:22 +00:00
Elliott Hughes
fccb66b3ab am 4458a5a7: am 4faf76ca: Merge "<fcntl.h> should get you the POSIX_FADV_* constants."
* commit '4458a5a78a9036e17d4747e0350e543588d97952':
  <fcntl.h> should get you the POSIX_FADV_* constants.
2014-01-08 02:50:21 +00:00
Elliott Hughes
eac00eb72b am 4c8caf0a: Merge "<sched.h> should offer both __sched_priority and sched_priority."
* commit '4c8caf0ad39768e614fb4c1f5ef415aab223adb2':
  <sched.h> should offer both __sched_priority and sched_priority.
2014-01-07 18:45:48 -08:00
Elliott Hughes
4458a5a78a am 4faf76ca: Merge "<fcntl.h> should get you the POSIX_FADV_* constants."
* commit '4faf76ca114a11cd264b0f5907e517add4585b27':
  <fcntl.h> should get you the POSIX_FADV_* constants.
2014-01-07 18:45:48 -08:00
Elliott Hughes
e0d647701e am ec93120e: am 82bbaf7e: am bc4e135a: Merge "Add SWAP_FLAG_* constants to <sys/swap.h>."
* commit 'ec93120e63b44e88ee4665820b7b29c0757852f7':
  Add SWAP_FLAG_* constants to <sys/swap.h>.
2014-01-08 02:43:02 +00:00
Elliott Hughes
4c8caf0ad3 Merge "<sched.h> should offer both __sched_priority and sched_priority." 2014-01-08 02:41:04 +00:00
Elliott Hughes
4faf76ca11 Merge "<fcntl.h> should get you the POSIX_FADV_* constants." 2014-01-08 02:40:44 +00:00
Elliott Hughes
ec93120e63 am 82bbaf7e: am bc4e135a: Merge "Add SWAP_FLAG_* constants to <sys/swap.h>."
* commit '82bbaf7e88440dc68f21cfe1b35c5a0f4a7b3dd2':
  Add SWAP_FLAG_* constants to <sys/swap.h>.
2014-01-08 02:40:32 +00:00
Elliott Hughes
82bbaf7e88 am bc4e135a: Merge "Add SWAP_FLAG_* constants to <sys/swap.h>."
* commit 'bc4e135a8ec0a72d07b2d74a082067e8e56c1f62':
  Add SWAP_FLAG_* constants to <sys/swap.h>.
2014-01-07 18:36:36 -08:00
Elliott Hughes
bc4e135a8e Merge "Add SWAP_FLAG_* constants to <sys/swap.h>." 2014-01-08 02:31:55 +00:00
Elliott Hughes
91a7e423a4 am 24ed782f: am d2fe982b: am 1c1b8354: Merge "Define fsid_t as well as __fsid_t."
* commit '24ed782faaf2f373c9c89a8c403bc3ec2e56bab8':
  Define fsid_t as well as __fsid_t.
2014-01-08 02:24:31 +00:00
Elliott Hughes
65c6f3099e Add SWAP_FLAG_* constants to <sys/swap.h>.
Bug: 9336527
Change-Id: I679be4d8425ba177dd782e714f465caf9daa976c
2014-01-08 02:23:06 +00:00
Elliott Hughes
24ed782faa am d2fe982b: am 1c1b8354: Merge "Define fsid_t as well as __fsid_t."
* commit 'd2fe982beec5ab7a2c9cc07239f276e7fcbecc46':
  Define fsid_t as well as __fsid_t.
2014-01-08 02:22:17 +00:00
Elliott Hughes
d2fe982bee am 1c1b8354: Merge "Define fsid_t as well as __fsid_t."
* commit '1c1b83549f8b96fec4cb7037cf595171909855c2':
  Define fsid_t as well as __fsid_t.
2014-01-07 18:16:44 -08:00
Elliott Hughes
1c1b83549f Merge "Define fsid_t as well as __fsid_t." 2014-01-08 02:11:05 +00:00
Elliott Hughes
bbb34f9536 <sched.h> should offer both __sched_priority and sched_priority.
If glibc hadn't already done things this way round, I'd have
called the field sched_priority and the macro __sched_priority
since that would seem less likely to cause trouble, but glibc
source compatibility is probably more important.

Change-Id: I8a8a477f2aa87cae641069c5c84b4fcab3152a82
2014-01-07 17:48:30 -08:00
Elliott Hughes
01e505ac9c <fcntl.h> should get you the POSIX_FADV_* constants.
Change-Id: I9de8b840570b228308c12d72b7617b8758237fb8
2014-01-07 17:47:20 -08:00
Elliott Hughes
abfc88fed7 Define fsid_t as well as __fsid_t.
Change-Id: Ib8efbd913a0e6bfe27b88c1342bd5cec926dd74e
2014-01-07 17:44:51 -08:00
Elliott Hughes
6f32b90ea4 am 0d668937: am 654a26b8: am 27a4bb31: Merge "Regenerate the NOTICE files."
* commit '0d66893771259bb82458ba303ff5f58fd9f9f74e':
  Regenerate the NOTICE files.
2014-01-07 22:00:58 +00:00
Elliott Hughes
0d66893771 am 654a26b8: am 27a4bb31: Merge "Regenerate the NOTICE files."
* commit '654a26b8c43a7955c5b33c5f988f93d6f71d6aa1':
  Regenerate the NOTICE files.
2014-01-07 21:59:08 +00:00
Elliott Hughes
654a26b8c4 am 27a4bb31: Merge "Regenerate the NOTICE files."
* commit '27a4bb319885f9ed218ebca02a92870582b35fd4':
  Regenerate the NOTICE files.
2014-01-07 13:52:39 -08:00
Elliott Hughes
27a4bb3198 Merge "Regenerate the NOTICE files." 2014-01-07 21:48:31 +00:00
Elliott Hughes
54a7494f17 Regenerate the NOTICE files.
Also standardize the orthography in a few places to reduce near-duplicates
in the NOTICE files.

Change-Id: I347c75e817be61ec1b9c5b4b96226feedc8d09ab
2014-01-07 13:46:11 -08:00
Christopher Ferris
a515fdfe15 am 4beb09a0: am 292f4473: am 10cd709f: Merge "Add cfi directives to x86 syscalls."
* commit '4beb09a0730ccd254a0f7683425911d7c90a1431':
  Add cfi directives to x86 syscalls.
2014-01-07 01:46:15 +00:00