summaryrefslogtreecommitdiffstats
path: root/libc/kernel/uapi
Commit message (Collapse)AuthorAgeFilesLines
* bionic: Notify userspace about packets with CHECKSUM_UNNECESSARYSubash Abhinov Kasiviswanathan2015-12-071-28/+30
| | | | | | | | | | tpacket already notifies userspace about packets filtered with ip_summed field set to CHECKSUM_PARTIAL. Add a new flag for tpacket framework to pass to userspace for packets with ip_summed field CHECKSUM_UNNECESSARY. Change-Id: Icf308143a76269ff38c3238f1ca235b97e57dde9
* kernel-header : add alarm type and clock type for power off alarmMao Jinlong2015-12-012-6/+10
| | | | | | Use dedicated alarm type and clock type for poweroff alarm. Change-Id: I937730994c6690b21868745e192d8c12ab818776
* Upgrade kernel headers to 3.18.10.Christopher Ferris2015-03-315-45/+50
| | | | Change-Id: Iff1f1c830780585990856a5114b559c61282dcd6
* Define MAXHOSTNAMELEN explicitly in source files.Yabin Cui2015-02-091-1/+2
| | | | | | Bug: 19093777 Bug: 19092844 Change-Id: I0778507ca2d5c008abb9a6d6315d0909263a8817
* Switch kernel header parsing to python libclangTao Bao2015-02-06668-32593/+32720
| | | | | | | Replace the tokenizer in cpp.py with libclang. Bug: 18937958 Change-Id: I27630904c6d2849418cd5ca3d3c612ec3078686d
* Update kernel headers to v3.18.3.Christopher Ferris2015-01-2692-2559/+3851
| | | | | Bug: 19127803 Change-Id: I67fa0832322ddd0032d909476047578be052bcf2
* am d5e1c583: Merge "Move to v3.16.3 kernel headers."Christopher Ferris2014-09-182-57/+59
|\ | | | | | | | | * commit 'd5e1c583a66a821c7d7e8f43e1238a4569981b90': Move to v3.16.3 kernel headers.
| * Move to v3.16.3 kernel headers.Christopher Ferris2014-09-182-57/+59
| | | | | | | | Change-Id: Ife491bd7630b853a78532dd74e4644438256a3a1
* | am 0bd28a43: Merge "Update kernel uapi headers to v3.16.1."Christopher Ferris2014-09-18109-3079/+4724
|\ \ | |/ | | | | | | * commit '0bd28a43dae87c808f6af61ad3dba042b35be7e7': Update kernel uapi headers to v3.16.1.
| * Update kernel uapi headers to v3.16.1.Christopher Ferris2014-09-17109-3079/+4724
| | | | | | | | | | | | | | | | | | Other changes to support the new headers: - Remove the flock64 structure it is defined in the new headers. - Update the syscalls to correspond with the headers. Change-Id: I49a6b07e8b2bfffb67be71b07b58e4e6848fcc09
| * Pull input.h from v3.16.1 kernel headers.Christopher Ferris2014-09-171-124/+139
| | | | | | | | | | | | | | (cherry-pick of 027d2717d067c3706f22bf84dc1226ede7c1566d.) Bug: 17407564 Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
* | Pull input.h from v3.16.1 kernel headers.Christopher Ferris2014-09-141-124/+139
| | | | | | | | | | Bug: 17407564 Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
* | am c6bc0017: Merge "Update kernel headers to v3.14."Christopher Ferris2014-07-12173-3648/+8637
|\ \ | |/ | | | | | | * commit 'c6bc001776931fd1c8583df2b8948dcb8bf61007': Update kernel headers to v3.14.
| * Update kernel headers to v3.14.Christopher Ferris2014-07-10173-3648/+8637
| | | | | | | | | | | | | | | | Other changes: - Modify update_all.py to skip ion header files when importing into aosp. - Fix generate_uapi_headers.sh to handle imports from a linux-stable kernel. Change-Id: I1ad81b9ccb063c21740f9875f2cc1238052cd4b3
* | am 6131798e: am ac86f994: Merge "[MIPS64] Regenerate mips kernel headers ↵Christopher Ferris2014-06-215-30/+40
|\ \ | |/ | | | | | | | | | | with fixed tool" * commit '6131798e574d85200053d93bc2673ab5a0f715fe': [MIPS64] Regenerate mips kernel headers with fixed tool
| * [MIPS64] Regenerate mips kernel headers with fixed toolDuane Sand2014-06-205-30/+40
| | | | | | | | Change-Id: I530891123cba78edbea4aa8af88390213711ab16
* | am 9eb2d38d: am b9fdad77: am ec81b4a3: Merge "Scrub uapi headers slightly ↵Elliott Hughes2014-05-155-142/+102
|\ \ | |/ | | | | | | | | | | harder." * commit '9eb2d38d53b2d00a9b5bd189a34f51afb7c385bf': Scrub uapi headers slightly harder.
| * Scrub uapi headers slightly harder.Elliott Hughes2014-05-155-142/+102
| | | | | | | | | | | | | | | | There's no point having always-false tests. It just makes the headers harder to read. Bug: 11560081 Change-Id: I6187755e1514ca9ff5642b3c1b0489f22edddaf5
* | am 0d443726: am d2623501: am 8979cfe1: Merge "Keep the kernel header ↵Elliott Hughes2014-05-011-1/+1
|\ \ | |/ | | | | | | | | | | scrubber\'s data structures in sync." * commit '0d4437263e65b7acc4546753ac79577b94ccc6ba': Keep the kernel header scrubber's data structures in sync.
| * Keep the kernel header scrubber's data structures in sync.Elliott Hughes2014-05-011-1/+1
| | | | | | | | | | | | | | | | | | If you rewrite the tokens of a #if you need to rewrite the expression to match because either might be used later. This was showing up as SIGRTMAX being rewritten in a #define but not in the #ifndef that guarded it, for which case I've added a unit test. Change-Id: I6929675461a1afe272edd667594529fd84a3dc4d
* | am 01dc4152: am 4a41581a: am 9fb53dd4: Merge "Make SIGRTMIN hide the ↵Elliott Hughes2014-04-304-8/+8
|\ \ | |/ | | | | | | | | | | real-time signals we use internally." * commit '01dc4152b736c822a11cbbff3240eec7143659e3': Make SIGRTMIN hide the real-time signals we use internally.
| * Make SIGRTMIN hide the real-time signals we use internally.Elliott Hughes2014-04-304-8/+8
| | | | | | | | | | | | | | | | __SIGRTMIN will continue to tell the truth. This matches glibc's behavior (as evidenced by the fact that we don't need a special case in the strsignal test now). Change-Id: I1abe1681d516577afa8cd39c837ef12467f68dd2
* | am 88920300: am aa3d46a4: Merge "prctl: Adds the PR_SET_TIMERSLACK_PID option"Ruchi Kandoi2014-04-231-1/+2
|\ \ | |/ | | | | | | * commit '889203005b62f0c2124a7fcae12f9824cbc78868': prctl: Adds the PR_SET_TIMERSLACK_PID option
| * prctl: Adds the PR_SET_TIMERSLACK_PID optionRuchi Kandoi2014-04-231-1/+2
| | | | | | | | | | | | | | Allows software to set timer clack for other thread. Change-Id: Ifa9d2cc7844ec581356bce15434609242fd898a8 Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
* | am fc50845e: am 0b0387c9: Merge "Fix kernel header scrubbing for LP64."Elliott Hughes2014-04-082-29/+38
|\ \ | |/ | | | | | | * commit 'fc50845e7d921763152753b60417ece57158cf2e': Fix kernel header scrubbing for LP64.
| * Fix kernel header scrubbing for LP64.Elliott Hughes2014-04-082-29/+38
| | | | | | | | Change-Id: I4caf44d41edd1b03a20d4c565e169c2b7a2f3686
* | am 9b0fa57c: am e2a0f15c: Merge "Regenerate adf header"Greg Hackmann2014-04-031-18/+20
|\ \ | |/ | | | | | | * commit '9b0fa57cb1e9722a07d601db9520cebaa04d743c': Regenerate adf header
| * Regenerate adf headerGreg Hackmann2014-04-021-18/+20
| | | | | | | | | | | | | | Fixes 64-bit related alignment issues Change-Id: Ie90b920a7489e807e953f45a6db72350b80f6f22 Signed-off-by: Greg Hackmann <ghackmann@google.com>
* | am f1f19464: am 819c132e: Merge "Fix NSIG."Elliott Hughes2014-02-125-11/+11
|\ \ | |/ | | | | | | * commit 'f1f19464c52e663ade6c18833eaa30bfcd5194de': Fix NSIG.
| * Fix NSIG.Elliott Hughes2014-02-115-11/+11
| | | | | | | | | | | | | | | | | | | | | | Our sigset_t definition hasn't been tied to our NSIG definition since we switched to uapi headers, so we can now fix it without breaking the LP32 ABI. The kernel uapi headers define and use _NSIG, so we need to have our scripts rename the kernel's definitions out of the way, then we can define _NSIG and NSIG in terms of the kernel's off-by-one value. Bug: 12938442 Change-Id: Ic7c86fd5be5ad1d822f7b2b1d88c8a0d70a1ac0f
* | am eb26da9a: am fb4da1e7: Merge "Regenerate binder header"Arve Hjønnevåg2014-02-031-54/+73
|\ \ | |/ | | | | | | * commit 'eb26da9af841c60e69f44a3affb46ec48fdaa6d3': Regenerate binder header
| * Regenerate binder headerArve Hjønnevåg2014-01-281-54/+73
| | | | | | | | | | | | Adds 64 bit support Change-Id: I6db3c4f68bf2c337bff753599af193e2b062ec05
* | am 3aa1e605: am 35377004: am 513f83bb: Merge "bionic: rename aarch64 target ↵Colin Cross2014-01-2432-0/+0
|\ \ | |/ | | | | | | | | | | to arm64" * commit '3aa1e605ea1167e59976bf82922fd06c728b518b': bionic: rename aarch64 target to arm64
| * bionic: rename aarch64 target to arm64Colin Cross2014-01-2332-0/+0
| | | | | | | | | | | | | | Rename aarch64 build targets to arm64. The gcc toolchain is still aarch64. Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
* | am 64edf779: am 7dfd8ae1: am 513d2770: Merge "Add ioprio.h."Christopher Ferris2013-12-121-0/+46
|\ \ | |/ | | | | | | * commit '64edf779d79fd81a39ee5e0327f585b37cd828f2': Add ioprio.h.
| * Add ioprio.h.Christopher Ferris2013-12-121-0/+46
| | | | | | | | Change-Id: I153d05c5b6e9d640e319d65acb48b9cb12b6dafb
* | Regenerate the bionic headers to match external/kernel-headers.Elliott Hughes2013-11-251-15/+22
|/ | | | | | | (This undoes the AOSP-only ion.h hack.) Bug: 11859767 Change-Id: Id863c70d63b2716ae22cafd7ddb1163bbc7a3d11
* Regenerate the bionic kernel headers to match external/kernel-headers.Elliott Hughes2013-11-251-22/+15
| | | | | Bug: 11859767 Change-Id: I3d746188a1c4bdf8db1358521438435d3e63dbac
* Delete non-uapi headers.Christopher Ferris2013-11-2338-890/+6
| | | | | | | Update headers and delete non-uapi headers that have been removed from external/kernel-headers project. Change-Id: I9ed9632a941095fe1bf3b207bafe1151f00de033
* Regenerate uapi header files.Elliott Hughes2013-11-2172-1908/+2409
| | | | Change-Id: Idc934ed8ae17aba3300e4022e9b42177b0907e9d
* Pull in cleaned version.h header.Christopher Ferris2013-11-151-0/+20
| | | | Change-Id: Ia917af9336b63ed5a10147770a8110134cb274cb
* Add a temporary uapi/linux/compiler.h until upstream has one.Elliott Hughes2013-11-081-0/+18
| | | | | Bug: 11559337 Change-Id: I205974b1a26e4f85d0e11503afa80669195d211c
* Generate the uapi headers for mips and x86/x86_64.Elliott Hughes2013-11-08101-0/+9482
| | | | | Bug: 11559337 Change-Id: I23b1a43e7bfa8fa6f9df7e59d2e731a0ec52dafc
* Merge "Add processed uapi kernel headers for ARM."Ben Cheng2013-11-0634-0/+1848
|\
| * Add processed uapi kernel headers for ARM.Ben Cheng2013-11-0634-0/+1848
| | | | | | | | Change-Id: Id34de841b7b4b5a1bf7d22eb793860f92f24a6e5
* | Make cpp.py less braindead.Elliott Hughes2013-11-064-6/+6
|/ | | | | | | | | | | | | | | | | | 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
* Add __EXPORTED_HEADERS__ as predefined macro.Ben Cheng2013-10-231-7/+4
| | | | | | | | | | | To weed out stuff like this in uapi/linux/types.h ifndef __EXPORTED_HEADERS__ warning "Attempt to use kernel headers from user space, see http://kernelnewbies.org/KernelHeaders" endif /* __EXPORTED_HEADERS__ */ Change-Id: I6506cea6248f7a3b44a839b98e91bdd0d3a6c4cd
* Add processed uapi kernel headers (common and aarch64-specific)Ben Cheng2013-10-16715-0/+80567
Change-Id: If0be7b83bd8fe7cb02472d173f7c452aabf61124