summaryrefslogtreecommitdiffstats
path: root/libc/kernel/common
Commit message (Collapse)AuthorAgeFilesLines
* Remove the non-uapi kernel headers.Christopher Ferris2013-12-18562-61545/+0
| | | | | Bug: 11559337 Change-Id: Id1ee4dadbd673cf35b9c79bc87f9a6fb7b2253c6
* Regenerate the bionic kernel headers to match external/kernel-headers.Elliott Hughes2013-11-251-49/+0
| | | | | Bug: 11859767 Change-Id: I3d746188a1c4bdf8db1358521438435d3e63dbac
* Merge commit '811b0cdb2d6e4a697dbc63a678712759dd0db242' into HEADThe Android Open Source Project2013-11-222-24/+49
|\ | | | | | | Change-Id: I786944f80fb1a2d502fed51dc2c391ed5db66761
| * am a458b609: am f89f1eaa: Merge "Refresh libc/kernel/common/linux/auxvec.h"Ben Cheng2013-10-161-4/+31
| |\ | | | | | | | | | | | | * commit 'a458b609dbbff789a58fe4d2710af947b20d7e29': Refresh libc/kernel/common/linux/auxvec.h
| * \ am 29351c80: am 3fdd6b83: Merge "Add processed uapi kernel headers (common ↵Ben Cheng2013-10-161-50/+0
| |\ \ | | | | | | | | | | | | | | | | | | | | | | | | and aarch64-specific)" * commit '29351c8091c4b7338bd47fb6b3e5aed94a2abf32': Add processed uapi kernel headers (common and aarch64-specific)
| * \ \ am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."Elliott Hughes2013-09-304-12/+162
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit 'f5dcdfc438684bbe93e398b6551f915fe3fe10bf': Add x86_64 to the bionic headers.
| * \ \ \ am 92d512f6: am c612a133: Merge "Update capability.h"Michael Wright2013-09-251-4/+5
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '92d512f6cf273d6d9e281dc362cc25cf8892b3f9': Update capability.h
| * \ \ \ \ am 4808f052: am c8d98679: Merge "Update taskstats.h from Linux 3.11.1"Elliott Hughes2013-09-241-8/+54
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '4808f05238d66ba474c6d33da066da799d4e6cf3': Update taskstats.h from Linux 3.11.1
| * \ \ \ \ \ am 5a58a1e0: am bef76b54: Merge "Add linux/sock_diag.h"Nick Kralevich2013-09-201-0/+43
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '5a58a1e0abf51402170abeb6feaceb53915b8a6e': Add linux/sock_diag.h
| * \ \ \ \ \ \ am 0c12f125: am 814bbd52: Merge "Update netlink.h from tip-of-tree ↵Nick Kralevich2013-09-181-26/+62
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | external/kernel-headers" * commit '0c12f125cfc90f83475532e64aa7f533e02e3798': Update netlink.h from tip-of-tree external/kernel-headers
| * \ \ \ \ \ \ \ am 7b197ea1: am 5e4a2f31: Merge "Update kernel input headers"Michael Wright2013-08-141-180/+188
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '7b197ea1107055bcdf0a15f285495c5d70a3555c': Update kernel input headers
| * \ \ \ \ \ \ \ \ Merge "Kexec header generated from linux header 3.10"Colin Cross2013-07-182-24/+49
| |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | Kexec header generated from linux header 3.10Szymon Starzycki2013-07-152-24/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Iac26fcc6e0e25905ab52dba91bec16a4fb479d43
| | * | | | | | | | | libc: add timerfd callsTodd Poynor2013-05-131-0/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Id63b907266d5b87c7422a51d393a1430551ca33d
* | | | | | | | | | | Make cpp.py less braindead.Elliott Hughes2013-11-065-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old code ignored operator precedence (!), despite having two tables of operator precedence. The code's still pretty awful, but I've cleaned it up enough to fix this, the most important bug. This patch lets us correctly clean the uapi unistd.h, stat.h, and swab.h files, and also fixes the mess we were already making of various old kernel header files. I've added a bunch more tests, fixed the existing tests that the existing script was already failing (!), and changed the script so that the tests are run every time the script is run. We can probably remove some of the old kernel header files that we were parsing incorrectly, but we can worry about that later. Bug: 11253477 Change-Id: Ie66c65b3a7ae13b4e98ed8038a6a534f06eae0e5
* | | | | | | | | | | Fix <sys/select.h> for LP64, clean up <time.h>.Elliott Hughes2013-11-051-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The 64-bit uapi headers don't define FD_CLR and friends, so this patch updates libc/kernel/common/linux/time.h after the change b934bbec145e9e084bf48149a3a94ae3dd132157 in external/kernel-headers, then fixes <sys/select.h> to work in this new world, and removes some now-unnecessary duplication from <time.h> (with other cruft cleaned up while I'm here). Change-Id: Ifd26f901b4d200c65065b3e6ef1b74055127e052
* | | | | | | | | | | Refresh libc/kernel/common/linux/uinput.hScott Anderson2013-10-311-7/+8
| |_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: Icd830af5aee63276554ebf7bfe8192965209cc59 Signed-off-by: Scott Anderson <saa@google.com>
* | | | | | | | | | Refresh libc/kernel/common/linux/auxvec.hBen Cheng2013-10-161-4/+31
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Change-Id: If9bb50a2f233cdb60e91bd979876edb917e0f66d
* | | | | | | | | Add processed uapi kernel headers (common and aarch64-specific)Ben Cheng2013-10-161-50/+0
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | Change-Id: If0be7b83bd8fe7cb02472d173f7c452aabf61124
* | | | | | | | Add x86_64 to the bionic headers.Elliott Hughes2013-09-304-12/+162
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Manual changes: cpp.py: cope with macros that refer to other macros. defaults.py: x86 no longer always implies __i386__; use __i386__ to replace the kernel CONFIG_X86_32 flag. asm/page.h: the upstream page.h isn't a uapi header and no longer includes the stuff we were using it for. Let's just have our own static file, since it's the same for all our architectures (both 32- and 64-bit). sys/select.h: we used to use the various FD_SET-related macros from the kernel header files, but they've gone. Adjust by adding trivial equivalent definitions. Automated changes: libc/kernel/arch-x86, libc/kernel/common: regenerated from external/kernel-headers. Change-Id: I84fc0ed52dc742e043b4ae300fd3b58ee99b7fcd
* | | | | | | Merge "Update capability.h"Michael Wright2013-09-251-4/+5
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | |
| * | | | | | Update capability.hMichael Wright2013-09-251-4/+5
| | |_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | To upstream SHA 6e4664525b1db28f8c4e1130957f70a94c19213e (v3.11) Change-Id: Ic0d95464bc9001246df898489b2ea603a97ca231
* | | | | | Update taskstats.h from Linux 3.11.1Sami Kyostila2013-09-231-8/+54
| |_|_|_|/ |/| | | | | | | | | | | | | | Change-Id: I50853efe20fa2524f6288f78505a774a72071367
* | | | | Add linux/sock_diag.hNick Kralevich2013-09-191-0/+43
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | This file was generated using bionic/libc/kernel/tools/update_all.py Change-Id: Iad33e96253978ed9a76d429d66eed9f245685c10
* | | | Update netlink.h from tip-of-tree external/kernel-headersNick Kralevich2013-09-181-26/+62
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | This file was generated using bionic/libc/kernel/tools/update_all.py The only change is a new netlink.h file, from external/kernel-headers. Please see the commit message there for details. Change-Id: I83645b88f0baff838131197913ebd70be69abd3f
* | | Update kernel input headersMichael Wright2013-08-141-180/+188
|/ / | | | | | | | | | | To upstream SHA e1c85813f3832b909d1c4309b213bb0a52c79ba5 Change-Id: I72ee3d59c105bc0252b5ca0c49c569d12ec685d1
* | am e63ea6ac: Merge "Clean up <sys/mount.h>/<linux/fs.h> duplication."Elliott Hughes2013-07-081-44/+49
|\ \ | | | | | | | | | | | | * commit 'e63ea6aca7d01ba9219b877ed5fab6de5c6037fb': Clean up <sys/mount.h>/<linux/fs.h> duplication.
| * | Clean up <sys/mount.h>/<linux/fs.h> duplication.Elliott Hughes2013-07-031-44/+49
| | | | | | | | | | | | | | | | | | | | | Roll on uapi... Bug: 6340120 Change-Id: Ic9521905683946e836574e4d768e34853ea777fa
* | | am de2781d9: Merge changes I01345c23,I3b57517cElliott Hughes2013-07-031-2/+4
|\ \ \ | |/ / | | | | | | | | | | | | * commit 'de2781d906f27be4df3e03a8e5041dcc1aeb281d': Include linux/termios.h from sys/ioctl.h. Update linux/types.h to linux 2.6.20.
| * | Update linux/types.h to linux 2.6.20.Lorenzo Colitti2013-07-031-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | This picks up the source kernel header change I984154487c38f6fa827bd78234f7fc2e4e1c383f . Bug: 9469682 Change-Id: I3b57517cc6442ba4d0b8003d7398617e8226233f
* | | am f0f4fa3f: Merge "libc: add timerfd calls"Elliott Hughes2013-05-141-0/+31
|\ \ \ | |/ / | | / | |/ |/| * commit 'f0f4fa3fb1ea8623b1e1bc59f7967e0470c8e532': libc: add timerfd calls
| * libc: add timerfd callsTodd Poynor2013-05-141-0/+31
| | | | | | | | | | | | (cherry-pick of 04c0ac14a49e0969333008a9522b64046d58fbdc.) Change-Id: I06d0b6c2a8781602362b81f48faf1cca76b9ec05
* | am c6dc62f0: Merge "[NETFILTER]: Fix iptables ABI breakage"Nick Kralevich2013-04-291-1/+1
|\ \ | |/ | | | | | | * commit 'c6dc62f09c814b9688aee83e80dcfe80cb0ef604': [NETFILTER]: Fix iptables ABI breakage
| * [NETFILTER]: Fix iptables ABI breakageNick Kralevich2013-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Pick up Linux kernel patch 2748e5dec7ca8a3804852c7c4171f9156384d15c from 2007 http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2748e5dec7ca8a3804852c7c4171f9156384d15c [NETFILTER]: Fix iptables ABI breakage on (at least) CRIS With the introduction of x_tables we accidentally broke compatibility by defining IPT_TABLE_MAXNAMELEN to XT_FUNCTION_MAXNAMELEN instead of XT_TABLE_MAXNAMELEN, which is two bytes larger. On most architectures it doesn't really matter since we don't have any tables with names that long in the kernel and the structure layout didn't change because of alignment requirements of following members. On CRIS however (and other architectures that don't align data) this changed the structure layout and thus broke compatibility with old iptables binaries. Changing it back will break compatibility with binaries compiled against recent kernels again, but since the breakage has only been there for three releases this seems like the better choice. Change-Id: Ie9552b25892109c7042b9752132dc8ebd3552dc3
| * Update processed linux/fs.h header fileKen Sumrall2013-03-272-42/+242
| | | | | | | | | | | | | | Need to get the defintion of the FITRIM ioctl(). Also need to update the blk_types.h header file as fs.h includes it. Change-Id: I617622b620925942dc5aead9e49f8e17d17e5d74
| * Drop unnecessary execution permission for .cpp/.c/.hKito Cheng2013-03-221-0/+0
| | | | | | | | Change-Id: I9ac2b9d8f6bdb4fab8962210c5ec8f9c3e8c0ebf
* | sound: Add ALSA compressed API headersEric Laurent2013-04-092-0/+380
| | | | | | | | | | | | | | | | | | Added the following headers for ALSA compressed user space API: - sound/compress_offload.h - sound/compress_params.h Change-Id: I9584c12acdadf31546d2921393b93d491e54a8d3
* | Merge "Update processed linux/fs.h header file" into jb-mr2-devKen Sumrall2013-03-272-42/+242
|\ \
| * | Update processed linux/fs.h header fileKen Sumrall2013-03-222-42/+242
| | | | | | | | | | | | | | | | | | | | | Need to get the defintion of the FITRIM ioctl(). Also need to update the blk_types.h header file as fs.h includes it. Change-Id: I617622b620925942dc5aead9e49f8e17d17e5d74
* | | am 2f44c05b: am ec706c24: Merge "Use the kernel\'s MAX_ERRNO in the syscall ↵Elliott Hughes2013-03-121-0/+3
|\ \ \ | |/ / |/| | | | | | | | | | | | | | stubs." * commit '2f44c05bc54073aa6decfc5d933b7e77e7ce5768': Use the kernel's MAX_ERRNO in the syscall stubs.
| * | am ec706c24: Merge "Use the kernel\'s MAX_ERRNO in the syscall stubs."Elliott Hughes2013-03-121-0/+3
| |\ \ | | |/ | | | | | | | | | * commit 'ec706c24acb4d1db6a583a57b76adfb9250d39eb': Use the kernel's MAX_ERRNO in the syscall stubs.
| | * Use the kernel's MAX_ERRNO in the syscall stubs.Elliott Hughes2013-03-121-0/+3
| | | | | | | | | | | | | | | Bug: http://code.google.com/p/android/issues/detail?id=53104 Change-Id: Iaabf7025b153e96dc5eca231a33a32d4cb7d8116
| | * Fix mako builds. Do not merge.Jean-Baptiste Queru2013-02-201-3/+85
| |/ | | | | | | | | | | Revert "Regenerate msm_ion.h." This reverts commit 3fac8f7f492302ae680288996e31debc645fd684.
* | am b128f49f: Merge "bionic: Add securebits.h"Nick Kralevich2013-02-141-0/+41
|\ \ | |/ | | | | | | | | # Via Gerrit Code Review (1) and Nick Kralevich (1) * commit 'b128f49fd58beecc5287ddff6366a97e5aa2e468': bionic: Add securebits.h
| * bionic: Add securebits.hNick Kralevich2013-02-141-0/+41
| | | | | | | | Change-Id: I2031796b9be117558b80246498b29736492cf269
* | am f156b901: am fa75fce5: Merge "update xattr.h"Nick Kralevich2013-02-071-10/+26
|\ \ | |/ | | | | | | | | # Via Android Git Automerger (1) and others * commit 'f156b901b1e51971192c573444b5b7f63e6bc22a': update xattr.h
| * am fa75fce5: Merge "update xattr.h"Nick Kralevich2013-02-071-10/+26
| |\ | | | | | | | | | | | | | | | # Via Gerrit Code Review (1) and Nick Kralevich (1) * commit 'fa75fce56641255a571b8b472f010863c3095b70': update xattr.h
| | * update xattr.hNick Kralevich2013-02-071-10/+26
| | | | | | | | | | | | Change-Id: Ibd91167ba56e2692359b92fe3108da271f0c2e38
| * | am a1821f01: Merge "Regenerate msm_ion.h."Elliott Hughes2013-02-041-85/+3
| |\ \ | | |/ | | | | | | | | | | | | # Via Elliott Hughes (1) and Gerrit Code Review (1) * commit 'a1821f015306e221e6a51e5acc27176ae2d72f6b': Regenerate msm_ion.h.
| | * Regenerate msm_ion.h.Elliott Hughes2013-02-011-85/+3
| | | | | | | | | | | | | | | Bug: 8000377 Change-Id: If496d9972cb8aebfc996ac641aa762220aa71f3b