Skip to content

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

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions