Commit Graph

8495 Commits

Author SHA1 Message Date
Elliott Hughes
1d4be682e3 am 327acb9b: am e6235505: Merge "Fix build: include what you use."
* commit '327acb9bbad825bc2e89eefd3fc408a0706701c3':
  Fix build: include what you use.
2014-04-09 03:22:27 +00:00
Elliott Hughes
327acb9bba am e6235505: Merge "Fix build: include what you use."
* commit 'e62355057ca703eeca22d54a8a0f5b69ca58487c':
  Fix build: include what you use.
2014-04-09 03:18:44 +00:00
Elliott Hughes
e62355057c Merge "Fix build: include what you use." 2014-04-09 02:45:48 +00:00
Elliott Hughes
764a993611 Fix build: include what you use.
Change-Id: I12b2d5e434ad3ed38d4451bd470673781e6ca8fe
2014-04-08 19:44:36 -07:00
Elliott Hughes
c4936e20a3 Flesh out <locale.h>.
This is a trivial implementation that only supports the C/POSIX locale.

Change-Id: Ib11cea4249e1862aca96a8b94d58ea9a418cbe75
2014-04-08 19:37:38 -07:00
Elliott Hughes
f4870920ac am 901b2839: am 7f38a3c9: Merge "Implement _Exit(3)."
* commit '901b2839d8ce51cbfde0c922390c8322107cd27d':
  Implement _Exit(3).
2014-04-09 02:22:37 +00:00
Elliott Hughes
901b2839d8 am 7f38a3c9: Merge "Implement _Exit(3)."
* commit '7f38a3c9bef9c6efc30a6b60873bbdeea04a18f0':
  Implement _Exit(3).
2014-04-09 02:12:43 +00:00
Elliott Hughes
7f38a3c9be Merge "Implement _Exit(3)." 2014-04-09 02:07:01 +00:00
Elliott Hughes
cb48308d1a am a93d2770: am ac70d2e1: Merge "Clean up localeconv(3)."
* commit 'a93d27703f65e11077eb0b965e52d34a1b82e979':
  Clean up localeconv(3).
2014-04-09 01:45:22 +00:00
Elliott Hughes
9f525644df Implement _Exit(3).
Change-Id: Ida6ac844cc87d38c9645b197dd8188bb73e27dbe
2014-04-08 17:16:13 -07:00
Elliott Hughes
a93d27703f am ac70d2e1: Merge "Clean up localeconv(3)."
* commit 'ac70d2e1fe71f98232942237c2b463ea3adbf662':
  Clean up localeconv(3).
2014-04-08 22:04:41 +00:00
Calin Juravle
ff64831b09 Use glibc structure for __cmsg_nxthdr.
Bug: 13418328
Change-Id: I7e656b373e53e80d708325321e48dcedacf5086d
2014-04-09 00:55:24 +03:00
Elliott Hughes
ac70d2e1fe Merge "Clean up localeconv(3)." 2014-04-08 21:52:33 +00:00
Elliott Hughes
5363a45f2b Clean up localeconv(3).
The OpenBSD doesn't support C99, and the extent to which we support
locales is trivial, so just do it ourselves.

Change-Id: If0a06e627ecc593f7b8ea3e9389365782e49b00e
2014-04-08 14:34:12 -07:00
Andrew Hsieh
57ba426913 am 0f147d74: am e2239ddb: Merge "Corrected typo in mips64.mk about memcpy.cpp"
* commit '0f147d74b88ea49ddeb9af82180b67895100bb7d':
  Corrected typo in mips64.mk about memcpy.cpp
2014-04-08 20:24:52 +00:00
Andrew Hsieh
0f147d74b8 am e2239ddb: Merge "Corrected typo in mips64.mk about memcpy.cpp"
* commit 'e2239ddb727f1f07237fa664edaf43b12b18e0a6':
  Corrected typo in mips64.mk about memcpy.cpp
2014-04-08 20:21:10 +00:00
Andrew Hsieh
e2239ddb72 Merge "Corrected typo in mips64.mk about memcpy.cpp" 2014-04-08 20:09:44 +00:00
Elliott Hughes
3680504a9c am 91f4f586: am 5acd2d40: Merge "AArch64: Fix flock64 for LP64."
* commit '91f4f586f3871075a676cf5fbd73d360b13097a3':
  AArch64: Fix flock64 for LP64.
2014-04-08 19:32:56 +00:00
Elliott Hughes
91f4f586f3 am 5acd2d40: Merge "AArch64: Fix flock64 for LP64."
* commit '5acd2d40052c55255a346167e504afb884eeb3af':
  AArch64: Fix flock64 for LP64.
2014-04-08 19:29:29 +00:00
Elliott Hughes
5acd2d4005 Merge "AArch64: Fix flock64 for LP64." 2014-04-08 19:20:51 +00:00
Serban Constantinescu
48501af98f AArch64: Fix flock64 for LP64.
On LP64 systems F_GETLK64, F_SETLK64 and F_SETLKW64 definitions should
map onto the F_GETLK, F_SETLK and F_SETLKW definitions, respectively.
LP64 also doesn't have a struct flock64.

Change-Id: Ibdfed9645d9e946999acd6efa8b96ea6238ed5bf
Signed-off-by: Marcus Oakland <marcus.oakland@arm.com>
Signed-off-by: Serban Constantinescu <serban.constantinescu@arm.com>
2014-04-08 12:19:23 -07:00
Andrew Hsieh
4e3ce11450 Corrected typo in mips64.mk about memcpy.cpp
Change-Id: I1e6fb9373880bcdbad3fa86145e5138ce0d30b31
2014-04-09 02:16:03 +08:00
Elliott Hughes
fc38de6b0d am fc50845e: am 0b0387c9: Merge "Fix kernel header scrubbing for LP64."
* commit 'fc50845e7d921763152753b60417ece57158cf2e':
  Fix kernel header scrubbing for LP64.
2014-04-08 18:05:33 +00:00
Elliott Hughes
fc50845e7d am 0b0387c9: Merge "Fix kernel header scrubbing for LP64."
* commit '0b0387c965894e235b72fa965191bf346270135d':
  Fix kernel header scrubbing for LP64.
2014-04-08 18:00:08 +00:00
Elliott Hughes
0b0387c965 Merge "Fix kernel header scrubbing for LP64." 2014-04-08 17:47:28 +00:00
Elliott Hughes
9195a258ee Fix kernel header scrubbing for LP64.
Change-Id: I4caf44d41edd1b03a20d4c565e169c2b7a2f3686
2014-04-08 10:15:06 -07:00
Christopher Ferris
39a4d58f36 am 8c22d563: am 41059d76: Merge "Add stpcpy/stpncpy."
* commit '8c22d5635869b420ebe4178141a2c6e969a2626a':
  Add stpcpy/stpncpy.
2014-04-08 01:36:36 +00:00
Christopher Ferris
8c22d56358 am 41059d76: Merge "Add stpcpy/stpncpy."
* commit '41059d764f347baa28b8da653a88c772daa9b738':
  Add stpcpy/stpncpy.
2014-04-08 01:31:06 +00:00
Christopher Ferris
41059d764f Merge "Add stpcpy/stpncpy." 2014-04-08 01:21:07 +00:00
Elliott Hughes
bdca710f7d am 6a8d61e1: am b9bb48bf: Merge "Fix the printf issue for 64 bits. The following case:"
* commit '6a8d61e173954878037516bacfd725bdb3bece22':
  Fix the printf issue for 64 bits. The following case:
2014-04-07 23:58:05 +00:00
Elliott Hughes
6a8d61e173 am b9bb48bf: Merge "Fix the printf issue for 64 bits. The following case:"
* commit 'b9bb48bf289eec9053c6d7cc77ebbde2b4356c4b':
  Fix the printf issue for 64 bits. The following case:
2014-04-07 23:52:29 +00:00
Elliott Hughes
b9bb48bf28 Merge "Fix the printf issue for 64 bits. The following case:" 2014-04-07 23:44:50 +00:00
Christopher Ferris
950a58e24d Add stpcpy/stpncpy.
Add tests for the above.

Add the fortify implementations of __stpcpy_chk and __stpncpy_chk.

Modify the strncpy test to cover more cases and use this template for
stpncpy.

Add all of the fortify test cases.

Bug: 13746695
Change-Id: I8c0f0d4991a878b8e8734fff12c8b73b07fdd344
2014-04-07 16:41:53 -07:00
Elliott Hughes
d77b71710f am 602886de: am 26c31a75: Merge "Remove a non-standard turd: strtotimeval."
* commit '602886de86c45016e276cc63fa8f67e1596c97f8':
  Remove a non-standard turd: strtotimeval.
2014-04-07 23:07:30 +00:00
Elliott Hughes
602886de86 am 26c31a75: Merge "Remove a non-standard turd: strtotimeval."
* commit '26c31a75a5bd9a549cefc0424b7cac9e35816711':
  Remove a non-standard turd: strtotimeval.
2014-04-07 23:01:04 +00:00
Elliott Hughes
26c31a75a5 Merge "Remove a non-standard turd: strtotimeval." 2014-04-07 22:53:28 +00:00
Elliott Hughes
efbdb53f84 Remove a non-standard turd: strtotimeval.
Change-Id: I1b1e40746cb573e3fb73a5276969b40c5da36d15
2014-04-07 15:17:19 -07:00
Elliott Hughes
bfe0bc2447 am 53cffd8c: am 5f149f1b: Merge "Implement wctomb(3) for ltrace."
* commit '53cffd8ccd0016200d3345b6e87c20298309bb49':
  Implement wctomb(3) for ltrace.
2014-04-07 21:51:57 +00:00
Elliott Hughes
f5f5fa266d am 0842460e: am 60ba211d: Merge "Fix build: __unused isn\'t unused!"
* commit '0842460e539dd7203af1cea66e6fe2506e8ed856':
  Fix build: __unused isn't unused!
2014-04-07 21:51:56 +00:00
Elliott Hughes
53cffd8ccd am 5f149f1b: Merge "Implement wctomb(3) for ltrace."
* commit '5f149f1bdef31d198c0e84fd8c904204d263e825':
  Implement wctomb(3) for ltrace.
2014-04-07 21:46:16 +00:00
Elliott Hughes
0842460e53 am 60ba211d: Merge "Fix build: __unused isn\'t unused!"
* commit '60ba211d2b1b4205063419b0933cba711b1547d6':
  Fix build: __unused isn't unused!
2014-04-07 21:46:16 +00:00
Elliott Hughes
5f149f1bde Merge "Implement wctomb(3) for ltrace." 2014-04-07 21:39:38 +00:00
Elliott Hughes
60ba211d2b Merge "Fix build: __unused isn't unused!" 2014-04-07 21:37:47 +00:00
Elliott Hughes
50249bca00 Fix build: __unused isn't unused!
Change-Id: I57f2b755d1b2509f9c5504b12a5ff6c50b78b375
2014-04-07 14:36:59 -07:00
Elliott Hughes
77e944fd46 Implement wctomb(3) for ltrace.
This is an implementation in the style of the rest: char == byte.

We might want to come back and implement UTF-8, but this is enough for ltrace.

Bug: 13747066
Change-Id: Ib2b63609c9014fdef9a8491e067467c4fc5ae3cc
2014-04-07 14:29:28 -07:00
Elliott Hughes
7f1ee87ef9 am 3333a7af: am 47931f8f: Merge "Fix aarch64 struct ucontext."
* commit '3333a7af505a5d6230de5a455e9da6eb18ae07c6':
  Fix aarch64 struct ucontext.
2014-04-07 21:02:58 +00:00
Elliott Hughes
3333a7af50 am 47931f8f: Merge "Fix aarch64 struct ucontext."
* commit '47931f8f796b736bd229b6669efcf428108abc47':
  Fix aarch64 struct ucontext.
2014-04-07 20:56:05 +00:00
Elliott Hughes
47931f8f79 Merge "Fix aarch64 struct ucontext." 2014-04-07 20:44:31 +00:00
Elliott Hughes
5c7bda5c61 Fix aarch64 struct ucontext.
Change-Id: I6f0959723a753e8c788275709e7245c103ff88d1
2014-04-07 12:12:00 -07:00
Elliott Hughes
d4dadbfbcd am b49e6c8a: am dc5fcf36: Merge "Define __WORDSIZE like glibc."
* commit 'b49e6c8a542f9c7630ae49215f151b2e3bad817f':
  Define __WORDSIZE like glibc.
2014-04-04 03:19:06 +00:00