summaryrefslogtreecommitdiffstats
path: root/libc/kernel
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
* Update the search path for libclang.soTao Bao2015-04-221-1/+4
| | | | | | | | | Prebuilt shared libraries (libclang.so, libLLVM.so and etc) have been moved to prebuilts/sdk/tools/linux/lib64. Update the search path in cpp.py to match the change. Bug: 20485471 Change-Id: Ib7784db4d5529d16a1e2bfc07cb0237929bc5a64
* 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-092-5/+4
| | | | | | Bug: 19093777 Bug: 19092844 Change-Id: I0778507ca2d5c008abb9a6d6315d0909263a8817
* Switch kernel header parsing to python libclangTao Bao2015-02-06670-33699/+33781
| | | | | | | 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
* fix runtime issues for scriptsKyunam Jo2014-12-102-6/+3
| | | | | | | | now, some script to update kernel-headers is not working. because of wrong variable value and test codes. so this issue is fixed. Change-Id: Iffae9607858cc3c1c58fa24244be217b5a1ab06e
* 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
* | am 027d2717: Pull input.h from v3.16.1 kernel headers.Christopher Ferris2014-09-141-124/+139
|\ \ | | | | | | | | | | | | * commit '027d2717d067c3706f22bf84dc1226ede7c1566d': Pull input.h from v3.16.1 kernel headers.
| * | Pull input.h from v3.16.1 kernel headers.Christopher Ferris2014-09-141-124/+139
| | | | | | | | | | | | | | | Bug: 17407564 Change-Id: Idcfc40a7254605280e3d5474c61ae1ab7b2b7b51
| * | Add gen syscalls step to instructions.Christopher Ferris2014-07-181-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | Also, fix incorrect path to some tools. (cherry picked from commit ea271fdf2671707ed29bc6b564f544d2489115ff) Change-Id: Ie93cbc84b9a46d622b0b462a33bed0ee129992cb
* | | am 3bcd414b: Merge "Clean up some of our python scripts."Elliott Hughes2014-08-203-91/+18
|\ \ \ | | |/ | |/| | | | | | | * commit '3bcd414b78e515482139c7dc3dad8cad3357b374': Clean up some of our python scripts.
| * | Clean up some of our python scripts.Elliott Hughes2014-08-203-91/+18
| | | | | | | | | | | | Change-Id: Ifa75345db43434298cfb6113fbe2f7a33b88c79d
* | | am 64035c4a: Merge "Add gen syscalls step to instructions."Christopher Ferris2014-07-161-2/+6
|\ \ \ | |/ / | | / | |/ |/| * commit '64035c4a4b52ce87398e3a5945ad6b755c8f35b1': Add gen syscalls step to instructions.
| * Add gen syscalls step to instructions.Christopher Ferris2014-07-151-2/+6
| | | | | | | | | | | | Also, fix incorrect path to some tools. Change-Id: I409fc02d7077f0d2811d90be19550e70f5d73c0e
* | am c6bc0017: Merge "Update kernel headers to v3.14."Christopher Ferris2014-07-12175-3660/+8669
|\ \ | |/ | | | | | | * commit 'c6bc001776931fd1c8583df2b8948dcb8bf61007': Update kernel headers to v3.14.
| * Update kernel headers to v3.14.Christopher Ferris2014-07-10175-3660/+8669
| | | | | | | | | | | | | | | | 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 40b85d34: am eee5f173: Merge "[MIPS64] Adjust kernel/tools for ↵Christopher Ferris2014-06-211-1/+5
|\ \ | |/ | | | | | | | | | | mips32,mips64 headers" * commit '40b85d34e0f87bdb0ede4c36d6389a7af9c6548c': [MIPS64] Adjust kernel/tools for mips32,mips64 headers
| * [MIPS64] Adjust kernel/tools for mips32,mips64 headersDuane Sand2014-06-201-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Define CONFIG_32BIT as _ABIO32 rather than as 1; it needs to be undefined for calls from mips64. We need defined(CONFIG_32BIT) == !defined(CONFIG_64BIT), and get that via defined(_ABIO32) == !defined(__LP64__). Define CONFIG_CPU_LITTLE_ENDIAN to get correctly-placed struct msqid64_ds fillers on ipc calls from mips32. Without this, big-endian fillers were erroneously used. This bug exists in prior mips32 Android releases. Define __SANE_USERSPACE_TYPES__ to use int_ll64.h rather than int_ll64.h on mips64. This depends on external/kernel-headers patch https://android-review.googlesource.com/#/c/98915/ http://patchwork.linux-mips.org/patch/6890/ Change-Id: If65fa80746533723cdf46eebe95733bea7ce24ba
* | am 1b8163f5: am 1cada9b3: Merge "Remove unused scripts."Christopher Ferris2014-06-072-233/+0
|\ \ | |/ | | | | | | * commit '1b8163f5e686bc2405731d529c684c06bae65f17': Remove unused scripts.
| * Remove unused scripts.Christopher Ferris2014-06-062-233/+0
| | | | | | | | Change-Id: I3391d6c903f710b45e62bcf01058cf3ad9abe399
* | am 5261fd2c: am b837767a: Merge "Update kernel header generation docs."Christopher Ferris2014-06-062-148/+107
|\ \ | |/ | | | | | | * commit '5261fd2cacc8a53643089cab9fbbeb8142f98dea': Update kernel header generation docs.
| * Update kernel header generation docs.Christopher Ferris2014-06-062-148/+107
| | | | | | | | | | | | | | Also move the description of the cleanup data to the cleanup script. Bug: 15433575 Change-Id: I21e2cbbfab55da483af1bbe36bbe59126b518e3c
* | am 9eb2d38d: am b9fdad77: am ec81b4a3: Merge "Scrub uapi headers slightly ↵Elliott Hughes2014-05-156-144/+104
|\ \ | |/ | | | | | | | | | | harder." * commit '9eb2d38d53b2d00a9b5bd189a34f51afb7c385bf': Scrub uapi headers slightly harder.
| * Scrub uapi headers slightly harder.Elliott Hughes2014-05-156-144/+104
| | | | | | | | | | | | | | | | 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-013-10/+24
|\ \ | |/ | | | | | | | | | | 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-013-10/+24
| | | | | | | | | | | | | | | | | | 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-305-8/+11
|\ \ | |/ | | | | | | | | | | 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-305-8/+11
| | | | | | | | | | | | | | | | __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-083-38/+43
|\ \ | |/ | | | | | | * commit 'fc50845e7d921763152753b60417ece57158cf2e': Fix kernel header scrubbing for LP64.
| * Fix kernel header scrubbing for LP64.Elliott Hughes2014-04-083-38/+43
| | | | | | | | 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-127-13/+18
|\ \ | |/ | | | | | | * commit 'f1f19464c52e663ade6c18833eaa30bfcd5194de': Fix NSIG.
| * Fix NSIG.Elliott Hughes2014-02-117-13/+18
| | | | | | | | | | | | | | | | | | | | | | 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-2434-17/+11
|\ \ | |/ | | | | | | | | | | to arm64" * commit '3aa1e605ea1167e59976bf82922fd06c728b518b': bionic: rename aarch64 target to arm64
| * bionic: rename aarch64 target to arm64Colin Cross2014-01-2334-17/+11
| | | | | | | | | | | | | | Rename aarch64 build targets to arm64. The gcc toolchain is still aarch64. Change-Id: Ia92d8a50824e5329cf00fd6f4f92eae112b7f3a3
* | resolved conflicts for merge of 85e0dd89 to masterChristopher Ferris2013-12-18659-67616/+0
|\ \ | |/ | | | | Change-Id: I21f7ffb9a582681877e2dbad54185ee37d18410e
| * Remove the non-uapi kernel headers.Christopher Ferris2013-12-18659-67611/+0
| | | | | | | | | | Bug: 11559337 Change-Id: Id1ee4dadbd673cf35b9c79bc87f9a6fb7b2253c6