Commit Graph

7460 Commits

Author SHA1 Message Date
Christopher Ferris
4beb09a073 am 292f4473: am 10cd709f: Merge "Add cfi directives to x86 syscalls."
* commit '292f4473e3c526955d337ccd0b7eb618d4b64d2d':
  Add cfi directives to x86 syscalls.
2014-01-07 01:44:17 +00:00
Christopher Ferris
292f4473e3 am 10cd709f: Merge "Add cfi directives to x86 syscalls."
* commit '10cd709ff92015a4c2306cdbd6e65260909bffb2':
  Add cfi directives to x86 syscalls.
2014-01-06 17:41:01 -08:00
Christopher Ferris
10cd709ff9 Merge "Add cfi directives to x86 syscalls." 2014-01-07 01:36:44 +00:00
Christopher Ferris
e4bc756121 Add cfi directives to x86 syscalls.
Modify the syscalls script to generate the cfi directives for x86
syscalls.

Update the x86 syscalls.

Change-Id: Ia1993dc714a7e79f917087fff8200e9a02c52603
2014-01-06 16:39:10 -08:00
Elliott Hughes
71d58d5621 am 3d37e2b6: am d7eb7dac: am 5f1322ce: Merge "Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone"
* commit '3d37e2b632d89f98fc2e53c6fa418ddf2d09a493':
  Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone
2014-01-06 23:59:39 +00:00
Elliott Hughes
3d37e2b632 am d7eb7dac: am 5f1322ce: Merge "Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone"
* commit 'd7eb7dacd9a878e7ce3772ebf9b5e6cfcee6ab1c':
  Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone
2014-01-06 23:52:55 +00:00
Elliott Hughes
d7eb7dacd9 am 5f1322ce: Merge "Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone"
* commit '5f1322cecf5af4bedfb2d3cf857d18e73a233b9d':
  Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone
2014-01-06 15:45:32 -08:00
Elliott Hughes
5f1322cecf Merge "Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone" 2014-01-06 23:37:21 +00:00
Elliott Hughes
9555fa7ec0 am 30ef1f3e: am ca63af9e: am b235f8c8: Merge "Fix dev_t (for LP64)."
* commit '30ef1f3e35e8c473b56cefa85617b660fa3a15fb':
  Fix dev_t (for LP64).
2014-01-06 20:56:51 +00:00
Elliott Hughes
6d3183bc40 am 8a6c497f: am 7a0e89b6: am 8c8852f1: Merge "Add TCPOPT_* constants."
* commit '8a6c497fb727e30d88a594f8ebfec9098595ae84':
  Add TCPOPT_* constants.
2014-01-06 20:56:50 +00:00
Elliott Hughes
30ef1f3e35 am ca63af9e: am b235f8c8: Merge "Fix dev_t (for LP64)."
* commit 'ca63af9e81813d978f19854d230e198de6dd4c6d':
  Fix dev_t (for LP64).
2014-01-06 20:46:29 +00:00
Elliott Hughes
8a6c497fb7 am 7a0e89b6: am 8c8852f1: Merge "Add TCPOPT_* constants."
* commit '7a0e89b61b8779ee800e7414736deb973cd0ea1b':
  Add TCPOPT_* constants.
2014-01-06 20:42:06 +00:00
Elliott Hughes
ca63af9e81 am b235f8c8: Merge "Fix dev_t (for LP64)."
* commit 'b235f8c8773c08569a97b0ff7e4c709b216c8478':
  Fix dev_t (for LP64).
2014-01-06 12:41:36 -08:00
Elliott Hughes
7a0e89b61b am 8c8852f1: Merge "Add TCPOPT_* constants."
* commit '8c8852f163c1263e539ba64a41f1389fa487377a':
  Add TCPOPT_* constants.
2014-01-06 12:38:17 -08:00
Elliott Hughes
b235f8c877 Merge "Fix dev_t (for LP64)." 2014-01-06 20:37:03 +00:00
Elliott Hughes
8c8852f163 Merge "Add TCPOPT_* constants." 2014-01-06 20:34:18 +00:00
Chris Dearman
dd00364807 Pass a valid stack pointer to __bionic_clone in pthread.__bionic_clone
__bionic_clone modifies the child stack before cloning so the stack
pointer should be valid. The test is expecting an EINVAL error to be
generated from the incorrect flags: CLONE_THREAD set without
CLONE_SIGHAND.

Change-Id: Ic02192081f6f52df6f03d9810efa82d923247a11
2014-01-04 13:14:35 +00:00
Elliott Hughes
338e6102a6 Add TCPOPT_* constants.
Adds the TCPOPT_* constants from NetBSD. Note that the BSDs also have
TCPOPT_SIGNATURE, but Linux calls that TCPOPT_MD5SIG and glibc doesn't
have any corresponding constant yet, so let's wait until we see which name
wins out.

Change-Id: If53cdada5595285d9a7e7248ef74cd7502d804c0
2014-01-03 15:58:40 -08:00
Elliott Hughes
a3ae611097 am dd18a8df: am 3fcc90c6: am c1c3f7d4: Merge "Remove as many hard-coded constants from the MIPS vfork.S as possible."
* commit 'dd18a8dfd03884ea6e6d71fdd013b2ebe6ebb999':
  Remove as many hard-coded constants from the MIPS vfork.S as possible.
2014-01-03 23:19:42 +00:00
Elliott Hughes
894f8cb139 Fix dev_t (for LP64).
32-bit Android's dev_t was wrong too. We can't fix that without ABI breakage,
but we can at least fix 64-bit Android. And add tests.

Bug: https://code.google.com/p/android/issues/detail?id=54966
Change-Id: Ie2e42cc042b78b669a1a44e55f959dbd9c52c5c9
2014-01-03 14:49:37 -08:00
Elliott Hughes
dd18a8dfd0 am 3fcc90c6: am c1c3f7d4: Merge "Remove as many hard-coded constants from the MIPS vfork.S as possible."
* commit '3fcc90c6c0ed602aeaa51b592e7d8effdae74cc8':
  Remove as many hard-coded constants from the MIPS vfork.S as possible.
2014-01-03 22:45:25 +00:00
Elliott Hughes
3fcc90c6c0 am c1c3f7d4: Merge "Remove as many hard-coded constants from the MIPS vfork.S as possible."
* commit 'c1c3f7d4468f02adbf8ced689d738386e42af773':
  Remove as many hard-coded constants from the MIPS vfork.S as possible.
2014-01-03 14:41:50 -08:00
Elliott Hughes
c1c3f7d446 Merge "Remove as many hard-coded constants from the MIPS vfork.S as possible." 2014-01-03 22:36:53 +00:00
Elliott Hughes
c5bf703c4c Remove as many hard-coded constants from the MIPS vfork.S as possible.
We could do better, but not without MIPS cleaning up their kernel headers.

Change-Id: Ib4d4ce5d720ce8ca27a3f9a1ae07a9a277675af9
2014-01-03 14:27:17 -08:00
Elliott Hughes
83783d4c2d am c2162cc5: am b8f2df91: am 3b36564b: Merge "Use the MAX_ERRNO constant."
* commit 'c2162cc58fd7d68eb64cc787e741770f7f502343':
  Use the MAX_ERRNO constant.
2014-01-03 00:38:52 +00:00
Elliott Hughes
c2162cc58f am b8f2df91: am 3b36564b: Merge "Use the MAX_ERRNO constant."
* commit 'b8f2df91caa8f3f40cff5b324768d3a84232a87f':
  Use the MAX_ERRNO constant.
2014-01-03 00:36:39 +00:00
Elliott Hughes
b8f2df91ca am 3b36564b: Merge "Use the MAX_ERRNO constant."
* commit '3b36564b18d83ec313fd2aa6d7f38576dea3f6b8':
  Use the MAX_ERRNO constant.
2014-01-02 16:30:24 -08:00
Elliott Hughes
3b36564b18 Merge "Use the MAX_ERRNO constant." 2014-01-03 00:24:45 +00:00
Elliott Hughes
a85aaf11fa Use the MAX_ERRNO constant.
If you're going to hardcode a constant, you could at least try to
get the constant right...

Change-Id: I886a2593357d1c4dfd6c42649c63e8a35c15a441
2014-01-02 16:23:24 -08:00
Elliott Hughes
8b73b46948 am 0db8180f: am a4c979e3: am 66d16619: Merge "Remove a hardcoded constant from aarch64\'s vfork."
* commit '0db8180f9720c1b844d4e6c126e98d6bb78c0946':
  Remove a hardcoded constant from aarch64's vfork.
2014-01-02 22:28:16 +00:00
Elliott Hughes
0db8180f97 am a4c979e3: am 66d16619: Merge "Remove a hardcoded constant from aarch64\'s vfork."
* commit 'a4c979e396b60269a0f830e762b531f43718da4b':
  Remove a hardcoded constant from aarch64's vfork.
2014-01-02 22:25:44 +00:00
Elliott Hughes
a4c979e396 am 66d16619: Merge "Remove a hardcoded constant from aarch64\'s vfork."
* commit '66d166192e6b0e1091550e9f584e92521e375df7':
  Remove a hardcoded constant from aarch64's vfork.
2014-01-02 14:21:46 -08:00
Elliott Hughes
66d166192e Merge "Remove a hardcoded constant from aarch64's vfork." 2014-01-02 22:18:36 +00:00
Elliott Hughes
b0a2efc6f2 Remove a hardcoded constant from aarch64's vfork.
Change-Id: Ifc09ca066c32988b8cc9db9e808b9ef4c4d2bfcb
2014-01-02 14:17:30 -08:00
Elliott Hughes
8bea13ddcb am 9d0600e1: am 741d4023: am 7b0c23f1: Merge "Clean up <sched.h>."
* commit '9d0600e16169a326a68543992e428d78d4f67398':
  Clean up <sched.h>.
2014-01-02 21:57:07 +00:00
Elliott Hughes
9d0600e161 am 741d4023: am 7b0c23f1: Merge "Clean up <sched.h>."
* commit '741d4023bb4f752f15221f596c3122de1982cdc1':
  Clean up <sched.h>.
2014-01-02 21:54:39 +00:00
Elliott Hughes
741d4023bb am 7b0c23f1: Merge "Clean up <sched.h>."
* commit '7b0c23f1ac5df8654e0790b9eb3bbfcbf36c0e5f':
  Clean up <sched.h>.
2014-01-02 13:50:41 -08:00
Elliott Hughes
7b0c23f1ac Merge "Clean up <sched.h>." 2014-01-02 21:46:53 +00:00
Elliott Hughes
887e1140fe Clean up <sched.h>.
This patch switches to using the uapi constants. It also adds the missing
setns system call, fixes sched_getcpu's error behavior, and fixes the
gensyscalls script now ARM is uapi-only too.

Change-Id: I8e16b1693d6d32cd9b8499e46b5d8b0a50bc4f1d
2014-01-02 12:05:50 -08:00
Elliott Hughes
1c1a001deb am 19705a6e: am bb184de2: am 17c9fe7d: Merge "Fix MIPS build."
* commit '19705a6e350d3faedfcb69da117f18770528fe4a':
  Fix MIPS build.
2013-12-22 20:14:41 +00:00
Elliott Hughes
19705a6e35 am bb184de2: am 17c9fe7d: Merge "Fix MIPS build."
* commit 'bb184de241025aa34f9ca1c89ecae871f6fde86a':
  Fix MIPS build.
2013-12-22 20:12:20 +00:00
Elliott Hughes
bb184de241 am 17c9fe7d: Merge "Fix MIPS build."
* commit '17c9fe7d2f396294a09344a253b2a16ae400df14':
  Fix MIPS build.
2013-12-22 12:06:52 -08:00
Elliott Hughes
17c9fe7d2f Merge "Fix MIPS build." 2013-12-22 20:03:07 +00:00
Elliott Hughes
5063791535 Fix MIPS build.
Change-Id: I175f427e355fca9a5a3f4e4379d7fcd1f7f6a22d
2013-12-22 12:02:32 -08:00
Elliott Hughes
e2c900cf98 am 56ee4b95: am 8e3bdee3: am 3b2f4142: Merge "Improve dynamic linker diagnostics for internal errors."
* commit '56ee4b955eaa7aaa9fc1f8867b5b4b19d5971c77':
  Improve dynamic linker diagnostics for internal errors.
2013-12-22 19:53:19 +00:00
Elliott Hughes
56ee4b955e am 8e3bdee3: am 3b2f4142: Merge "Improve dynamic linker diagnostics for internal errors."
* commit '8e3bdee39c73af57a3782e10316a2d7a35dc2731':
  Improve dynamic linker diagnostics for internal errors.
2013-12-22 19:51:06 +00:00
Elliott Hughes
14a9c3f516 am 75ed8899: am 2f6f6c0b: am 47033433: Merge "Remove the bogus exit status from _exit_with_stack_teardown."
* commit '75ed8899ac02bf952dd42987f867372a8b56219f':
  Remove the bogus exit status from _exit_with_stack_teardown.
2013-12-22 19:45:47 +00:00
Elliott Hughes
8e3bdee39c am 3b2f4142: Merge "Improve dynamic linker diagnostics for internal errors."
* commit '3b2f4142aa4f2892ecbea89a256b4f5fc94e777a':
  Improve dynamic linker diagnostics for internal errors.
2013-12-22 11:44:52 -08:00
Elliott Hughes
75ed8899ac am 2f6f6c0b: am 47033433: Merge "Remove the bogus exit status from _exit_with_stack_teardown."
* commit '2f6f6c0b8e72c0ca4d6ff76ccd9a806a39b83de3':
  Remove the bogus exit status from _exit_with_stack_teardown.
2013-12-22 19:44:35 +00:00
Elliott Hughes
2f6f6c0b8e am 47033433: Merge "Remove the bogus exit status from _exit_with_stack_teardown."
* commit '470334333e2ad5119b72bb830c51c32852a77c6c':
  Remove the bogus exit status from _exit_with_stack_teardown.
2013-12-22 11:40:10 -08:00