Skip to content

Use of MA_RESERVED1 breaks on recent Solaris builds #1002

Closed
@dhduvall

Description

This is against internal-to-Oracle Solaris, but recently MA_RESERVED1 was renamed to MA_CORE_NODATA, as that value was given a specific use. Currently, psutil translates that flag to *, but I can't find any documentation on what that's supposed to mean. The documentation for the perms field in /proc/pid/maps in proc(5) only talks about r, w, x, s, and p, and not R and * as are also used in _psutil_sunos.c. Since MA_RESERVED1 was never used for anything (at least, not in recent memory), it's not clear that the * meant anything either, and it probably should just be dropped. I can whip up a pull request for that, if desired.

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions