Skip to content

set_no_new_privs should not take an argument #1450

@rusty-snake

Description

@rusty-snake

NNP can not be unset, hence set_no_new_privs(false) does semantically makes no sense.

Also manpages says:

int prctl(PR_SET_NO_NEW_PRIVS, 1L, 0L, 0L, 0L);

EINVAL The second argument is not equal to 1L.


@sunfishcode can you add semver bump label

Metadata

Metadata

Assignees

No one assigned

    Labels

    semver bumpIssues that will require a semver-incompatible fix

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions