Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rust-lang/libc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.2.131
Choose a base ref
...
head repository: rust-lang/libc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.2.132
Choose a head ref
  • 9 commits
  • 7 files changed
  • 4 contributors

Commits on Aug 13, 2022

  1. Add pthread_sigqueue.

    pthread_sigqueue is a gnu libc extension, however I have a use case for it,
    hence why I'm adding it.
    pirocks committed Aug 13, 2022
    Configuration menu
    Copy the full SHA
    f967994 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2022

  1. Add FUTEX_LOCK_PI2 on Linux

    rtzoeller committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    654cc69 View commit details
    Browse the repository at this point in the history
  2. Ignore FUTEX_LOCK_PI2 in tests

    FUTEX_LOCK_PI2 was added in Linux 5.14, which the automated tests do not yet use.
    rtzoeller committed Aug 14, 2022
    Configuration menu
    Copy the full SHA
    a8f02e9 View commit details
    Browse the repository at this point in the history

Commits on Aug 15, 2022

  1. Auto merge of #2874 - rtzoeller:FUTEX_LOCK_PI2, r=JohnTitor

    Add FUTEX_LOCK_PI2 on Linux
    
    Tested using a modified version of the [linux-futex crate](https://github.com/m-ou-se/linux-futex/).
    bors committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    26b8795 View commit details
    Browse the repository at this point in the history
  2. Auto merge of #2873 - pirocks:master, r=JohnTitor

    Add pthread_sigqueue.
    
    This resurrects #991.
    
    Should be a pretty straightforward addition of pthread_sigqueue.
    bors committed Aug 15, 2022
    Configuration menu
    Copy the full SHA
    08c0f2c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6844aff View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2022

  1. Auto merge of #2875 - jam1garner:fix-mips-o-largefile, r=JohnTitor

    Fix incorrect constant for O_LARGEFILE on mips64-linux-musl
    
    Changes `O_LARGEFILE` from `0` to `0x2000`
    
    Bash script used for ensuring constant is correct:
    
    ```sh
    #!/bin/bash
    echo "
    #include <fcntl.h>
    int largefile() {
        return O_LARGEFILE;
    }
    " | mips64-linux-musl-gcc -c -O2 musl_o_largefile.c -o temp.o
    mips64-linux-musl-objdump -d temp.o | grep -A2 largefile
    ```
    
    Output:
    
    ```asm
    0000000000000000 <largefile>:
       0:	03e00008 	jr	ra
       4:	24022000 	li	v0,8192    ; 0x2000
    ```
    
    Link to relevant portion of kernel source, shows that it should match mips32 musl (which currently has a value of 0x2000 as well).
    
    I believe the reason #2738 had this value incorrect was because it's 0 for glibc on mips64 (to specify it's the default, I believe).
    bors committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    1d38aa2 View commit details
    Browse the repository at this point in the history
  2. Bump version to 0.2.132

    pirocks committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    58f4136 View commit details
    Browse the repository at this point in the history
  3. Auto merge of #2877 - pirocks:master, r=Amanieu

    Bump version to 0.2.132
    
    I want to make changes to nix and other crates, but those changes depend on f967994 being released.
    bors committed Aug 16, 2022
    Configuration menu
    Copy the full SHA
    2a1d103 View commit details
    Browse the repository at this point in the history
Loading