summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Fix timezone management in the C libraryDavid 'Digit' Turner2010-03-052-0/+14
| | | | | | | | | | | | | | | | | | | | | Define 'timezone' and 'daylight' global variables that are already defined in <time.h> Properly update the 'tm_gmtoff' field in 'struct tm' values.
* | | Merge "QUalcomm H.264 encoder support."Gloria Wang2010-03-031-69/+254
|\ \ \
| * | | QUalcomm H.264 encoder support.Gloria Wang2010-03-031-69/+254
| | | |
* | | | am 71fbeecd: (-s ours) am fd5b1bb8: Add stdlib functions mbstowcs() and ↵Dan Bornstein2010-03-030-0/+0
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | wcstombs(). DO NOT MERGE. Merge commit '71fbeecdbd7bcf2282e4b032ceb2f6ead13dc9cb' * commit '71fbeecdbd7bcf2282e4b032ceb2f6ead13dc9cb': Add stdlib functions mbstowcs() and wcstombs(). DO NOT MERGE.
| * | | am fd5b1bb8: Add stdlib functions mbstowcs() and wcstombs(). DO NOT MERGE.Dan Bornstein2010-03-032-0/+12
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'fd5b1bb85d0a971fd8469112a157380c4d3a146f' into eclair-mr2-plus-aosp * commit 'fd5b1bb85d0a971fd8469112a157380c4d3a146f': Add stdlib functions mbstowcs() and wcstombs(). DO NOT MERGE.
| | * | | Add stdlib functions mbstowcs() and wcstombs(). DO NOT MERGE.Dan Bornstein2010-03-032-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | As with the other wchar functions in Bionic, these are really minimally functional stubs.
* | | | | bonic: libc: cpuacct support for setuid functionsMike Chan2010-03-0221-43/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Any of the setuid functions now updates /acct/uid/ with its own tid before changing users. This is so we can properly account for cpu time per uid. Change-Id: I34186cf4d5228cac8439e582a9e26c01ef3011e4 Signed-off-by: Mike Chan <mike@android.com>
* | | | | libc: kernel: update pmem header with cache flush ioctlDima Zavin2010-03-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ied08844035d4526175dcdcb7f219f9f90c4679d2 Signed-off-by: Dima Zavin <dima@android.com>
* | | | | add sigaltstack syscallAndrei Popescu2010-03-0210-0/+85
| | | | |
* | | | | Fix pthread_sigmask() to return correct error values.David 'Digit' Turner2010-03-012-1/+15
| | | | | | | | | | | | | | | | | | | | | | | | | Before that, it returned -1 on error and set errno (not Posix) After the patch, it returns the error code and leaves errno untouched.
* | | | | Merge "Implement support for RFC 3484 (address selection/sorting) in bionic. ↵David Turner2010-02-242-27/+362
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | (The Java changes required not to mess up the ordering from bionic will arrive in a later commit.) In particular, this will give us more correct behavior when on a 6to4 network, in that IPv4 will usually be preferred over 6to4."
| * | | | | Implement support for RFC 3484 (address selection/sorting) in bionic. (TheSteinar H. Gunderson2010-02-242-27/+362
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Java changes required not to mess up the ordering from bionic will arrive in a later commit.) In particular, this will give us more correct behavior when on a 6to4 network, in that IPv4 will usually be preferred over 6to4. Most of RFC 3484 is implemented -- what's not is rule 3 (avoid deprecated addresses), 4 (prefer home addresses) and 7 (prefer native transport) as they require low-level access to the kernel routing table via netlink. (glibc also started out this way, and these rules are primarily useful in pretty obscure circumstances, so we should be fine for the time being.) Also, rule 9 (use longest matching prefix) has been modified so it does not try to sort IPv4 addresses; given current IPv4 addressing practice these rules are pretty much meaningless. Finally, I've added support for Teredo as a separate label, with slightly lower preference than 6to4. (Vista puts the preference below IPv4 by default. glibc puts the preference together with non-tunneled IPv6.) Note that this patch removes support for the "sortlist" directive in resolv.conf; I've never seen it in actual use, it's irrelevant for Android (since we don't use resolv.conf anyway), and it's not clear how it would be implemented alongside RFC 3484.
* | | | | | bionic: syscalls: Add ioprio_set/ioprio_get syscall wrappersSan Mehat2010-02-2312-0/+175
|/ / / / / | | | | | | | | | | | | | | | Signed-off-by: San Mehat <san@google.com>
* | | | | Merge "Merge memory checking functionality from sandbox"Vladimir Chtchetkine2010-02-175-54/+1068
|\ \ \ \ \
| * | | | | Merge memory checking functionality from sandboxVladimir Chtchetkine2010-02-165-54/+1068
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I304c789a752c9f4af4944ca14b9bf1e7644da15a
* | | | | | Merge "Changed __get_h_errno linkage to "C"."Niko Catania2010-02-121-4/+4
|\ \ \ \ \ \
| * | | | | | Changed __get_h_errno linkage to "C".Nicolas Catania2010-02-121-4/+4
| |/ / / / / | | | | | | | | | | | | | | | | | | Bug:2441631
* | | | | | Fix sem_post() behaviour to wake up multiple waiting threads.David 'Digit' Turner2010-02-122-1/+4
| | | | | |
* | | | | | Fix sem_trywait() implementation + update changelog.David 'Digit' Turner2010-02-122-2/+10
| | | | | |
* | | | | | Fix android_id_from_name to accept "app_0" as a valid ID.David 'Digit' Turner2010-02-121-1/+1
|/ / / / / | | | | | | | | | | | | | | | | | | | | This fixes getpwnam and getpwgrp which returned NULL for "app_0". "app_0" corresponds to uid/gid 10000 and is perfectly valid.
* | | | | Fix debug output in the dynamic linker.David 'Digit' Turner2010-02-117-15/+809
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides a mini-printf implementation that reduces the size of the dynamic linker by 25 KB, by preventing the drag of formatting-related routines from the C library. Also allow traces to be sent to the log, instead of stdout. NOTE: You now need to modify Android.mk to enable/disable debug output.
* | | | | bionic/linker: rename ba_prelink to ba_nonprelinkIliyan Malchev2010-02-101-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -- fixes b/2432550 -- ba_prelink is used to manage non-prelinked libraries, hence ba_nonprelink is a more appropriate name for it Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | Merge "Fix <sys/epoll.h> and <sys/system_properties.h> to include proper C++ ↵David Turner2010-02-092-0/+12
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | inclusion guards"
| * | | | | Fix <sys/epoll.h> and <sys/system_properties.h> to include proper C++ ↵David 'Digit' Turner2010-02-092-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | inclusion guards
* | | | | | am 58060c50: am ee424e23: bionic: update processed kernel header a1026.hIliyan Malchev2010-02-091-1/+2
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '58060c50bc4228a7d0253338cae0437211759959' * commit '58060c50bc4228a7d0253338cae0437211759959': bionic: update processed kernel header a1026.h
| * | | | | am ee424e23: bionic: update processed kernel header a1026.hIliyan Malchev2010-02-091-1/+2
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'ee424e23c10c051ee4760177c85f6003ff20108c' into eclair-plus-aosp * commit 'ee424e23c10c051ee4760177c85f6003ff20108c': bionic: update processed kernel header a1026.h
| | * | | | | bionic: update processed kernel header a1026.handroid-cts-2.1_r5android-cts-2.1_r4android-cts-2.1_r3android-cts-2.1_r2Iliyan Malchev2010-02-081-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | | | am 1db87472: am ba8bfedd: reconcile main tree with open-source eclairThe Android Open Source Project2010-02-050-0/+0
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '1db874720a58ff7e3684116d59ad08bc73db26d9' * commit '1db874720a58ff7e3684116d59ad08bc73db26d9': android-2.1_r1 snapshot
| * | | | | | am ba8bfedd: reconcile main tree with open-source eclairThe Android Open Source Project2010-02-050-0/+0
| |\ \ \ \ \ \ | | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'ba8bfedd04824eea944236ffc885f866c5e9c651' into eclair-plus-aosp * commit 'ba8bfedd04824eea944236ffc885f866c5e9c651': android-2.1_r1 snapshot
| | * | | | | reconcile main tree with open-source eclairandroid-sdk-tools_r5The Android Open Source Project2010-02-050-0/+0
| | |\ \ \ \ \
| | | * \ \ \ \ reconcile android-2.1_r1 snapshotThe Android Open Source Project2010-01-290-0/+0
| | | |\ \ \ \ \
| | | | * | | | | android-2.1_r1 snapshotThe Android Open Source Project2010-01-126-7/+24
| | | | | | | | |
* | | | | | | | | am c0472409: am d0996bb4: bionic: update processed kernel header tpa2018d1.hIliyan Malchev2010-02-021-0/+8
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'c0472409d14eebf797df962dd78fc31afbc4bd07' * commit 'c0472409d14eebf797df962dd78fc31afbc4bd07': bionic: update processed kernel header tpa2018d1.h
| * | | | | | | | am d0996bb4: bionic: update processed kernel header tpa2018d1.hIliyan Malchev2010-02-021-0/+8
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'd0996bb4cd6b6d0fa7c643a809f01e33adc2638d' into eclair-plus-aosp * commit 'd0996bb4cd6b6d0fa7c643a809f01e33adc2638d': bionic: update processed kernel header tpa2018d1.h
| | * | | | | | | bionic: update processed kernel header tpa2018d1.handroid-2.1_r2.1p2android-2.1_r2.1pIliyan Malchev2010-02-021-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | | | | | am 7ec87a19: am 276313ec: bionic: add processed kernel headers a1026.h and ↵Iliyan Malchev2010-02-022-0/+91
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / | | | | | / / / / | |_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tpa2018d1.h Merge commit '7ec87a1926250d3c1f74193bf36417707e691e10' * commit '7ec87a1926250d3c1f74193bf36417707e691e10': bionic: add processed kernel headers a1026.h and tpa2018d1.h
| * | | | | | | am 276313ec: bionic: add processed kernel headers a1026.h and tpa2018d1.hIliyan Malchev2010-02-022-0/+91
| |\ \ \ \ \ \ \ | | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit '276313ec18c18a07e867dffe568a377583cfd905' into eclair-plus-aosp * commit '276313ec18c18a07e867dffe568a377583cfd905': bionic: add processed kernel headers a1026.h and tpa2018d1.h
| | * | | | | | bionic: add processed kernel headers a1026.h and tpa2018d1.hIliyan Malchev2010-02-022-0/+91
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | | | bionic: update processed kernel header msm_camera.hIliyan Malchev2010-01-311-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Iliyan Malchev <malchev@google.com>
* | | | | | | Merge "Implement clone() C library function properly."David Turner2010-01-2515-51/+212
|\ \ \ \ \ \ \
| * | | | | | | Implement clone() C library function properly.David 'Digit' Turner2010-01-2515-51/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Only provide an implementation for ARM at the moment, since it requires specific assembly fragments (the standard syscall stubs cannot be used because the child returns in a different stack).
* | | | | | | | Fix typo in a comment.Doug Kwan2010-01-251-1/+1
|/ / / / / / /
* | | | | | | Align TEXT section to 4K boundary so that we can use both ld and gold.Doug Kwan2010-01-251-1/+6
| | | | | | |
* | | | | | | Add Bionic Changelog in libc/docs/CHANGES.TXTDavid 'Digit' Turner2010-01-211-0/+133
| | | | | | |
* | | | | | | Add implementation of fdprintf, clearenv, and stubs for ttyname_r, *usershellColin Cross2010-01-156-0/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I5fe7e8b6ee5edbb49e707c3b6737a58563781fa3
* | | | | | | Add killpg functionColin Cross2010-01-153-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I9bc347d264fe38faf2d0f9935d2ebb43a353196e
* | | | | | | Add fts, err, and sys/queue for grepColin Cross2010-01-156-0/+1941
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id47514a1812d828e95efa2fab0e9c15c5b682b58
* | | | | | | mntent.h requires stdio.hColin Cross2010-01-151-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If69f64cf088dedb19602bf47627d03400abb9095
* | | | | | | Add definition of rlim_tColin Cross2010-01-151-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Ie8c2451360cbcce9fc1587528a95aca09a03d0de
* | | | | | | Import change from ctype.h revision 1.20 from openbsdColin Cross2010-01-151-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes builds with gcc >= 4.3 with -std=gnu99 Change-Id: I8729b7f4237fd7a99a82b2fe60573a7afe66b435