Skip to content

Bad suggested sysctl syntax #305

@j4b6ski

Description

@j4b6ski

sinol-make version: 1.9.9

When running sm verify --no-ingen, on some systems there's an ASAN issue "Shadow memory range interleaves with an existing memory mapping"

sinol-make then suggests:

Warning: if inwer failed due to sanitizer errors, you can either run `sudo sysctl vm.mmap_rnd_bits = 28` to fix this or disable sanitizers with the --no-fsanitize flag.

This works, but the syntax requires no spaces around the = sign.
The cmdline should be:

sudo sysctl vm.mmap_rnd_bits=28

Moreover, the same message already has the correct syntax when running sm verify with an ingen - it seems like they're two slightly different messages. This possibly might might need to be fixed in more than one place.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions