Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't cast thread name to an integer for prctl #95626

Merged
merged 2 commits into from
Apr 7, 2022

Commits on Apr 3, 2022

  1. Don't cast thread name to an integer for prctl

    libc::prctl and the prctl definitions in glibc, musl, and the kernel
    headers are C variadic functions. Therefore, all the arguments (except
    for the first) are untyped. It is only the Linux man page which says
    that prctl takes 4 unsigned long arguments. I have no idea why it says
    this.
    
    In any case, the upshot is that we don't need to cast the pointer to an
    integer and confuse Miri.
    saethlin committed Apr 3, 2022
    Configuration menu
    Copy the full SHA
    34bcc8e View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Configuration menu
    Copy the full SHA
    e8a6f53 View commit details
    Browse the repository at this point in the history