summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ci: switch mirrors to use our CDNmirrors-cdnPietro Albini2019-10-223-3/+3
| | | | | | We recently added a CDN in front of our CI mirrors as it's faster and cheaper for us. This switches libc's CI to use it instead of accessing the underlying bucket directly.
* Auto merge of #1557 - gnzlbg:dupe, r=gnzlbgbors2019-10-181-1/+0
|\ | | | | | | Remove duplicate target
| * Remove duplicate targetgnzlbg2019-10-171-1/+0
|/
* Remove broken linkgnzlbg2019-10-171-1/+1
|
* Do not run style checks on mastergnzlbg2019-10-171-2/+0
|
* Add job on master that publishes the websitegnzlbg2019-10-171-0/+24
|
* Auto merge of #1549 - GrayJack:solaris-settime, r=gnzlbgbors2019-10-171-0/+1
|\ | | | | | | | | | | Add settimeofday for solaris/illumos Closes #1547
| * Add settimeofday for solaris/illumosGrayJack2019-10-131-0/+1
| |
* | Auto merge of #1556 - senden9:patch-1, r=gnzlbgbors2019-10-171-1/+1
|\ \ | | | | | | | | | | | | | | | Sort targets in documentation. Fixes #1524. Should be a simple but effective fix for #1524. Assume `sort` command is available.
| * | Sort targets in documentation. Fixes #1524.Stefano Probst2019-10-161-1/+1
|/ / | | | | Should be a simple but effective fix for #1524. Assume `sort` command is available.
* | Auto merge of #1554 - nmattia:nm-mcontext, r=gnzlbgbors2019-10-161-1/+34
|\ \ | | | | | | | | | | | | | | | | | | | | | Refine definition of mcontext_t on x86_64-unknown-linux-musl Fixes #1553 I've inlined the links I used for defining constants and fields, although they pretty much map to the changes introduced in ac7f0fac2f34d4eed1f05e9d20f236149711ff87 and ae06c2b2ae6938c9162b9deadae442194a816ad2.
| * | Ensure comments are no longer than 80 charsNicolas Mattia2019-10-161-2/+6
| | |
| * | Refine definition of mcontext_t on x86_64-unknown-linux-muslNicolas Mattia2019-10-161-1/+30
| | |
* | | Auto merge of #1552 - gsquire:add-pthread_attr_get_np, r=gnzlbgbors2019-10-161-0/+4
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | NetBSD pthread_attr_get_np This patch adds a signature for the [`pthread_attr_get_np`](https://netbsd.gw.com/cgi-bin/man-cgi?pthread_attr_get_np+3+NetBSD-current) function for all architectures on NetBSD. Closes #1538
| * | add pthread_attr_get_np for NetBSDGarrett Squire2019-10-151-0/+4
| | |
* | | Auto merge of #1551 - senden9:fixes/uclibc_net_const, r=gnzlbgbors2019-10-162-4/+16
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add networking and futex constants for uclibc I needed this variables to run some rust program that uses `net2` on a embedded Linux platform. This platform has as MIPS 74Kc CPU and uses uclibc. "Proof" that this variables are the same under all uclibc targets: <details> <summary>IP constants</summary> ``` ➜ uClibc git:(master) git remote -v origin git@github.com:kraj/uClibc.git (fetch) origin git@github.com:kraj/uClibc.git (push) ➜ uClibc git:(master) git describe --tags v0.9.33-984-gca1c74d67 ➜ uClibc git:(master) rg -t h -i "define IPV6_MULTICAST_HOPS" libc/sysdeps/linux/common/bits/in.h 142:#define IPV6_MULTICAST_HOPS 18 ➜ uClibc git:(master) rg -t h -i "define IP_MULTICAST_IF" libc/sysdeps/linux/common/bits/in.h 35:#define IP_MULTICAST_IF 32 /* in_addr; set/get IP multicast i/f */ ➜ uClibc git:(master) rg -t h -i "define IPV6_MULTICAST_IF" libc/sysdeps/linux/common/bits/in.h 141:#define IPV6_MULTICAST_IF 17 ➜ uClibc git:(master) rg -t h -i "define IPV6_UNICAST_HOPS" libc/sysdeps/linux/common/bits/in.h 140:#define IPV6_UNICAST_HOPS 16 ``` </details> <details> <summary>FUTEX_WAIT</summary> ``` ➜ uClibc git:(master) rg -t h -i "define FUTEX_WAIT\W" libpthread/nptl/sysdeps/unix/sysv/linux/mips/lowlevellock.h 29:#define FUTEX_WAIT 0 libpthread/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h 31:#define FUTEX_WAIT 0 libpthread/nptl/sysdeps/unix/sysv/linux/metag/lowlevellock.h 29:#define FUTEX_WAIT 0 libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.h 29:#define FUTEX_WAIT 0 libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h 28:#define FUTEX_WAIT 0 libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h 32:#define FUTEX_WAIT 0 libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h 47:#define FUTEX_WAIT 0 libpthread/nptl/sysdeps/unix/sysv/linux/alpha/lowlevellock.h 29:#define FUTEX_WAIT 0 libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h 46:#define FUTEX_WAIT 0 libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h 29:#define FUTEX_WAIT 0 ``` </details> </details> <details> <summary>FUTEX_PRIVATE_FLAG</summary> ``` ➜ uClibc git:(master) rg -t h -i "define FUTEX_PRIVATE_FLAG\W" libpthread/nptl/sysdeps/unix/sysv/linux/mips/lowlevellock.h 40:#define FUTEX_PRIVATE_FLAG 128 libpthread/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h 42:#define FUTEX_PRIVATE_FLAG 128 libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h 43:#define FUTEX_PRIVATE_FLAG 128 libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h 38:#define FUTEX_PRIVATE_FLAG 128 libpthread/nptl/sysdeps/unix/sysv/linux/metag/lowlevellock.h 40:#define FUTEX_PRIVATE_FLAG 128 libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h 39:#define FUTEX_PRIVATE_FLAG 128 libpthread/nptl/sysdeps/unix/sysv/linux/alpha/lowlevellock.h 40:#define FUTEX_PRIVATE_FLAG 128 libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.h 40:#define FUTEX_PRIVATE_FLAG 128 libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h 57:#define FUTEX_PRIVATE_FLAG 128 libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h 58:#define FUTEX_PRIVATE_FLAG 128 ``` </details> <details> <summary>FUTEX_WAKE</summary> ``` ➜ uClibc git:(master) rg -t h -i "define FUTEX_WAKE\W" libpthread/nptl/sysdeps/unix/sysv/linux/mips/lowlevellock.h 30:#define FUTEX_WAKE 1 libpthread/nptl/sysdeps/unix/sysv/linux/metag/lowlevellock.h 30:#define FUTEX_WAKE 1 libpthread/nptl/sysdeps/unix/sysv/linux/arm/lowlevellock.h 29:#define FUTEX_WAKE 1 libpthread/nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h 33:#define FUTEX_WAKE 1 libpthread/nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h 32:#define FUTEX_WAKE 1 libpthread/nptl/sysdeps/unix/sysv/linux/alpha/lowlevellock.h 30:#define FUTEX_WAKE 1 libpthread/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h 30:#define FUTEX_WAKE 1 libpthread/nptl/sysdeps/unix/sysv/linux/arc/lowlevellock.h 30:#define FUTEX_WAKE 1 libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h 47:#define FUTEX_WAKE 1 libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h 48:#define FUTEX_WAKE 1 ``` </details>
| * | | Add networking and futex constants for uclibcStefano Probst2019-10-152-4/+16
| | |/ | |/|
* | | Auto merge of #1548 - GrayJack:openbsd-settime, r=gnzlbgbors2019-10-161-0/+4
|\ \ \ | | | | | | | | | | | | | | | | | | | | Add settimeofday for openbsd Closes #1546
| * | | Format settimeday on openbsdGrayJack2019-10-131-1/+1
| | | |
| * | | Format settimeofday on openbsdGrayJack2019-10-131-1/+4
| | | |
| * | | Add settimeofday for openbsdGrayJack2019-10-131-0/+1
| |/ /
* | | Auto merge of #1541 - Hylian:android-rlim-infinity, r=gnzlbgbors2019-10-161-0/+2
|\ \ \ | | | | | | | | | | | | | | | | | | | | Add `RLIM_INFINITY` definition for Android This adds the definition for `RLIM_INFINITY` to Android, mirroring the Linux definition. Ran into this while trying to build `sccache` natively in Termux on Android, and is the only thing preventing `sccache` from building on libc master.
| * | | Add `RLIM_INFINITY` definition for AndroidEdward Shin2019-10-061-0/+2
| | | |
* | | | Auto merge of #1540 - gluxon:add-IFLA_INFO_, r=gnzlbgbors2019-10-161-0/+7
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | Add IFLA_INFO_ consts See https://github.com/torvalds/linux/blob/54ecb8f7/include/uapi/linux/if_link.h#L354-L362
| * | | | Add IFLA_INFO_ constsBrandon Cheng2019-10-061-0/+7
| |/ / / | | | | | | | | | | | | | | | | See https://github.com/torvalds/linux/blob/54ecb8f7/include/uapi/linux/if_link.h#L354-L362
* | | | Auto merge of #1543 - Wind-River:master_001, r=gnzlbgbors2019-10-152-191/+158
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | Support vxWorks in libc-test r? @gnzlbg
| * | | Support vxWorks in libc-testBaoshanPang2019-10-112-191/+158
| | | |
* | | | Auto merge of #1550 - mati865:rustup, r=gnzlbg0.2.64bors2019-10-152-4/+8
|\ \ \ \ | |_|_|/ |/| | | | | | | | | | | | | | | Use minimal profile for rustup Haven't tested it but should fix issue from https://github.com/rust-lang/libc/pull/1549#issuecomment-542203074
| * | | Use minimal profile for rustupMateusz Mikuła2019-10-152-4/+8
|/ / /
* | | Auto merge of #1537 - nielx:fix/stat-constants, r=gnzlbgbors2019-10-101-2/+2
|\ \ \ | | | | | | | | | | | | Haiku: Fix constants for S_IFIFO and S_IFCHR
| * | | Haiku: Fix constants for S_IFIFO and S_IFCHRNiels Sascha Reedijk2019-10-041-2/+2
| | |/ | |/|
* | | Auto merge of #1542 - Wind-River:master, r=gnzlbgbors2019-10-101-5/+8
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | Some updates for vxWorks adding FIOGETNAME which is used by ioctl() to get file path adding PATH_MAX use type c_int for _PARM_NAME_MAX and _PARM_PATH_MAX
| * | adding FIOGETNAME which is used by ioctl() to get file pathBaoshanPang2019-10-081-5/+8
| | | | | | | | | | | | | | | | | | adding PATH_MAX use type c_int for _PARM_NAME_MAX and _PARM_PATH_MAX
| * | Merge pull request #19 from rust-lang/masterBaoshan2019-09-282-0/+4
| |\ \ | |/ / |/| | sync with rust-lang/libc master
* | | Auto merge of #1533 - murarth:bsd-pthread-main-np, r=asomersbors2019-09-282-0/+4
|\ \ \ | | |/ | |/| | | | Add `pthread_main_np` to FreeBSD-like and `_lwp_self` to NetBSD
| * | Add `pthread_main_np` to FreeBSD-like and `_lwp_self` to NetBSDMurarth2019-09-272-0/+4
|/ /
| * Merge pull request #18 from rust-lang/masterBaoshan2019-09-2623-220/+294
| |\ | |/ |/| Sync to rust-lang/libc master
* | Auto merge of #1532 - Wind-River:master_rebase, r=gnzlbgbors2019-09-261-5/+6
|\ \ | | | | | | | | | update rtpSpawn prototype
| * | Using 'Option' with ::Baoshan Pang2019-09-251-3/+4
| | |
| * | update rtpSpawn prototypeBaoshan Pang2019-09-251-2/+2
| | |
| * | Merge pull request #17 from rust-lang/masterBaoshan2019-09-2457-65/+400
| |\ \ | | | | | | | | Sync to rust-lang/libc branch master
* | \ \ Auto merge of #1531 - gnzlbg:fixs, r=gnzlbgbors2019-09-2521-65/+155
|\ \ \ \ | |_|/ / |/| | | | | | | Fix max_align_t
| * | | Allow missing debug impls in emscriptengnzlbg2019-09-261-0/+1
| | | |
| * | | Fix typognzlbg2019-09-251-1/+1
| | | |
| * | | max_align_t does not need Debuggnzlbg2019-09-2521-0/+22
| | | |
| * | | use no-extra-traitsgnzlbg2019-09-2521-26/+27
| | | |
| * | | Do not use tuple structsgnzlbg2019-09-2521-22/+68
| | | |
| * | | Fix max_align_tgnzlbg2019-09-2521-65/+85
|/ / /
* | | Auto merge of #1526 - Wind-River:master_rebase, r=gnzlbgbors2019-09-241-153/+130
|\ \ \ | |/ / | | | | | | VxWorks libc cleanups and fixes for some libc-test issues
| * | Merge branch 'union' of https://github.com/Wind-River/libc into master_rebaseBaoshan Pang2019-09-230-0/+0
| |\ \