Skip to content

incompatibility with code that stream /proc/self/smaps and doing small allocations per VMA #348

@inthewaves

Description

@inthewaves

See GrapheneOS/platform_frameworks_base#361 for a failing test and sample parser code and GrapheneOS/os-issue-tracker#7916 (comment) for an explanation with an app that actually has code doing this.

Essentially, streaming /proc/self/smaps while doing allocations for each VMA will lead to a loop, as the stream will discover VMAs from hardened_malloc and make allocations for those

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions