summaryrefslogtreecommitdiff
path: root/libc/kernel/common/linux
AgeCommit message (Collapse)Author
2013-12-18Remove the non-uapi kernel headers.Christopher Ferris
Bug: 11559337 Change-Id: Id1ee4dadbd673cf35b9c79bc87f9a6fb7b2253c6
2013-11-22Merge commit '811b0cdb2d6e4a697dbc63a678712759dd0db242' into HEADThe Android Open Source Project
Change-Id: I786944f80fb1a2d502fed51dc2c391ed5db66761
2013-11-06Make cpp.py less braindead.Elliott Hughes
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
2013-11-05Fix <sys/select.h> for LP64, clean up <time.h>.Elliott Hughes
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
2013-10-31Refresh libc/kernel/common/linux/uinput.hScott Anderson
Change-Id: Icd830af5aee63276554ebf7bfe8192965209cc59 Signed-off-by: Scott Anderson <saa@google.com>
2013-10-16am a458b609: am f89f1eaa: Merge "Refresh libc/kernel/common/linux/auxvec.h"Ben Cheng
* commit 'a458b609dbbff789a58fe4d2710af947b20d7e29': Refresh libc/kernel/common/linux/auxvec.h
2013-10-16Refresh libc/kernel/common/linux/auxvec.hBen Cheng
Change-Id: If9bb50a2f233cdb60e91bd979876edb917e0f66d
2013-09-30am f5dcdfc4: am 6dee3b9a: Merge "Add x86_64 to the bionic headers."Elliott Hughes
* commit 'f5dcdfc438684bbe93e398b6551f915fe3fe10bf': Add x86_64 to the bionic headers.
2013-09-30Add x86_64 to the bionic headers.Elliott Hughes
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
2013-09-25am 92d512f6: am c612a133: Merge "Update capability.h"Michael Wright
* commit '92d512f6cf273d6d9e281dc362cc25cf8892b3f9': Update capability.h
2013-09-25Merge "Update capability.h"Michael Wright
2013-09-25Update capability.hMichael Wright
To upstream SHA 6e4664525b1db28f8c4e1130957f70a94c19213e (v3.11) Change-Id: Ic0d95464bc9001246df898489b2ea603a97ca231
2013-09-24am 4808f052: am c8d98679: Merge "Update taskstats.h from Linux 3.11.1"Elliott Hughes
* commit '4808f05238d66ba474c6d33da066da799d4e6cf3': Update taskstats.h from Linux 3.11.1
2013-09-23Update taskstats.h from Linux 3.11.1Sami Kyostila
Change-Id: I50853efe20fa2524f6288f78505a774a72071367
2013-09-20am 5a58a1e0: am bef76b54: Merge "Add linux/sock_diag.h"Nick Kralevich
* commit '5a58a1e0abf51402170abeb6feaceb53915b8a6e': Add linux/sock_diag.h
2013-09-19Add linux/sock_diag.hNick Kralevich
This file was generated using bionic/libc/kernel/tools/update_all.py Change-Id: Iad33e96253978ed9a76d429d66eed9f245685c10
2013-09-18am 0c12f125: am 814bbd52: Merge "Update netlink.h from tip-of-tree ↵Nick Kralevich
external/kernel-headers" * commit '0c12f125cfc90f83475532e64aa7f533e02e3798': Update netlink.h from tip-of-tree external/kernel-headers
2013-09-18Update netlink.h from tip-of-tree external/kernel-headersNick Kralevich
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
2013-08-14am 7b197ea1: am 5e4a2f31: Merge "Update kernel input headers"Michael Wright
* commit '7b197ea1107055bcdf0a15f285495c5d70a3555c': Update kernel input headers
2013-08-14Update kernel input headersMichael Wright
To upstream SHA e1c85813f3832b909d1c4309b213bb0a52c79ba5 Change-Id: I72ee3d59c105bc0252b5ca0c49c569d12ec685d1
2013-07-18Merge "Kexec header generated from linux header 3.10"Colin Cross
2013-07-15Kexec header generated from linux header 3.10Szymon Starzycki
Change-Id: Iac26fcc6e0e25905ab52dba91bec16a4fb479d43
2013-07-08am e63ea6ac: Merge "Clean up <sys/mount.h>/<linux/fs.h> duplication."Elliott Hughes
* commit 'e63ea6aca7d01ba9219b877ed5fab6de5c6037fb': Clean up <sys/mount.h>/<linux/fs.h> duplication.
2013-07-03Clean up <sys/mount.h>/<linux/fs.h> duplication.Elliott Hughes
Roll on uapi... Bug: 6340120 Change-Id: Ic9521905683946e836574e4d768e34853ea777fa
2013-07-03am de2781d9: Merge changes I01345c23,I3b57517cElliott Hughes
* commit 'de2781d906f27be4df3e03a8e5041dcc1aeb281d': Include linux/termios.h from sys/ioctl.h. Update linux/types.h to linux 2.6.20.
2013-07-03Update linux/types.h to linux 2.6.20.Lorenzo Colitti
This picks up the source kernel header change I984154487c38f6fa827bd78234f7fc2e4e1c383f . Bug: 9469682 Change-Id: I3b57517cc6442ba4d0b8003d7398617e8226233f
2013-05-14am f0f4fa3f: Merge "libc: add timerfd calls"Elliott Hughes
* commit 'f0f4fa3fb1ea8623b1e1bc59f7967e0470c8e532': libc: add timerfd calls
2013-05-14libc: add timerfd callsTodd Poynor
(cherry-pick of 04c0ac14a49e0969333008a9522b64046d58fbdc.) Change-Id: I06d0b6c2a8781602362b81f48faf1cca76b9ec05
2013-05-13libc: add timerfd callsTodd Poynor
Change-Id: Id63b907266d5b87c7422a51d393a1430551ca33d
2013-04-29am c6dc62f0: Merge "[NETFILTER]: Fix iptables ABI breakage"Nick Kralevich
* commit 'c6dc62f09c814b9688aee83e80dcfe80cb0ef604': [NETFILTER]: Fix iptables ABI breakage
2013-04-29[NETFILTER]: Fix iptables ABI breakageNick Kralevich
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
2013-03-27Update processed linux/fs.h header fileKen Sumrall
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
2013-03-27Merge "Update processed linux/fs.h header file" into jb-mr2-devKen Sumrall
2013-03-22Update processed linux/fs.h header fileKen Sumrall
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
2013-03-22Drop unnecessary execution permission for .cpp/.c/.hKito Cheng
Change-Id: I9ac2b9d8f6bdb4fab8962210c5ec8f9c3e8c0ebf
2013-03-12am 2f44c05b: am ec706c24: Merge "Use the kernel\'s MAX_ERRNO in the syscall ↵Elliott Hughes
stubs." * commit '2f44c05bc54073aa6decfc5d933b7e77e7ce5768': Use the kernel's MAX_ERRNO in the syscall stubs.
2013-03-12am ec706c24: Merge "Use the kernel\'s MAX_ERRNO in the syscall stubs."Elliott Hughes
* commit 'ec706c24acb4d1db6a583a57b76adfb9250d39eb': Use the kernel's MAX_ERRNO in the syscall stubs.
2013-03-12Use the kernel's MAX_ERRNO in the syscall stubs.Elliott Hughes
Bug: http://code.google.com/p/android/issues/detail?id=53104 Change-Id: Iaabf7025b153e96dc5eca231a33a32d4cb7d8116
2013-02-20Fix mako builds. Do not merge.Jean-Baptiste Queru
Revert "Regenerate msm_ion.h." This reverts commit 3fac8f7f492302ae680288996e31debc645fd684.
2013-02-14am b128f49f: Merge "bionic: Add securebits.h"Nick Kralevich
# Via Gerrit Code Review (1) and Nick Kralevich (1) * commit 'b128f49fd58beecc5287ddff6366a97e5aa2e468': bionic: Add securebits.h
2013-02-14bionic: Add securebits.hNick Kralevich
Change-Id: I2031796b9be117558b80246498b29736492cf269
2013-02-07am f156b901: am fa75fce5: Merge "update xattr.h"Nick Kralevich
# Via Android Git Automerger (1) and others * commit 'f156b901b1e51971192c573444b5b7f63e6bc22a': update xattr.h
2013-02-07am fa75fce5: Merge "update xattr.h"Nick Kralevich
# Via Gerrit Code Review (1) and Nick Kralevich (1) * commit 'fa75fce56641255a571b8b472f010863c3095b70': update xattr.h
2013-02-07update xattr.hNick Kralevich
Change-Id: Ibd91167ba56e2692359b92fe3108da271f0c2e38
2013-02-04am 704d9c5b: am a9dd3670: Merge "Restore bionic\'s <linux/elf-em.h>."Elliott Hughes
# Via Android Git Automerger (1) and others * commit '704d9c5b45515cc2421bfe3b37c93117da0a1334': Restore bionic's <linux/elf-em.h>.
2013-02-04am a1821f01: Merge "Regenerate msm_ion.h."Elliott Hughes
# Via Elliott Hughes (1) and Gerrit Code Review (1) * commit 'a1821f015306e221e6a51e5acc27176ae2d72f6b': Regenerate msm_ion.h.
2013-02-01Regenerate msm_ion.h.Elliott Hughes
Bug: 8000377 Change-Id: If496d9972cb8aebfc996ac641aa762220aa71f3b
2013-02-01Remove MSM headersBrian Muramatsu
Bug 7115545 These headers will be moved to hardware/qcom/msm8960 project. Change-Id: Idb970c196be239e186e0a406d19135aa27225aca
2013-02-01am a9dd3670: Merge "Restore bionic\'s <linux/elf-em.h>."Elliott Hughes
# Via Elliott Hughes (1) and Gerrit Code Review (1) * commit 'a9dd36702f4a9d65d084387050b688b8965b13b3': Restore bionic's <linux/elf-em.h>.
2013-02-01Restore bionic's <linux/elf-em.h>.Elliott Hughes
Used by <linux/audit.h>. Change-Id: Ica4ebb7f52a7fce13c52fdff35e187ded3939382